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 |
|---|---|---|---|---|---|---|---|---|
[
97,
9,
75,
99
] | 82
|
[
"97+9=106",
"99-75=24",
"106-24=82"
] |
Current State: 82:[97, 9, 75, 99], Operations: []
Exploring Operation: 97+9=106, Resulting Numbers: [75, 99, 106]
Generated Node #2: [75, 99, 106] from Operation: 97+9=106
Current State: 82:[75, 99, 106], Operations: ['97+9=106']
Exploring Operation: 99-75=24, Resulting Numbers: [106, 24]
Generated Node #3: [106, 24] from Operation: 99-75=24
Current State: 82:[106, 24], Operations: ['97+9=106', '99-75=24']
Exploring Operation: 106-24=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[97, 9, 75, 99], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [9, 75, 2]
Generated Node #0,0: 82:[9, 75, 2] Operation: 99-97=2
Exploring Operation: 97-9=88, Resulting Numbers: [75, 99, 88]
Generated Node #0,1: 82:[75, 99, 88] Operation: 97-9=88
Moving to Node #0,0
Current State: 82:[9, 75, 2], Operations: ['99-97=2']
Exploring Operation: 9-2=7, Resulting Numbers: [75, 7]
Generated Node #0,0,0: 82:[75, 7] Operation: 9-2=7
Exploring Operation: 9+75=84, Resulting Numbers: [2, 84]
Generated Node #0,0,1: 82:[2, 84] Operation: 9+75=84
Moving to Node #0,1
Current State: 82:[75, 99, 88], Operations: ['97-9=88']
Exploring Operation: 99-75=24, Resulting Numbers: [88, 24]
Generated Node #0,1,0: 82:[88, 24] Operation: 99-75=24
Exploring Operation: 99-88=11, Resulting Numbers: [75, 11]
Generated Node #0,1,1: 82:[75, 11] Operation: 99-88=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[75, 11], Operations: ['97-9=88', '99-88=11']
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,82 unequal: No Solution
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,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,1,0
Current State: 82:[88, 24], Operations: ['97-9=88', '99-75=24']
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 88+24=112, Resulting Numbers: [112]
112,82 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: 82:[2, 84], Operations: ['99-97=2', '9+75=84']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[97, 9, 75, 99], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [9, 75, 2]
Generated Node #0,0: 82:[9, 75, 2] Operation: 99-97=2
Moving to Node #0,0
Current State: 82:[9, 75, 2], Operations: ['99-97=2']
Exploring Operation: 9+75=84, Resulting Numbers: [2, 84]
Generated Node #0,0,1: 82:[2, 84] Operation: 9+75=84
Moving to Node #0,0,1
Current State: 82:[2, 84], Operations: ['99-97=2', '9+75=84']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.986979
|
hs_2
|
sum_heuristic
|
[
33,
21,
28,
12
] | 27
|
[
"33-21=12",
"12/12=1",
"28-1=27"
] |
Current State: 27:[33, 21, 28, 12], Operations: []
Exploring Operation: 33-21=12, Resulting Numbers: [28, 12, 12]
Generated Node #2: [28, 12, 12] from Operation: 33-21=12
Current State: 27:[28, 12, 12], Operations: ['33-21=12']
Exploring Operation: 12/12=1, Resulting Numbers: [28, 1]
Generated Node #3: [28, 1] from Operation: 12/12=1
Current State: 27:[28, 1], Operations: ['33-21=12', '12/12=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4
|
Current State: 27:[33, 21, 28, 12], Operations: []
Exploring Operation: 33-21=12, Resulting Numbers: [28, 12, 12]
Generated Node #0,0: 27:[28, 12, 12] Operation: 33-21=12
Moving to Node #0,0
Current State: 27:[28, 12, 12], Operations: ['33-21=12']
Exploring Operation: 12/12=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 27:[28, 1] Operation: 12/12=1
Moving to Node #0,0,0
Current State: 27:[28, 1], Operations: ['33-21=12', '12/12=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[33, 21, 28, 12], Operations: []
Exploring Operation: 33-21=12, Resulting Numbers: [28, 12, 12]
Generated Node #0,0: 27:[28, 12, 12] Operation: 33-21=12
Moving to Node #0,0
Current State: 27:[28, 12, 12], Operations: ['33-21=12']
Exploring Operation: 12/12=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 27:[28, 1] Operation: 12/12=1
Moving to Node #0,0,0
Current State: 27:[28, 1], Operations: ['33-21=12', '12/12=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.993924
|
hs_1
|
sum_heuristic
|
[
93,
10,
52,
85
] | 34
|
[
"93+10=103",
"52+85=137",
"137-103=34"
] |
Current State: 34:[93, 10, 52, 85], Operations: []
Exploring Operation: 93+10=103, Resulting Numbers: [52, 85, 103]
Generated Node #2: [52, 85, 103] from Operation: 93+10=103
Current State: 34:[52, 85, 103], Operations: ['93+10=103']
Exploring Operation: 52+85=137, Resulting Numbers: [103, 137]
Generated Node #3: [103, 137] from Operation: 52+85=137
Current State: 34:[103, 137], Operations: ['93+10=103', '52+85=137']
Exploring Operation: 137-103=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4
|
Current State: 34:[93, 10, 52, 85], Operations: []
Exploring Operation: 52-10=42, Resulting Numbers: [93, 85, 42]
Generated Node #0,0: 34:[93, 85, 42] Operation: 52-10=42
Exploring Operation: 85-52=33, Resulting Numbers: [93, 10, 33]
Generated Node #0,1: 34:[93, 10, 33] Operation: 85-52=33
Exploring Operation: 93-52=41, Resulting Numbers: [10, 85, 41]
Generated Node #0,2: 34:[10, 85, 41] Operation: 93-52=41
Exploring Operation: 93-85=8, Resulting Numbers: [10, 52, 8]
Generated Node #0,3: 34:[10, 52, 8] Operation: 93-85=8
Exploring Operation: 93-10=83, Resulting Numbers: [52, 85, 83]
Generated Node #0,4: 34:[52, 85, 83] Operation: 93-10=83
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[10, 52, 8], Operations: ['93-85=8']
Exploring Operation: 52-8=44, Resulting Numbers: [10, 44]
Generated Node #0,3,0: 34:[10, 44] Operation: 52-8=44
Exploring Operation: 10-8=2, Resulting Numbers: [52, 2]
Generated Node #0,3,1: 34:[52, 2] Operation: 10-8=2
Exploring Operation: 10+8=18, Resulting Numbers: [52, 18]
Generated Node #0,3,2: 34:[52, 18] Operation: 10+8=18
Exploring Operation: 52-10=42, Resulting Numbers: [8, 42]
Generated Node #0,3,3: 34:[8, 42] Operation: 52-10=42
Exploring Operation: 52+8=60, Resulting Numbers: [10, 60]
Generated Node #0,3,4: 34:[10, 60] Operation: 52+8=60
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 34:[8, 42], Operations: ['93-85=8', '52-10=42']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[93, 10, 52, 85], Operations: []
Exploring Operation: 93-85=8, Resulting Numbers: [10, 52, 8]
Generated Node #0,3: 34:[10, 52, 8] Operation: 93-85=8
Moving to Node #0,3
Current State: 34:[10, 52, 8], Operations: ['93-85=8']
Exploring Operation: 52-10=42, Resulting Numbers: [8, 42]
Generated Node #0,3,3: 34:[8, 42] Operation: 52-10=42
Moving to Node #0,3,3
Current State: 34:[8, 42], Operations: ['93-85=8', '52-10=42']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979
|
hs_5
|
sum_heuristic
|
[
35,
12,
99,
24
] | 62
|
[
"99-35=64",
"24/12=2",
"64-2=62"
] |
Current State: 62:[35, 12, 99, 24], Operations: []
Exploring Operation: 99-35=64, Resulting Numbers: [12, 24, 64]
Generated Node #2: [12, 24, 64] from Operation: 99-35=64
Current State: 62:[12, 24, 64], Operations: ['99-35=64']
Exploring Operation: 24/12=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 24/12=2
Current State: 62:[64, 2], Operations: ['99-35=64', '24/12=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4
|
Current State: 62:[35, 12, 99, 24], Operations: []
Exploring Operation: 99-35=64, Resulting Numbers: [12, 24, 64]
Generated Node #0,0: 62:[12, 24, 64] Operation: 99-35=64
Exploring Operation: 99-24=75, Resulting Numbers: [35, 12, 75]
Generated Node #0,1: 62:[35, 12, 75] Operation: 99-24=75
Moving to Node #0,0
Current State: 62:[12, 24, 64], Operations: ['99-35=64']
Exploring Operation: 24/12=2, Resulting Numbers: [64, 2]
Generated Node #0,0,0: 62:[64, 2] Operation: 24/12=2
Exploring Operation: 12+24=36, Resulting Numbers: [64, 36]
Generated Node #0,0,1: 62:[64, 36] Operation: 12+24=36
Moving to Node #0,1
Current State: 62:[35, 12, 75], Operations: ['99-24=75']
Exploring Operation: 75-12=63, Resulting Numbers: [35, 63]
Generated Node #0,1,0: 62:[35, 63] Operation: 75-12=63
Exploring Operation: 75-35=40, Resulting Numbers: [12, 40]
Generated Node #0,1,1: 62:[12, 40] Operation: 75-35=40
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[35, 63], Operations: ['99-24=75', '75-12=63']
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 35+63=98, Resulting Numbers: [98]
98,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[12, 40], Operations: ['99-24=75', '75-35=40']
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,62 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: 62:[64, 2], Operations: ['99-35=64', '24/12=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[35, 12, 99, 24], Operations: []
Exploring Operation: 99-35=64, Resulting Numbers: [12, 24, 64]
Generated Node #0,0: 62:[12, 24, 64] Operation: 99-35=64
Moving to Node #0,0
Current State: 62:[12, 24, 64], Operations: ['99-35=64']
Exploring Operation: 24/12=2, Resulting Numbers: [64, 2]
Generated Node #0,0,0: 62:[64, 2] Operation: 24/12=2
Moving to Node #0,0,0
Current State: 62:[64, 2], Operations: ['99-35=64', '24/12=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.986979
|
hs_2
|
mult_heuristic
|
[
13,
86,
99,
32
] | 32
|
[
"13+86=99",
"99+32=131",
"131-99=32"
] |
Current State: 32:[13, 86, 99, 32], Operations: []
Exploring Operation: 13+86=99, Resulting Numbers: [99, 32, 99]
Generated Node #2: [99, 32, 99] from Operation: 13+86=99
Current State: 32:[99, 32, 99], Operations: ['13+86=99']
Exploring Operation: 99+32=131, Resulting Numbers: [131]
131,32 equal: Goal Reached
Exploring Operation: 131-99=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4
|
Current State: 32:[13, 86, 99, 32], Operations: []
Exploring Operation: 99-32=67, Resulting Numbers: [13, 86, 67]
Generated Node #0,0: 32:[13, 86, 67] Operation: 99-32=67
Exploring Operation: 99-86=13, Resulting Numbers: [13, 32, 13]
Generated Node #0,1: 32:[13, 32, 13] Operation: 99-86=13
Exploring Operation: 86-32=54, Resulting Numbers: [13, 99, 54]
Generated Node #0,2: 32:[13, 99, 54] Operation: 86-32=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[13, 32, 13], Operations: ['99-86=13']
Exploring Operation: 13-13=0, Resulting Numbers: [32, 0]
Generated Node #0,1,0: 32:[32, 0] Operation: 13-13=0
Exploring Operation: 13/13=1, Resulting Numbers: [32, 1]
Generated Node #0,1,1: 32:[32, 1] Operation: 13/13=1
Exploring Operation: 32-13=19, Resulting Numbers: [13, 19]
Generated Node #0,1,2: 32:[13, 19] Operation: 32-13=19
Moving to Node #0,1,1
Current State: 32:[32, 1], Operations: ['99-86=13', '13/13=1']
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[13, 86, 99, 32], Operations: []
Exploring Operation: 99-86=13, Resulting Numbers: [13, 32, 13]
Generated Node #0,1: 32:[13, 32, 13] Operation: 99-86=13
Moving to Node #0,1
Current State: 32:[13, 32, 13], Operations: ['99-86=13']
Exploring Operation: 13/13=1, Resulting Numbers: [32, 1]
Generated Node #0,1,1: 32:[32, 1] Operation: 13/13=1
Moving to Node #0,1,1
Current State: 32:[32, 1], Operations: ['99-86=13', '13/13=1']
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_3
|
sum_heuristic
|
[
60,
13,
56,
7
] | 65
|
[
"60+13=73",
"56/7=8",
"73-8=65"
] |
Current State: 65:[60, 13, 56, 7], Operations: []
Exploring Operation: 60+13=73, Resulting Numbers: [56, 7, 73]
Generated Node #2: [56, 7, 73] from Operation: 60+13=73
Current State: 65:[56, 7, 73], Operations: ['60+13=73']
Exploring Operation: 56/7=8, Resulting Numbers: [73, 8]
Generated Node #3: [73, 8] from Operation: 56/7=8
Current State: 65:[73, 8], Operations: ['60+13=73', '56/7=8']
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4
|
Current State: 65:[60, 13, 56, 7], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [13, 7, 4]
Generated Node #0,0: 65:[13, 7, 4] Operation: 60-56=4
Exploring Operation: 56+7=63, Resulting Numbers: [60, 13, 63]
Generated Node #0,1: 65:[60, 13, 63] Operation: 56+7=63
Moving to Node #0,0
Current State: 65:[13, 7, 4], Operations: ['60-56=4']
Exploring Operation: 7+4=11, Resulting Numbers: [13, 11]
Generated Node #0,0,0: 65:[13, 11] Operation: 7+4=11
Exploring Operation: 13-7=6, Resulting Numbers: [4, 6]
Generated Node #0,0,1: 65:[4, 6] Operation: 13-7=6
Moving to Node #0,1
Current State: 65:[60, 13, 63], Operations: ['56+7=63']
Exploring Operation: 63-60=3, Resulting Numbers: [13, 3]
Generated Node #0,1,0: 65:[13, 3] Operation: 63-60=3
Exploring Operation: 60+13=73, Resulting Numbers: [63, 73]
Generated Node #0,1,1: 65:[63, 73] Operation: 60+13=73
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[13, 3], Operations: ['56+7=63', '63-60=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[63, 73], Operations: ['56+7=63', '60+13=73']
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 63+73=136, Resulting Numbers: [136]
136,65 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: 65:[13, 11], Operations: ['60-56=4', '7+4=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[4, 6], Operations: ['60-56=4', '13-7=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,65 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
71,
17,
67,
75
] | 34
|
[
"67+75=142",
"142/71=2",
"17*2=34"
] |
Current State: 34:[71, 17, 67, 75], Operations: []
Exploring Operation: 67+75=142, Resulting Numbers: [71, 17, 142]
Generated Node #2: [71, 17, 142] from Operation: 67+75=142
Current State: 34:[71, 17, 142], Operations: ['67+75=142']
Exploring Operation: 142/71=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 142/71=2
Current State: 34:[17, 2], Operations: ['67+75=142', '142/71=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4
|
Current State: 34:[71, 17, 67, 75], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [17, 67, 4]
Generated Node #0,0: 34:[17, 67, 4] Operation: 75-71=4
Exploring Operation: 75-67=8, Resulting Numbers: [71, 17, 8]
Generated Node #0,1: 34:[71, 17, 8] Operation: 75-67=8
Exploring Operation: 71-17=54, Resulting Numbers: [67, 75, 54]
Generated Node #0,2: 34:[67, 75, 54] Operation: 71-17=54
Exploring Operation: 71-67=4, Resulting Numbers: [17, 75, 4]
Generated Node #0,3: 34:[17, 75, 4] Operation: 71-67=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[17, 67, 4], Operations: ['75-71=4']
Exploring Operation: 67-4=63, Resulting Numbers: [17, 63]
Generated Node #0,0,0: 34:[17, 63] Operation: 67-4=63
Exploring Operation: 17-4=13, Resulting Numbers: [67, 13]
Generated Node #0,0,1: 34:[67, 13] Operation: 17-4=13
Exploring Operation: 17+4=21, Resulting Numbers: [67, 21]
Generated Node #0,0,2: 34:[67, 21] Operation: 17+4=21
Exploring Operation: 67-17=50, Resulting Numbers: [4, 50]
Generated Node #0,0,3: 34:[4, 50] Operation: 67-17=50
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 34:[4, 50], Operations: ['75-71=4', '67-17=50']
Exploring Operation: 4*50=200, Resulting Numbers: [200]
200,34 unequal: No Solution
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,34 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[17, 63], Operations: ['75-71=4', '67-4=63']
Exploring Operation: 17+63=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 17*63=1071, Resulting Numbers: [1071]
1071,34 unequal: No Solution
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[67, 13], Operations: ['75-71=4', '17-4=13']
Exploring Operation: 67*13=871, Resulting Numbers: [871]
871,34 unequal: No Solution
Exploring Operation: 67+13=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[67, 21], Operations: ['75-71=4', '17+4=21']
Exploring Operation: 67-21=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 67+21=88, Resulting Numbers: [88]
88,34 unequal: No Solution
Exploring Operation: 67*21=1407, Resulting Numbers: [1407]
1407,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[71, 17, 8], Operations: ['75-67=8']
Exploring Operation: 71-17=54, Resulting Numbers: [8, 54]
Generated Node #0,1,0: 34:[8, 54] Operation: 71-17=54
Exploring Operation: 71+8=79, Resulting Numbers: [17, 79]
Generated Node #0,1,1: 34:[17, 79] Operation: 71+8=79
Exploring Operation: 71-8=63, Resulting Numbers: [17, 63]
Generated Node #0,1,2: 34:[17, 63] Operation: 71-8=63
Exploring Operation: 17-8=9, Resulting Numbers: [71, 9]
Generated Node #0,1,3: 34:[71, 9] Operation: 17-8=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[8, 54], Operations: ['75-67=8', '71-17=54']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,34 unequal: No Solution
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[17, 63], Operations: ['75-67=8', '71-8=63']
Exploring Operation: 17*63=1071, Resulting Numbers: [1071]
1071,34 unequal: No Solution
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 17+63=80, Resulting Numbers: [80]
80,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 34:[71, 9], Operations: ['75-67=8', '17-8=9']
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,34 unequal: No Solution
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[17, 79], Operations: ['75-67=8', '71+8=79']
Exploring Operation: 17*79=1343, Resulting Numbers: [1343]
1343,34 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 17+79=96, Resulting Numbers: [96]
96,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[17, 75, 4], Operations: ['71-67=4']
Exploring Operation: 17+4=21, Resulting Numbers: [75, 21]
Generated Node #0,3,0: 34:[75, 21] Operation: 17+4=21
Exploring Operation: 17-4=13, Resulting Numbers: [75, 13]
Generated Node #0,3,1: 34:[75, 13] Operation: 17-4=13
Exploring Operation: 75-4=71, Resulting Numbers: [17, 71]
Generated Node #0,3,2: 34:[17, 71] Operation: 75-4=71
Exploring Operation: 75-17=58, Resulting Numbers: [4, 58]
Generated Node #0,3,3: 34:[4, 58] Operation: 75-17=58
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 34:[4, 58], Operations: ['71-67=4', '75-17=58']
Exploring Operation: 4*58=232, Resulting Numbers: [232]
232,34 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,34 unequal: No Solution
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 34:[17, 71], Operations: ['71-67=4', '75-4=71']
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,34 unequal: No Solution
Exploring Operation: 17*71=1207, Resulting Numbers: [1207]
1207,34 unequal: No Solution
Exploring Operation: 17+71=88, Resulting Numbers: [88]
88,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 34:[75, 21], Operations: ['71-67=4', '17+4=21']
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,34 unequal: No Solution
Exploring Operation: 75+21=96, Resulting Numbers: [96]
96,34 unequal: No Solution
Exploring Operation: 75*21=1575, Resulting Numbers: [1575]
1575,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 34:[75, 13], Operations: ['71-67=4', '17-4=13']
Exploring Operation: 75+13=88, Resulting Numbers: [88]
88,34 unequal: No Solution
Exploring Operation: 75-13=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 75*13=975, Resulting Numbers: [975]
975,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[67, 75, 54], Operations: ['71-17=54']
Exploring Operation: 75-54=21, Resulting Numbers: [67, 21]
Generated Node #0,2,0: 34:[67, 21] Operation: 75-54=21
Exploring Operation: 67-54=13, Resulting Numbers: [75, 13]
Generated Node #0,2,1: 34:[75, 13] Operation: 67-54=13
Exploring Operation: 75-67=8, Resulting Numbers: [54, 8]
Generated Node #0,2,2: 34:[54, 8] Operation: 75-67=8
Exploring Operation: 67+75=142, Resulting Numbers: [54, 142]
Generated Node #0,2,3: 34:[54, 142] Operation: 67+75=142
Moving to Node #0,2,2
Current State: 34:[54, 8], Operations: ['71-17=54', '75-67=8']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,34 unequal: No Solution
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[67, 21], Operations: ['71-17=54', '75-54=21']
Exploring Operation: 67-21=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 67+21=88, Resulting Numbers: [88]
88,34 unequal: No Solution
Exploring Operation: 67*21=1407, Resulting Numbers: [1407]
1407,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[75, 13], Operations: ['71-17=54', '67-54=13']
Exploring Operation: 75+13=88, Resulting Numbers: [88]
88,34 unequal: No Solution
Exploring Operation: 75*13=975, Resulting Numbers: [975]
975,34 unequal: No Solution
Exploring Operation: 75-13=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[54, 142], Operations: ['71-17=54', '67+75=142']
Exploring Operation: 54*142=7668, Resulting Numbers: [7668]
7668,34 unequal: No Solution
Exploring Operation: 54+142=196, Resulting Numbers: [196]
196,34 unequal: No Solution
Exploring Operation: 142-54=88, Resulting Numbers: [88]
88,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
57,
68,
50,
2
] | 48
|
[
"68-50=18",
"18/2=9",
"57-9=48"
] |
Current State: 48:[57, 68, 50, 2], Operations: []
Exploring Operation: 68-50=18, Resulting Numbers: [57, 2, 18]
Generated Node #2: [57, 2, 18] from Operation: 68-50=18
Current State: 48:[57, 2, 18], Operations: ['68-50=18']
Exploring Operation: 18/2=9, Resulting Numbers: [57, 9]
Generated Node #3: [57, 9] from Operation: 18/2=9
Current State: 48:[57, 9], Operations: ['68-50=18', '18/2=9']
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4
|
Current State: 48:[57, 68, 50, 2], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [68, 2, 7]
Generated Node #0,0: 48:[68, 2, 7] Operation: 57-50=7
Exploring Operation: 68-57=11, Resulting Numbers: [50, 2, 11]
Generated Node #0,1: 48:[50, 2, 11] Operation: 68-57=11
Exploring Operation: 68-50=18, Resulting Numbers: [57, 2, 18]
Generated Node #0,2: 48:[57, 2, 18] Operation: 68-50=18
Moving to Node #0,1
Current State: 48:[50, 2, 11], Operations: ['68-57=11']
Exploring Operation: 2+11=13, Resulting Numbers: [50, 13]
Generated Node #0,1,0: 48:[50, 13] Operation: 2+11=13
Exploring Operation: 50-2=48, Resulting Numbers: [11, 48]
Generated Node #0,1,1: 48:[11, 48] Operation: 50-2=48
Exploring Operation: 50/2=25, Resulting Numbers: [11, 25]
Generated Node #0,1,2: 48:[11, 25] Operation: 50/2=25
Moving to Node #0,2
Current State: 48:[57, 2, 18], Operations: ['68-50=18']
Exploring Operation: 57-2=55, Resulting Numbers: [18, 55]
Generated Node #0,2,0: 48:[18, 55] Operation: 57-2=55
Exploring Operation: 57-18=39, Resulting Numbers: [2, 39]
Generated Node #0,2,1: 48:[2, 39] Operation: 57-18=39
Exploring Operation: 18-2=16, Resulting Numbers: [57, 16]
Generated Node #0,2,2: 48:[57, 16] Operation: 18-2=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[18, 55], Operations: ['68-50=18', '57-2=55']
Exploring Operation: 18*55=990, Resulting Numbers: [990]
990,48 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 18+55=73, Resulting Numbers: [73]
73,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 48:[2, 39], Operations: ['68-50=18', '57-18=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,48 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[57, 16], Operations: ['68-50=18', '18-2=16']
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 57+16=73, Resulting Numbers: [73]
73,48 unequal: No Solution
Exploring Operation: 57*16=912, Resulting Numbers: [912]
912,48 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: 48:[68, 2, 7], Operations: ['57-50=7']
Exploring Operation: 68-7=61, Resulting Numbers: [2, 61]
Generated Node #0,0,0: 48:[2, 61] Operation: 68-7=61
Exploring Operation: 68-2=66, Resulting Numbers: [7, 66]
Generated Node #0,0,1: 48:[7, 66] Operation: 68-2=66
Exploring Operation: 68/2=34, Resulting Numbers: [7, 34]
Generated Node #0,0,2: 48:[7, 34] Operation: 68/2=34
Moving to Node #0,1,1
Current State: 48:[11, 48], Operations: ['68-57=11', '50-2=48']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 11*48=528, Resulting Numbers: [528]
528,48 unequal: No Solution
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[11, 25], Operations: ['68-57=11', '50/2=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,48 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[50, 13], Operations: ['68-57=11', '2+11=13']
Exploring Operation: 50*13=650, Resulting Numbers: [650]
650,48 unequal: No Solution
Exploring Operation: 50+13=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[7, 34], Operations: ['57-50=7', '68/2=34']
Exploring Operation: 7*34=238, Resulting Numbers: [238]
238,48 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[2, 61], Operations: ['57-50=7', '68-7=61']
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,48 unequal: No Solution
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[7, 66], Operations: ['57-50=7', '68-2=66']
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,48 unequal: No Solution
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,48 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,48 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
8,
91,
56,
62
] | 77
|
[
"91-8=83",
"62-56=6",
"83-6=77"
] |
Current State: 77:[8, 91, 56, 62], Operations: []
Exploring Operation: 91-8=83, Resulting Numbers: [56, 62, 83]
Generated Node #2: [56, 62, 83] from Operation: 91-8=83
Current State: 77:[56, 62, 83], Operations: ['91-8=83']
Exploring Operation: 62-56=6, Resulting Numbers: [83, 6]
Generated Node #3: [83, 6] from Operation: 62-56=6
Current State: 77:[83, 6], Operations: ['91-8=83', '62-56=6']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4
|
Current State: 77:[8, 91, 56, 62], Operations: []
Exploring Operation: 91-62=29, Resulting Numbers: [8, 56, 29]
Generated Node #0,0: 77:[8, 56, 29] Operation: 91-62=29
Exploring Operation: 62-56=6, Resulting Numbers: [8, 91, 6]
Generated Node #0,1: 77:[8, 91, 6] Operation: 62-56=6
Exploring Operation: 56/8=7, Resulting Numbers: [91, 62, 7]
Generated Node #0,2: 77:[91, 62, 7] Operation: 56/8=7
Exploring Operation: 91-8=83, Resulting Numbers: [56, 62, 83]
Generated Node #0,3: 77:[56, 62, 83] Operation: 91-8=83
Exploring Operation: 91-56=35, Resulting Numbers: [8, 62, 35]
Generated Node #0,4: 77:[8, 62, 35] Operation: 91-56=35
Moving to Node #0,1
Current State: 77:[8, 91, 6], Operations: ['62-56=6']
Exploring Operation: 91+6=97, Resulting Numbers: [8, 97]
Generated Node #0,1,0: 77:[8, 97] Operation: 91+6=97
Exploring Operation: 8+6=14, Resulting Numbers: [91, 14]
Generated Node #0,1,1: 77:[91, 14] Operation: 8+6=14
Exploring Operation: 91-8=83, Resulting Numbers: [6, 83]
Generated Node #0,1,2: 77:[6, 83] Operation: 91-8=83
Exploring Operation: 91-6=85, Resulting Numbers: [8, 85]
Generated Node #0,1,3: 77:[8, 85] Operation: 91-6=85
Exploring Operation: 8-6=2, Resulting Numbers: [91, 2]
Generated Node #0,1,4: 77:[91, 2] Operation: 8-6=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 77:[6, 83], Operations: ['62-56=6', '91-8=83']
Exploring Operation: 6*83=498, Resulting Numbers: [498]
498,77 unequal: No Solution
Exploring Operation: 6+83=89, Resulting Numbers: [89]
89,77 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[8, 91, 56, 62], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [8, 91, 6]
Generated Node #0,1: 77:[8, 91, 6] Operation: 62-56=6
Moving to Node #0,1
Current State: 77:[8, 91, 6], Operations: ['62-56=6']
Exploring Operation: 91-8=83, Resulting Numbers: [6, 83]
Generated Node #0,1,2: 77:[6, 83] Operation: 91-8=83
Moving to Node #0,1,2
Current State: 77:[6, 83], Operations: ['62-56=6', '91-8=83']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243
|
hs_5
|
sum_heuristic
|
[
71,
47,
49,
1
] | 74
|
[
"71-47=24",
"49+1=50",
"24+50=74"
] |
Current State: 74:[71, 47, 49, 1], Operations: []
Exploring Operation: 71-47=24, Resulting Numbers: [49, 1, 24]
Generated Node #2: [49, 1, 24] from Operation: 71-47=24
Current State: 74:[49, 1, 24], Operations: ['71-47=24']
Exploring Operation: 49+1=50, Resulting Numbers: [24, 50]
Generated Node #3: [24, 50] from Operation: 49+1=50
Current State: 74:[24, 50], Operations: ['71-47=24', '49+1=50']
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4
|
Current State: 74:[71, 47, 49, 1], Operations: []
Exploring Operation: 49-1=48, Resulting Numbers: [71, 47, 48]
Generated Node #0,0: 74:[71, 47, 48] Operation: 49-1=48
Exploring Operation: 47-1=46, Resulting Numbers: [71, 49, 46]
Generated Node #0,1: 74:[71, 49, 46] Operation: 47-1=46
Exploring Operation: 71+1=72, Resulting Numbers: [47, 49, 72]
Generated Node #0,2: 74:[47, 49, 72] Operation: 71+1=72
Exploring Operation: 49-47=2, Resulting Numbers: [71, 1, 2]
Generated Node #0,3: 74:[71, 1, 2] Operation: 49-47=2
Moving to Node #0,3
Current State: 74:[71, 1, 2], Operations: ['49-47=2']
Exploring Operation: 71+2=73, Resulting Numbers: [1, 73]
Generated Node #0,3,0: 74:[1, 73] Operation: 71+2=73
Exploring Operation: 71/1=71, Resulting Numbers: [2, 71]
Generated Node #0,3,1: 74:[2, 71] Operation: 71/1=71
Exploring Operation: 71+1=72, Resulting Numbers: [2, 72]
Generated Node #0,3,2: 74:[2, 72] Operation: 71+1=72
Exploring Operation: 71*1=71, Resulting Numbers: [2, 71]
Generated Node #0,3,3: 74:[2, 71] Operation: 71*1=71
Moving to Node #0,1
Current State: 74:[71, 49, 46], Operations: ['47-1=46']
Exploring Operation: 49-46=3, Resulting Numbers: [71, 3]
Generated Node #0,1,0: 74:[71, 3] Operation: 49-46=3
Exploring Operation: 49+46=95, Resulting Numbers: [71, 95]
Generated Node #0,1,1: 74:[71, 95] Operation: 49+46=95
Exploring Operation: 71-46=25, Resulting Numbers: [49, 25]
Generated Node #0,1,2: 74:[49, 25] Operation: 71-46=25
Exploring Operation: 71-49=22, Resulting Numbers: [46, 22]
Generated Node #0,1,3: 74:[46, 22] Operation: 71-49=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[71, 3], Operations: ['47-1=46', '49-46=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[71, 47, 49, 1], Operations: []
Exploring Operation: 47-1=46, Resulting Numbers: [71, 49, 46]
Generated Node #0,1: 74:[71, 49, 46] Operation: 47-1=46
Moving to Node #0,1
Current State: 74:[71, 49, 46], Operations: ['47-1=46']
Exploring Operation: 49-46=3, Resulting Numbers: [71, 3]
Generated Node #0,1,0: 74:[71, 3] Operation: 49-46=3
Moving to Node #0,1,0
Current State: 74:[71, 3], Operations: ['47-1=46', '49-46=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243
|
hs_4
|
mult_heuristic
|
[
46,
90,
11,
18
] | 51
|
[
"90-46=44",
"18-11=7",
"44+7=51"
] |
Current State: 51:[46, 90, 11, 18], Operations: []
Exploring Operation: 90-46=44, Resulting Numbers: [11, 18, 44]
Generated Node #2: [11, 18, 44] from Operation: 90-46=44
Current State: 51:[11, 18, 44], Operations: ['90-46=44']
Exploring Operation: 18-11=7, Resulting Numbers: [44, 7]
Generated Node #3: [44, 7] from Operation: 18-11=7
Current State: 51:[44, 7], Operations: ['90-46=44', '18-11=7']
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4
|
Current State: 51:[46, 90, 11, 18], Operations: []
Exploring Operation: 90-18=72, Resulting Numbers: [46, 11, 72]
Generated Node #0,0: 51:[46, 11, 72] Operation: 90-18=72
Exploring Operation: 90/18=5, Resulting Numbers: [46, 11, 5]
Generated Node #0,1: 51:[46, 11, 5] Operation: 90/18=5
Exploring Operation: 90-46=44, Resulting Numbers: [11, 18, 44]
Generated Node #0,2: 51:[11, 18, 44] Operation: 90-46=44
Moving to Node #0,1
Current State: 51:[46, 11, 5], Operations: ['90/18=5']
Exploring Operation: 46+11=57, Resulting Numbers: [5, 57]
Generated Node #0,1,0: 51:[5, 57] Operation: 46+11=57
Exploring Operation: 11+5=16, Resulting Numbers: [46, 16]
Generated Node #0,1,1: 51:[46, 16] Operation: 11+5=16
Exploring Operation: 46+5=51, Resulting Numbers: [11, 51]
Generated Node #0,1,2: 51:[11, 51] Operation: 46+5=51
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[46, 16], Operations: ['90/18=5', '11+5=16']
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,51 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 46*16=736, Resulting Numbers: [736]
736,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[11, 51], Operations: ['90/18=5', '46+5=51']
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 11*51=561, Resulting Numbers: [561]
561,51 unequal: No Solution
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[5, 57], Operations: ['90/18=5', '46+11=57']
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,51 unequal: No Solution
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
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 51:[11, 18, 44], Operations: ['90-46=44']
Exploring Operation: 44/11=4, Resulting Numbers: [18, 4]
Generated Node #0,2,0: 51:[18, 4] Operation: 44/11=4
Exploring Operation: 18-11=7, Resulting Numbers: [44, 7]
Generated Node #0,2,1: 51:[44, 7] Operation: 18-11=7
Exploring Operation: 11+44=55, Resulting Numbers: [18, 55]
Generated Node #0,2,2: 51:[18, 55] Operation: 11+44=55
Moving to Node #0,0
Current State: 51:[46, 11, 72], Operations: ['90-18=72']
Exploring Operation: 46+11=57, Resulting Numbers: [72, 57]
Generated Node #0,0,0: 51:[72, 57] Operation: 46+11=57
Exploring Operation: 72-11=61, Resulting Numbers: [46, 61]
Generated Node #0,0,1: 51:[46, 61] Operation: 72-11=61
Exploring Operation: 72-46=26, Resulting Numbers: [11, 26]
Generated Node #0,0,2: 51:[11, 26] Operation: 72-46=26
Moving to Node #0,2,0
Current State: 51:[18, 4], Operations: ['90-46=44', '44/11=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,51 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[18, 55], Operations: ['90-46=44', '11+44=55']
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 18*55=990, Resulting Numbers: [990]
990,51 unequal: No Solution
Exploring Operation: 18+55=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[44, 7], Operations: ['90-46=44', '18-11=7']
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,51 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[46, 90, 11, 18], Operations: []
Exploring Operation: 90-46=44, Resulting Numbers: [11, 18, 44]
Generated Node #0,2: 51:[11, 18, 44] Operation: 90-46=44
Moving to Node #0,2
Current State: 51:[11, 18, 44], Operations: ['90-46=44']
Exploring Operation: 18-11=7, Resulting Numbers: [44, 7]
Generated Node #0,2,1: 51:[44, 7] Operation: 18-11=7
Moving to Node #0,2,1
Current State: 51:[44, 7], Operations: ['90-46=44', '18-11=7']
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.970486
|
hs_3
|
sum_heuristic
|
[
3,
94,
34,
68
] | 88
|
[
"3*68=204",
"204/34=6",
"94-6=88"
] |
Current State: 88:[3, 94, 34, 68], Operations: []
Exploring Operation: 3*68=204, Resulting Numbers: [94, 34, 204]
Generated Node #2: [94, 34, 204] from Operation: 3*68=204
Current State: 88:[94, 34, 204], Operations: ['3*68=204']
Exploring Operation: 204/34=6, Resulting Numbers: [94, 6]
Generated Node #3: [94, 6] from Operation: 204/34=6
Current State: 88:[94, 6], Operations: ['3*68=204', '204/34=6']
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4
|
Current State: 88:[3, 94, 34, 68], Operations: []
Exploring Operation: 94-3=91, Resulting Numbers: [34, 68, 91]
Generated Node #0,0: 88:[34, 68, 91] Operation: 94-3=91
Exploring Operation: 68/34=2, Resulting Numbers: [3, 94, 2]
Generated Node #0,1: 88:[3, 94, 2] Operation: 68/34=2
Exploring Operation: 34+68=102, Resulting Numbers: [3, 94, 102]
Generated Node #0,2: 88:[3, 94, 102] Operation: 34+68=102
Exploring Operation: 94-68=26, Resulting Numbers: [3, 34, 26]
Generated Node #0,3: 88:[3, 34, 26] Operation: 94-68=26
Exploring Operation: 68-34=34, Resulting Numbers: [3, 94, 34]
Generated Node #0,4: 88:[3, 94, 34] Operation: 68-34=34
Moving to Node #0,1
Current State: 88:[3, 94, 2], Operations: ['68/34=2']
Exploring Operation: 94-2=92, Resulting Numbers: [3, 92]
Generated Node #0,1,0: 88:[3, 92] Operation: 94-2=92
Exploring Operation: 3-2=1, Resulting Numbers: [94, 1]
Generated Node #0,1,1: 88:[94, 1] Operation: 3-2=1
Exploring Operation: 94/2=47, Resulting Numbers: [3, 47]
Generated Node #0,1,2: 88:[3, 47] Operation: 94/2=47
Exploring Operation: 94-3=91, Resulting Numbers: [2, 91]
Generated Node #0,1,3: 88:[2, 91] Operation: 94-3=91
Exploring Operation: 3+2=5, Resulting Numbers: [94, 5]
Generated Node #0,1,4: 88:[94, 5] Operation: 3+2=5
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 88:[2, 91], Operations: ['68/34=2', '94-3=91']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Exploring Operation: 2*91=182, Resulting Numbers: [182]
182,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:[3, 47], Operations: ['68/34=2', '94/2=47']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,88 unequal: No Solution
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,88 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,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:[3, 92], Operations: ['68/34=2', '94-2=92']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 3+92=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 3*92=276, Resulting Numbers: [276]
276,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:[94, 1], Operations: ['68/34=2', '3-2=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,88 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,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:[94, 5], Operations: ['68/34=2', '3+2=5']
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 94*5=470, Resulting Numbers: [470]
470,88 unequal: No Solution
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,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:[3, 34, 26], Operations: ['94-68=26']
Exploring Operation: 3+26=29, Resulting Numbers: [34, 29]
Generated Node #0,3,0: 88:[34, 29] Operation: 3+26=29
Exploring Operation: 3+34=37, Resulting Numbers: [26, 37]
Generated Node #0,3,1: 88:[26, 37] Operation: 3+34=37
Exploring Operation: 26-3=23, Resulting Numbers: [34, 23]
Generated Node #0,3,2: 88:[34, 23] Operation: 26-3=23
Exploring Operation: 34-26=8, Resulting Numbers: [3, 8]
Generated Node #0,3,3: 88:[3, 8] Operation: 34-26=8
Exploring Operation: 34-3=31, Resulting Numbers: [26, 31]
Generated Node #0,3,4: 88:[26, 31] Operation: 34-3=31
Moving to Node #0,4
Current State: 88:[3, 94, 34], Operations: ['68-34=34']
Exploring Operation: 34-3=31, Resulting Numbers: [94, 31]
Generated Node #0,4,0: 88:[94, 31] Operation: 34-3=31
Exploring Operation: 3+94=97, Resulting Numbers: [34, 97]
Generated Node #0,4,1: 88:[34, 97] Operation: 3+94=97
Exploring Operation: 94-3=91, Resulting Numbers: [34, 91]
Generated Node #0,4,2: 88:[34, 91] Operation: 94-3=91
Exploring Operation: 94-34=60, Resulting Numbers: [3, 60]
Generated Node #0,4,3: 88:[3, 60] Operation: 94-34=60
Exploring Operation: 3+34=37, Resulting Numbers: [94, 37]
Generated Node #0,4,4: 88:[94, 37] Operation: 3+34=37
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 88:[34, 91], Operations: ['68-34=34', '94-3=91']
Exploring Operation: 34+91=125, Resulting Numbers: [125]
125,88 unequal: No Solution
Exploring Operation: 91-34=57, Resulting Numbers: [57]
57,88 unequal: No Solution
Exploring Operation: 34*91=3094, Resulting Numbers: [3094]
3094,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,4
Current State: 88:[94, 37], Operations: ['68-34=34', '3+34=37']
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,88 unequal: No Solution
Exploring Operation: 94+37=131, Resulting Numbers: [131]
131,88 unequal: No Solution
Exploring Operation: 94*37=3478, Resulting Numbers: [3478]
3478,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:[94, 31], Operations: ['68-34=34', '34-3=31']
Exploring Operation: 94+31=125, Resulting Numbers: [125]
125,88 unequal: No Solution
Exploring Operation: 94*31=2914, Resulting Numbers: [2914]
2914,88 unequal: No Solution
Exploring Operation: 94-31=63, Resulting Numbers: [63]
63,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:[3, 60], Operations: ['68-34=34', '94-34=60']
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,88 unequal: No Solution
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,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:[34, 97], Operations: ['68-34=34', '3+94=97']
Exploring Operation: 34*97=3298, Resulting Numbers: [3298]
3298,88 unequal: No Solution
Exploring Operation: 34+97=131, Resulting Numbers: [131]
131,88 unequal: No Solution
Exploring Operation: 97-34=63, Resulting Numbers: [63]
63,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:[3, 94, 102], Operations: ['34+68=102']
Exploring Operation: 3+94=97, Resulting Numbers: [102, 97]
Generated Node #0,2,0: 88:[102, 97] Operation: 3+94=97
Exploring Operation: 102-3=99, Resulting Numbers: [94, 99]
Generated Node #0,2,1: 88:[94, 99] Operation: 102-3=99
Exploring Operation: 102-94=8, Resulting Numbers: [3, 8]
Generated Node #0,2,2: 88:[3, 8] Operation: 102-94=8
Exploring Operation: 94-3=91, Resulting Numbers: [102, 91]
Generated Node #0,2,3: 88:[102, 91] Operation: 94-3=91
Exploring Operation: 102/3=34, Resulting Numbers: [94, 34]
Generated Node #0,2,4: 88:[94, 34] Operation: 102/3=34
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[3, 8], Operations: ['34+68=102', '102-94=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,88 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,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:[94, 34], Operations: ['34+68=102', '102/3=34']
Exploring Operation: 94+34=128, Resulting Numbers: [128]
128,88 unequal: No Solution
Exploring Operation: 94*34=3196, Resulting Numbers: [3196]
3196,88 unequal: No Solution
Exploring Operation: 94-34=60, Resulting Numbers: [60]
60,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:[94, 99], Operations: ['34+68=102', '102-3=99']
Exploring Operation: 99-94=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 94+99=193, Resulting Numbers: [193]
193,88 unequal: No Solution
Exploring Operation: 94*99=9306, Resulting Numbers: [9306]
9306,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:[102, 91], Operations: ['34+68=102', '94-3=91']
Exploring Operation: 102+91=193, Resulting Numbers: [193]
193,88 unequal: No Solution
Exploring Operation: 102-91=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 102*91=9282, Resulting Numbers: [9282]
9282,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,0
Current State: 88:[102, 97], Operations: ['34+68=102', '3+94=97']
Exploring Operation: 102*97=9894, Resulting Numbers: [9894]
9894,88 unequal: No Solution
Exploring Operation: 102+97=199, Resulting Numbers: [199]
199,88 unequal: No Solution
Exploring Operation: 102-97=5, Resulting Numbers: [5]
5,88 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: 88:[34, 68, 91], Operations: ['94-3=91']
Exploring Operation: 91-34=57, Resulting Numbers: [68, 57]
Generated Node #0,0,0: 88:[68, 57] Operation: 91-34=57
Exploring Operation: 91-68=23, Resulting Numbers: [34, 23]
Generated Node #0,0,1: 88:[34, 23] Operation: 91-68=23
Exploring Operation: 68-34=34, Resulting Numbers: [91, 34]
Generated Node #0,0,2: 88:[91, 34] Operation: 68-34=34
Exploring Operation: 34+68=102, Resulting Numbers: [91, 102]
Generated Node #0,0,3: 88:[91, 102] Operation: 34+68=102
Exploring Operation: 68/34=2, Resulting Numbers: [91, 2]
Generated Node #0,0,4: 88:[91, 2] Operation: 68/34=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 88:[91, 2], Operations: ['94-3=91', '68/34=2']
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,88 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,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:[34, 23], Operations: ['94-3=91', '91-68=23']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,88 unequal: No Solution
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,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:[91, 34], Operations: ['94-3=91', '68-34=34']
Exploring Operation: 91-34=57, Resulting Numbers: [57]
57,88 unequal: No Solution
Exploring Operation: 91+34=125, Resulting Numbers: [125]
125,88 unequal: No Solution
Exploring Operation: 91*34=3094, Resulting Numbers: [3094]
3094,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:[91, 102], Operations: ['94-3=91', '34+68=102']
Exploring Operation: 91+102=193, Resulting Numbers: [193]
193,88 unequal: No Solution
Exploring Operation: 102-91=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 91*102=9282, Resulting Numbers: [9282]
9282,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:[68, 57], Operations: ['94-3=91', '91-34=57']
Exploring Operation: 68*57=3876, Resulting Numbers: [3876]
3876,88 unequal: No Solution
Exploring Operation: 68+57=125, Resulting Numbers: [125]
125,88 unequal: No Solution
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 88:[3, 8], Operations: ['94-68=26', '34-26=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,88 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[34, 23], Operations: ['94-68=26', '26-3=23']
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,88 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[26, 37], Operations: ['94-68=26', '3+34=37']
Exploring Operation: 26*37=962, Resulting Numbers: [962]
962,88 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 26+37=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Moving to Node #0,3,4
Current State: 88:[26, 31], Operations: ['94-68=26', '34-3=31']
Exploring Operation: 26*31=806, Resulting Numbers: [806]
806,88 unequal: No Solution
Exploring Operation: 26+31=57, Resulting Numbers: [57]
57,88 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[34, 29], Operations: ['94-68=26', '3+26=29']
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,88 unequal: No Solution
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
35,
75,
1,
26
] | 67
|
[
"75-35=40",
"1+26=27",
"40+27=67"
] |
Current State: 67:[35, 75, 1, 26], Operations: []
Exploring Operation: 75-35=40, Resulting Numbers: [1, 26, 40]
Generated Node #2: [1, 26, 40] from Operation: 75-35=40
Current State: 67:[1, 26, 40], Operations: ['75-35=40']
Exploring Operation: 1+26=27, Resulting Numbers: [40, 27]
Generated Node #3: [40, 27] from Operation: 1+26=27
Current State: 67:[40, 27], Operations: ['75-35=40', '1+26=27']
Exploring Operation: 40+27=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4
|
Current State: 67:[35, 75, 1, 26], Operations: []
Exploring Operation: 35+1=36, Resulting Numbers: [75, 26, 36]
Generated Node #0,0: 67:[75, 26, 36] Operation: 35+1=36
Exploring Operation: 1+26=27, Resulting Numbers: [35, 75, 27]
Generated Node #0,1: 67:[35, 75, 27] Operation: 1+26=27
Exploring Operation: 75-1=74, Resulting Numbers: [35, 26, 74]
Generated Node #0,2: 67:[35, 26, 74] Operation: 75-1=74
Exploring Operation: 35+26=61, Resulting Numbers: [75, 1, 61]
Generated Node #0,3: 67:[75, 1, 61] Operation: 35+26=61
Moving to Node #0,0
Current State: 67:[75, 26, 36], Operations: ['35+1=36']
Exploring Operation: 75+26=101, Resulting Numbers: [36, 101]
Generated Node #0,0,0: 67:[36, 101] Operation: 75+26=101
Exploring Operation: 75-26=49, Resulting Numbers: [36, 49]
Generated Node #0,0,1: 67:[36, 49] Operation: 75-26=49
Exploring Operation: 26+36=62, Resulting Numbers: [75, 62]
Generated Node #0,0,2: 67:[75, 62] Operation: 26+36=62
Exploring Operation: 36-26=10, Resulting Numbers: [75, 10]
Generated Node #0,0,3: 67:[75, 10] Operation: 36-26=10
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[75, 62], Operations: ['35+1=36', '26+36=62']
Exploring Operation: 75*62=4650, Resulting Numbers: [4650]
4650,67 unequal: No Solution
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 75+62=137, Resulting Numbers: [137]
137,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[36, 49], Operations: ['35+1=36', '75-26=49']
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 36*49=1764, Resulting Numbers: [1764]
1764,67 unequal: No Solution
Exploring Operation: 36+49=85, Resulting Numbers: [85]
85,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[36, 101], Operations: ['35+1=36', '75+26=101']
Exploring Operation: 101-36=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 36+101=137, Resulting Numbers: [137]
137,67 unequal: No Solution
Exploring Operation: 36*101=3636, Resulting Numbers: [3636]
3636,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 67:[75, 10], Operations: ['35+1=36', '36-26=10']
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Exploring Operation: 75*10=750, Resulting Numbers: [750]
750,67 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: 67:[35, 26, 74], Operations: ['75-1=74']
Exploring Operation: 74-26=48, Resulting Numbers: [35, 48]
Generated Node #0,2,0: 67:[35, 48] Operation: 74-26=48
Exploring Operation: 35-26=9, Resulting Numbers: [74, 9]
Generated Node #0,2,1: 67:[74, 9] Operation: 35-26=9
Exploring Operation: 26+74=100, Resulting Numbers: [35, 100]
Generated Node #0,2,2: 67:[35, 100] Operation: 26+74=100
Exploring Operation: 35+26=61, Resulting Numbers: [74, 61]
Generated Node #0,2,3: 67:[74, 61] Operation: 35+26=61
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[74, 61], Operations: ['75-1=74', '35+26=61']
Exploring Operation: 74+61=135, Resulting Numbers: [135]
135,67 unequal: No Solution
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 74*61=4514, Resulting Numbers: [4514]
4514,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[35, 48], Operations: ['75-1=74', '74-26=48']
Exploring Operation: 35+48=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 35*48=1680, Resulting Numbers: [1680]
1680,67 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[74, 9], Operations: ['75-1=74', '35-26=9']
Exploring Operation: 74*9=666, Resulting Numbers: [666]
666,67 unequal: No Solution
Exploring Operation: 74+9=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[35, 100], Operations: ['75-1=74', '26+74=100']
Exploring Operation: 35+100=135, Resulting Numbers: [135]
135,67 unequal: No Solution
Exploring Operation: 100-35=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 35*100=3500, Resulting Numbers: [3500]
3500,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 67:[35, 75, 27], Operations: ['1+26=27']
Exploring Operation: 35+27=62, Resulting Numbers: [75, 62]
Generated Node #0,1,0: 67:[75, 62] Operation: 35+27=62
Exploring Operation: 75-35=40, Resulting Numbers: [27, 40]
Generated Node #0,1,1: 67:[27, 40] Operation: 75-35=40
Exploring Operation: 35-27=8, Resulting Numbers: [75, 8]
Generated Node #0,1,2: 67:[75, 8] Operation: 35-27=8
Exploring Operation: 75-27=48, Resulting Numbers: [35, 48]
Generated Node #0,1,3: 67:[35, 48] Operation: 75-27=48
Moving to Node #0,3
Current State: 67:[75, 1, 61], Operations: ['35+26=61']
Exploring Operation: 1+61=62, Resulting Numbers: [75, 62]
Generated Node #0,3,0: 67:[75, 62] Operation: 1+61=62
Exploring Operation: 75*1=75, Resulting Numbers: [61, 75]
Generated Node #0,3,1: 67:[61, 75] Operation: 75*1=75
Exploring Operation: 75/1=75, Resulting Numbers: [61, 75]
Generated Node #0,3,2: 67:[61, 75] Operation: 75/1=75
Exploring Operation: 75-1=74, Resulting Numbers: [61, 74]
Generated Node #0,3,3: 67:[61, 74] Operation: 75-1=74
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 67:[75, 62], Operations: ['35+26=61', '1+61=62']
Exploring Operation: 75+62=137, Resulting Numbers: [137]
137,67 unequal: No Solution
Exploring Operation: 75*62=4650, Resulting Numbers: [4650]
4650,67 unequal: No Solution
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 67:[61, 74], Operations: ['35+26=61', '75-1=74']
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 61+74=135, Resulting Numbers: [135]
135,67 unequal: No Solution
Exploring Operation: 61*74=4514, Resulting Numbers: [4514]
4514,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 67:[61, 75], Operations: ['35+26=61', '75*1=75']
Exploring Operation: 61+75=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 61*75=4575, Resulting Numbers: [4575]
4575,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 67:[61, 75], Operations: ['35+26=61', '75/1=75']
Exploring Operation: 61+75=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 61*75=4575, Resulting Numbers: [4575]
4575,67 unequal: No Solution
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,67 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: 67:[75, 62], Operations: ['1+26=27', '35+27=62']
Exploring Operation: 75*62=4650, Resulting Numbers: [4650]
4650,67 unequal: No Solution
Exploring Operation: 75+62=137, Resulting Numbers: [137]
137,67 unequal: No Solution
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[35, 48], Operations: ['1+26=27', '75-27=48']
Exploring Operation: 35+48=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 35*48=1680, Resulting Numbers: [1680]
1680,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[75, 8], Operations: ['1+26=27', '35-27=8']
Exploring Operation: 75+8=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 75*8=600, Resulting Numbers: [600]
600,67 unequal: No Solution
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[35, 75, 1, 26], Operations: []
Exploring Operation: 1+26=27, Resulting Numbers: [35, 75, 27]
Generated Node #0,1: 67:[35, 75, 27] Operation: 1+26=27
Moving to Node #0,1
Current State: 67:[35, 75, 27], Operations: ['1+26=27']
Exploring Operation: 35-27=8, Resulting Numbers: [75, 8]
Generated Node #0,1,2: 67:[75, 8] Operation: 35-27=8
Moving to Node #0,1,2
Current State: 67:[75, 8], Operations: ['1+26=27', '35-27=8']
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 0.940104
|
hs_4
|
mult_heuristic
|
[
2,
76,
17,
1
] | 20
|
[
"76/2=38",
"17+1=18",
"38-18=20"
] |
Current State: 20:[2, 76, 17, 1], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [17, 1, 38]
Generated Node #2: [17, 1, 38] from Operation: 76/2=38
Current State: 20:[17, 1, 38], Operations: ['76/2=38']
Exploring Operation: 17+1=18, Resulting Numbers: [38, 18]
Generated Node #3: [38, 18] from Operation: 17+1=18
Current State: 20:[38, 18], Operations: ['76/2=38', '17+1=18']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[2, 76, 17, 1], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [17, 1, 38]
Generated Node #0,0: 20:[17, 1, 38] Operation: 76/2=38
Exploring Operation: 76-17=59, Resulting Numbers: [2, 1, 59]
Generated Node #0,1: 20:[2, 1, 59] Operation: 76-17=59
Moving to Node #0,0
Current State: 20:[17, 1, 38], Operations: ['76/2=38']
Exploring Operation: 17+1=18, Resulting Numbers: [38, 18]
Generated Node #0,0,0: 20:[38, 18] Operation: 17+1=18
Exploring Operation: 38-17=21, Resulting Numbers: [1, 21]
Generated Node #0,0,1: 20:[1, 21] Operation: 38-17=21
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[1, 21], Operations: ['76/2=38', '38-17=21']
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[2, 76, 17, 1], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [17, 1, 38]
Generated Node #0,0: 20:[17, 1, 38] Operation: 76/2=38
Moving to Node #0,0
Current State: 20:[17, 1, 38], Operations: ['76/2=38']
Exploring Operation: 38-17=21, Resulting Numbers: [1, 21]
Generated Node #0,0,1: 20:[1, 21] Operation: 38-17=21
Moving to Node #0,0,1
Current State: 20:[1, 21], Operations: ['76/2=38', '38-17=21']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
mult_heuristic
|
[
3,
53,
77,
2
] | 24
|
[
"3-2=1",
"77-53=24",
"1*24=24"
] |
Current State: 24:[3, 53, 77, 2], Operations: []
Exploring Operation: 3-2=1, Resulting Numbers: [53, 77, 1]
Generated Node #2: [53, 77, 1] from Operation: 3-2=1
Current State: 24:[53, 77, 1], Operations: ['3-2=1']
Exploring Operation: 77-53=24, Resulting Numbers: [1, 24]
Generated Node #3: [1, 24] from Operation: 77-53=24
Current State: 24:[1, 24], Operations: ['3-2=1', '77-53=24']
Exploring Operation: 1*24=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4
|
Current State: 24:[3, 53, 77, 2], Operations: []
Exploring Operation: 53-3=50, Resulting Numbers: [77, 2, 50]
Generated Node #0,0: 24:[77, 2, 50] Operation: 53-3=50
Exploring Operation: 77-53=24, Resulting Numbers: [3, 2, 24]
Generated Node #0,1: 24:[3, 2, 24] Operation: 77-53=24
Moving to Node #0,1
Current State: 24:[3, 2, 24], Operations: ['77-53=24']
Exploring Operation: 3*2=6, Resulting Numbers: [24, 6]
Generated Node #0,1,0: 24:[24, 6] Operation: 3*2=6
Exploring Operation: 24/3=8, Resulting Numbers: [2, 8]
Generated Node #0,1,1: 24:[2, 8] Operation: 24/3=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[24, 6], Operations: ['77-53=24', '3*2=6']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[2, 8], Operations: ['77-53=24', '24/3=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,24 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: 24:[77, 2, 50], Operations: ['53-3=50']
Exploring Operation: 50/2=25, Resulting Numbers: [77, 25]
Generated Node #0,0,0: 24:[77, 25] Operation: 50/2=25
Exploring Operation: 77-50=27, Resulting Numbers: [2, 27]
Generated Node #0,0,1: 24:[2, 27] Operation: 77-50=27
Moving to Node #0,0,1
Current State: 24:[2, 27], Operations: ['53-3=50', '77-50=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[77, 25], Operations: ['53-3=50', '50/2=25']
Exploring Operation: 77+25=102, Resulting Numbers: [102]
102,24 unequal: No Solution
Exploring Operation: 77-25=52, Resulting Numbers: [52]
52,24 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
50,
35,
33,
26
] | 12
|
[
"50-26=24",
"35-33=2",
"24/2=12"
] |
Current State: 12:[50, 35, 33, 26], Operations: []
Exploring Operation: 50-26=24, Resulting Numbers: [35, 33, 24]
Generated Node #2: [35, 33, 24] from Operation: 50-26=24
Current State: 12:[35, 33, 24], Operations: ['50-26=24']
Exploring Operation: 35-33=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 35-33=2
Current State: 12:[24, 2], Operations: ['50-26=24', '35-33=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4
|
Current State: 12:[50, 35, 33, 26], Operations: []
Exploring Operation: 50-35=15, Resulting Numbers: [33, 26, 15]
Generated Node #0,0: 12:[33, 26, 15] Operation: 50-35=15
Moving to Node #0,0
Current State: 12:[33, 26, 15], Operations: ['50-35=15']
Exploring Operation: 33-26=7, Resulting Numbers: [15, 7]
Generated Node #0,0,0: 12:[15, 7] Operation: 33-26=7
Moving to Node #0,0,0
Current State: 12:[15, 7], Operations: ['50-35=15', '33-26=7']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,12 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
82,
38,
19,
80
] | 19
|
[
"82*19=1558",
"1558-38=1520",
"1520/80=19"
] |
Current State: 19:[82, 38, 19, 80], Operations: []
Exploring Operation: 82*19=1558, Resulting Numbers: [38, 80, 1558]
Generated Node #2: [38, 80, 1558] from Operation: 82*19=1558
Current State: 19:[38, 80, 1558], Operations: ['82*19=1558']
Exploring Operation: 1558-38=1520, Resulting Numbers: [80, 1520]
Generated Node #3: [80, 1520] from Operation: 1558-38=1520
Current State: 19:[80, 1520], Operations: ['82*19=1558', '1558-38=1520']
Exploring Operation: 1520/80=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4
|
Current State: 19:[82, 38, 19, 80], Operations: []
Exploring Operation: 82-38=44, Resulting Numbers: [19, 80, 44]
Generated Node #0,0: 19:[19, 80, 44] Operation: 82-38=44
Exploring Operation: 80-38=42, Resulting Numbers: [82, 19, 42]
Generated Node #0,1: 19:[82, 19, 42] Operation: 80-38=42
Exploring Operation: 82-80=2, Resulting Numbers: [38, 19, 2]
Generated Node #0,2: 19:[38, 19, 2] Operation: 82-80=2
Moving to Node #0,2
Current State: 19:[38, 19, 2], Operations: ['82-80=2']
Exploring Operation: 38-19=19, Resulting Numbers: [2, 19]
Generated Node #0,2,0: 19:[2, 19] Operation: 38-19=19
Exploring Operation: 38/2=19, Resulting Numbers: [19, 19]
Generated Node #0,2,1: 19:[19, 19] Operation: 38/2=19
Exploring Operation: 38-2=36, Resulting Numbers: [19, 36]
Generated Node #0,2,2: 19:[19, 36] Operation: 38-2=36
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[19, 19], Operations: ['82-80=2', '38/2=19']
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[2, 19], Operations: ['82-80=2', '38-19=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[19, 36], Operations: ['82-80=2', '38-2=36']
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 19*36=684, Resulting Numbers: [684]
684,19 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: 19:[19, 80, 44], Operations: ['82-38=44']
Exploring Operation: 44-19=25, Resulting Numbers: [80, 25]
Generated Node #0,0,0: 19:[80, 25] Operation: 44-19=25
Exploring Operation: 80-19=61, Resulting Numbers: [44, 61]
Generated Node #0,0,1: 19:[44, 61] Operation: 80-19=61
Exploring Operation: 80-44=36, Resulting Numbers: [19, 36]
Generated Node #0,0,2: 19:[19, 36] Operation: 80-44=36
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[19, 36], Operations: ['82-38=44', '80-44=36']
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 19*36=684, Resulting Numbers: [684]
684,19 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[80, 25], Operations: ['82-38=44', '44-19=25']
Exploring Operation: 80*25=2000, Resulting Numbers: [2000]
2000,19 unequal: No Solution
Exploring Operation: 80+25=105, Resulting Numbers: [105]
105,19 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[44, 61], Operations: ['82-38=44', '80-19=61']
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 44+61=105, Resulting Numbers: [105]
105,19 unequal: No Solution
Exploring Operation: 44*61=2684, Resulting Numbers: [2684]
2684,19 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: 19:[82, 19, 42], Operations: ['80-38=42']
Exploring Operation: 82-19=63, Resulting Numbers: [42, 63]
Generated Node #0,1,0: 19:[42, 63] Operation: 82-19=63
Exploring Operation: 82-42=40, Resulting Numbers: [19, 40]
Generated Node #0,1,1: 19:[19, 40] Operation: 82-42=40
Exploring Operation: 42-19=23, Resulting Numbers: [82, 23]
Generated Node #0,1,2: 19:[82, 23] Operation: 42-19=23
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[19, 40], Operations: ['80-38=42', '82-42=40']
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,19 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Exploring Operation: 19*40=760, Resulting Numbers: [760]
760,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[42, 63], Operations: ['80-38=42', '82-19=63']
Exploring Operation: 42*63=2646, Resulting Numbers: [2646]
2646,19 unequal: No Solution
Exploring Operation: 42+63=105, Resulting Numbers: [105]
105,19 unequal: No Solution
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[82, 23], Operations: ['80-38=42', '42-19=23']
Exploring Operation: 82+23=105, Resulting Numbers: [105]
105,19 unequal: No Solution
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,19 unequal: No Solution
Exploring Operation: 82*23=1886, Resulting Numbers: [1886]
1886,19 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
|
[
38,
20,
73,
2
] | 64
|
[
"38-20=18",
"18/2=9",
"73-9=64"
] |
Current State: 64:[38, 20, 73, 2], Operations: []
Exploring Operation: 38-20=18, Resulting Numbers: [73, 2, 18]
Generated Node #2: [73, 2, 18] from Operation: 38-20=18
Current State: 64:[73, 2, 18], Operations: ['38-20=18']
Exploring Operation: 18/2=9, Resulting Numbers: [73, 9]
Generated Node #3: [73, 9] from Operation: 18/2=9
Current State: 64:[73, 9], Operations: ['38-20=18', '18/2=9']
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4
|
Current State: 64:[38, 20, 73, 2], Operations: []
Exploring Operation: 73-38=35, Resulting Numbers: [20, 2, 35]
Generated Node #0,0: 64:[20, 2, 35] Operation: 73-38=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[20, 2, 35], Operations: ['73-38=35']
Exploring Operation: 35-20=15, Resulting Numbers: [2, 15]
Generated Node #0,0,0: 64:[2, 15] Operation: 35-20=15
Moving to Node #0,0,0
Current State: 64:[2, 15], Operations: ['73-38=35', '35-20=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,64 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
|
[
85,
97,
74,
98
] | 36
|
[
"97-85=12",
"98-74=24",
"12+24=36"
] |
Current State: 36:[85, 97, 74, 98], Operations: []
Exploring Operation: 97-85=12, Resulting Numbers: [74, 98, 12]
Generated Node #2: [74, 98, 12] from Operation: 97-85=12
Current State: 36:[74, 98, 12], Operations: ['97-85=12']
Exploring Operation: 98-74=24, Resulting Numbers: [12, 24]
Generated Node #3: [12, 24] from Operation: 98-74=24
Current State: 36:[12, 24], Operations: ['97-85=12', '98-74=24']
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4
|
Current State: 36:[85, 97, 74, 98], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [85, 74, 1]
Generated Node #0,0: 36:[85, 74, 1] Operation: 98-97=1
Exploring Operation: 97-74=23, Resulting Numbers: [85, 98, 23]
Generated Node #0,1: 36:[85, 98, 23] Operation: 97-74=23
Exploring Operation: 98-85=13, Resulting Numbers: [97, 74, 13]
Generated Node #0,2: 36:[97, 74, 13] Operation: 98-85=13
Exploring Operation: 97-85=12, Resulting Numbers: [74, 98, 12]
Generated Node #0,3: 36:[74, 98, 12] Operation: 97-85=12
Moving to Node #0,0
Current State: 36:[85, 74, 1], Operations: ['98-97=1']
Exploring Operation: 85-1=84, Resulting Numbers: [74, 84]
Generated Node #0,0,0: 36:[74, 84] Operation: 85-1=84
Exploring Operation: 85*1=85, Resulting Numbers: [74, 85]
Generated Node #0,0,1: 36:[74, 85] Operation: 85*1=85
Exploring Operation: 74-1=73, Resulting Numbers: [85, 73]
Generated Node #0,0,2: 36:[85, 73] Operation: 74-1=73
Exploring Operation: 85-74=11, Resulting Numbers: [1, 11]
Generated Node #0,0,3: 36:[1, 11] Operation: 85-74=11
Moving to Node #0,3
Current State: 36:[74, 98, 12], Operations: ['97-85=12']
Exploring Operation: 98-74=24, Resulting Numbers: [12, 24]
Generated Node #0,3,0: 36:[12, 24] Operation: 98-74=24
Exploring Operation: 74+12=86, Resulting Numbers: [98, 86]
Generated Node #0,3,1: 36:[98, 86] Operation: 74+12=86
Exploring Operation: 98-12=86, Resulting Numbers: [74, 86]
Generated Node #0,3,2: 36:[74, 86] Operation: 98-12=86
Exploring Operation: 74-12=62, Resulting Numbers: [98, 62]
Generated Node #0,3,3: 36:[98, 62] Operation: 74-12=62
Moving to Node #0,2
Current State: 36:[97, 74, 13], Operations: ['98-85=13']
Exploring Operation: 97+13=110, Resulting Numbers: [74, 110]
Generated Node #0,2,0: 36:[74, 110] Operation: 97+13=110
Exploring Operation: 97-74=23, Resulting Numbers: [13, 23]
Generated Node #0,2,1: 36:[13, 23] Operation: 97-74=23
Exploring Operation: 74-13=61, Resulting Numbers: [97, 61]
Generated Node #0,2,2: 36:[97, 61] Operation: 74-13=61
Exploring Operation: 97-13=84, Resulting Numbers: [74, 84]
Generated Node #0,2,3: 36:[74, 84] Operation: 97-13=84
Moving to Node #0,1
Current State: 36:[85, 98, 23], Operations: ['97-74=23']
Exploring Operation: 85-23=62, Resulting Numbers: [98, 62]
Generated Node #0,1,0: 36:[98, 62] Operation: 85-23=62
Exploring Operation: 85+23=108, Resulting Numbers: [98, 108]
Generated Node #0,1,1: 36:[98, 108] Operation: 85+23=108
Exploring Operation: 98-85=13, Resulting Numbers: [23, 13]
Generated Node #0,1,2: 36:[23, 13] Operation: 98-85=13
Exploring Operation: 98-23=75, Resulting Numbers: [85, 75]
Generated Node #0,1,3: 36:[85, 75] Operation: 98-23=75
Moving to Node #0,0,3
Current State: 36:[1, 11], Operations: ['98-97=1', '85-74=11']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[23, 13], Operations: ['97-74=23', '98-85=13']
Exploring Operation: 23*13=299, Resulting Numbers: [299]
299,36 unequal: No Solution
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[85, 97, 74, 98], Operations: []
Exploring Operation: 97-74=23, Resulting Numbers: [85, 98, 23]
Generated Node #0,1: 36:[85, 98, 23] Operation: 97-74=23
Moving to Node #0,1
Current State: 36:[85, 98, 23], Operations: ['97-74=23']
Exploring Operation: 98-85=13, Resulting Numbers: [23, 13]
Generated Node #0,1,2: 36:[23, 13] Operation: 98-85=13
Moving to Node #0,1,2
Current State: 36:[23, 13], Operations: ['97-74=23', '98-85=13']
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.973958
|
hs_4
|
sum_heuristic
|
[
84,
23,
79,
44
] | 96
|
[
"84-23=61",
"79-44=35",
"61+35=96"
] |
Current State: 96:[84, 23, 79, 44], Operations: []
Exploring Operation: 84-23=61, Resulting Numbers: [79, 44, 61]
Generated Node #2: [79, 44, 61] from Operation: 84-23=61
Current State: 96:[79, 44, 61], Operations: ['84-23=61']
Exploring Operation: 79-44=35, Resulting Numbers: [61, 35]
Generated Node #3: [61, 35] from Operation: 79-44=35
Current State: 96:[61, 35], Operations: ['84-23=61', '79-44=35']
Exploring Operation: 61+35=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4
|
Current State: 96:[84, 23, 79, 44], Operations: []
Exploring Operation: 79-44=35, Resulting Numbers: [84, 23, 35]
Generated Node #0,0: 96:[84, 23, 35] Operation: 79-44=35
Exploring Operation: 84-79=5, Resulting Numbers: [23, 44, 5]
Generated Node #0,1: 96:[23, 44, 5] Operation: 84-79=5
Moving to Node #0,1
Current State: 96:[23, 44, 5], Operations: ['84-79=5']
Exploring Operation: 44-23=21, Resulting Numbers: [5, 21]
Generated Node #0,1,0: 96:[5, 21] Operation: 44-23=21
Exploring Operation: 44+5=49, Resulting Numbers: [23, 49]
Generated Node #0,1,1: 96:[23, 49] Operation: 44+5=49
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[23, 49], Operations: ['84-79=5', '44+5=49']
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 23+49=72, Resulting Numbers: [72]
72,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,1,0
Current State: 96:[5, 21], Operations: ['84-79=5', '44-23=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 96:[84, 23, 35], Operations: ['79-44=35']
Exploring Operation: 35-23=12, Resulting Numbers: [84, 12]
Generated Node #0,0,0: 96:[84, 12] Operation: 35-23=12
Exploring Operation: 84-35=49, Resulting Numbers: [23, 49]
Generated Node #0,0,1: 96:[23, 49] Operation: 84-35=49
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[23, 49], Operations: ['79-44=35', '84-35=49']
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 23+49=72, Resulting Numbers: [72]
72,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,0,0
Current State: 96:[84, 12], Operations: ['79-44=35', '35-23=12']
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 84+12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[84, 23, 79, 44], Operations: []
Exploring Operation: 79-44=35, Resulting Numbers: [84, 23, 35]
Generated Node #0,0: 96:[84, 23, 35] Operation: 79-44=35
Moving to Node #0,0
Current State: 96:[84, 23, 35], Operations: ['79-44=35']
Exploring Operation: 35-23=12, Resulting Numbers: [84, 12]
Generated Node #0,0,0: 96:[84, 12] Operation: 35-23=12
Moving to Node #0,0,0
Current State: 96:[84, 12], Operations: ['79-44=35', '35-23=12']
Exploring Operation: 84+12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375
|
hs_2
|
sum_heuristic
|
[
54,
42,
36,
87
] | 29
|
[
"54-42=12",
"36/12=3",
"87/3=29"
] |
Current State: 29:[54, 42, 36, 87], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [36, 87, 12]
Generated Node #2: [36, 87, 12] from Operation: 54-42=12
Current State: 29:[36, 87, 12], Operations: ['54-42=12']
Exploring Operation: 36/12=3, Resulting Numbers: [87, 3]
Generated Node #3: [87, 3] from Operation: 36/12=3
Current State: 29:[87, 3], Operations: ['54-42=12', '36/12=3']
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4
|
Current State: 29:[54, 42, 36, 87], Operations: []
Exploring Operation: 87-42=45, Resulting Numbers: [54, 36, 45]
Generated Node #0,0: 29:[54, 36, 45] Operation: 87-42=45
Exploring Operation: 54-42=12, Resulting Numbers: [36, 87, 12]
Generated Node #0,1: 29:[36, 87, 12] Operation: 54-42=12
Exploring Operation: 87-54=33, Resulting Numbers: [42, 36, 33]
Generated Node #0,2: 29:[42, 36, 33] Operation: 87-54=33
Exploring Operation: 87-36=51, Resulting Numbers: [54, 42, 51]
Generated Node #0,3: 29:[54, 42, 51] Operation: 87-36=51
Exploring Operation: 54-36=18, Resulting Numbers: [42, 87, 18]
Generated Node #0,4: 29:[42, 87, 18] Operation: 54-36=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[42, 36, 33], Operations: ['87-54=33']
Exploring Operation: 42-36=6, Resulting Numbers: [33, 6]
Generated Node #0,2,0: 29:[33, 6] Operation: 42-36=6
Exploring Operation: 42+36=78, Resulting Numbers: [33, 78]
Generated Node #0,2,1: 29:[33, 78] Operation: 42+36=78
Exploring Operation: 42+33=75, Resulting Numbers: [36, 75]
Generated Node #0,2,2: 29:[36, 75] Operation: 42+33=75
Exploring Operation: 42-33=9, Resulting Numbers: [36, 9]
Generated Node #0,2,3: 29:[36, 9] Operation: 42-33=9
Exploring Operation: 36-33=3, Resulting Numbers: [42, 3]
Generated Node #0,2,4: 29:[42, 3] Operation: 36-33=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[33, 6], Operations: ['87-54=33', '42-36=6']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 33*6=198, Resulting Numbers: [198]
198,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 29:[36, 9], Operations: ['87-54=33', '42-33=9']
Exploring Operation: 36*9=324, Resulting Numbers: [324]
324,29 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 29:[42, 3], Operations: ['87-54=33', '36-33=3']
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,29 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[33, 78], Operations: ['87-54=33', '42+36=78']
Exploring Operation: 33*78=2574, Resulting Numbers: [2574]
2574,29 unequal: No Solution
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 33+78=111, Resulting Numbers: [111]
111,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[36, 75], Operations: ['87-54=33', '42+33=75']
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 36+75=111, Resulting Numbers: [111]
111,29 unequal: No Solution
Exploring Operation: 36*75=2700, Resulting Numbers: [2700]
2700,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[54, 36, 45], Operations: ['87-42=45']
Exploring Operation: 45-36=9, Resulting Numbers: [54, 9]
Generated Node #0,0,0: 29:[54, 9] Operation: 45-36=9
Exploring Operation: 54-36=18, Resulting Numbers: [45, 18]
Generated Node #0,0,1: 29:[45, 18] Operation: 54-36=18
Exploring Operation: 54+36=90, Resulting Numbers: [45, 90]
Generated Node #0,0,2: 29:[45, 90] Operation: 54+36=90
Exploring Operation: 54+45=99, Resulting Numbers: [36, 99]
Generated Node #0,0,3: 29:[36, 99] Operation: 54+45=99
Exploring Operation: 54-45=9, Resulting Numbers: [36, 9]
Generated Node #0,0,4: 29:[36, 9] Operation: 54-45=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[45, 18], Operations: ['87-42=45', '54-36=18']
Exploring Operation: 45*18=810, Resulting Numbers: [810]
810,29 unequal: No Solution
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 29:[36, 9], Operations: ['87-42=45', '54-45=9']
Exploring Operation: 36*9=324, Resulting Numbers: [324]
324,29 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[54, 9], Operations: ['87-42=45', '45-36=9']
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,29 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[45, 90], Operations: ['87-42=45', '54+36=90']
Exploring Operation: 90/45=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 45*90=4050, Resulting Numbers: [4050]
4050,29 unequal: No Solution
Exploring Operation: 90-45=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 45+90=135, Resulting Numbers: [135]
135,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 29:[36, 99], Operations: ['87-42=45', '54+45=99']
Exploring Operation: 36*99=3564, Resulting Numbers: [3564]
3564,29 unequal: No Solution
Exploring Operation: 36+99=135, Resulting Numbers: [135]
135,29 unequal: No Solution
Exploring Operation: 99-36=63, Resulting Numbers: [63]
63,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[54, 42, 51], Operations: ['87-36=51']
Exploring Operation: 54+51=105, Resulting Numbers: [42, 105]
Generated Node #0,3,0: 29:[42, 105] Operation: 54+51=105
Exploring Operation: 54+42=96, Resulting Numbers: [51, 96]
Generated Node #0,3,1: 29:[51, 96] Operation: 54+42=96
Exploring Operation: 51-42=9, Resulting Numbers: [54, 9]
Generated Node #0,3,2: 29:[54, 9] Operation: 51-42=9
Exploring Operation: 54-42=12, Resulting Numbers: [51, 12]
Generated Node #0,3,3: 29:[51, 12] Operation: 54-42=12
Exploring Operation: 54-51=3, Resulting Numbers: [42, 3]
Generated Node #0,3,4: 29:[42, 3] Operation: 54-51=3
Moving to Node #0,3,3
Current State: 29:[51, 12], Operations: ['87-36=51', '54-42=12']
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,29 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Moving to Node #0,3,4
Current State: 29:[42, 3], Operations: ['87-36=51', '54-51=3']
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,29 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[54, 9], Operations: ['87-36=51', '51-42=9']
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,29 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[42, 105], Operations: ['87-36=51', '54+51=105']
Exploring Operation: 42+105=147, Resulting Numbers: [147]
147,29 unequal: No Solution
Exploring Operation: 105-42=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 42*105=4410, Resulting Numbers: [4410]
4410,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[51, 96], Operations: ['87-36=51', '54+42=96']
Exploring Operation: 51*96=4896, Resulting Numbers: [4896]
4896,29 unequal: No Solution
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 51+96=147, Resulting Numbers: [147]
147,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[36, 87, 12], Operations: ['54-42=12']
Exploring Operation: 87-36=51, Resulting Numbers: [12, 51]
Generated Node #0,1,0: 29:[12, 51] Operation: 87-36=51
Exploring Operation: 36-12=24, Resulting Numbers: [87, 24]
Generated Node #0,1,1: 29:[87, 24] Operation: 36-12=24
Exploring Operation: 87-12=75, Resulting Numbers: [36, 75]
Generated Node #0,1,2: 29:[36, 75] Operation: 87-12=75
Exploring Operation: 36+12=48, Resulting Numbers: [87, 48]
Generated Node #0,1,3: 29:[87, 48] Operation: 36+12=48
Exploring Operation: 87+12=99, Resulting Numbers: [36, 99]
Generated Node #0,1,4: 29:[36, 99] Operation: 87+12=99
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[12, 51], Operations: ['54-42=12', '87-36=51']
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 29:[36, 75], Operations: ['54-42=12', '87-12=75']
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 36*75=2700, Resulting Numbers: [2700]
2700,29 unequal: No Solution
Exploring Operation: 36+75=111, Resulting Numbers: [111]
111,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[87, 24], Operations: ['54-42=12', '36-12=24']
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 87*24=2088, Resulting Numbers: [2088]
2088,29 unequal: No Solution
Exploring Operation: 87+24=111, Resulting Numbers: [111]
111,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 29:[87, 48], Operations: ['54-42=12', '36+12=48']
Exploring Operation: 87*48=4176, Resulting Numbers: [4176]
4176,29 unequal: No Solution
Exploring Operation: 87+48=135, Resulting Numbers: [135]
135,29 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 29:[36, 99], Operations: ['54-42=12', '87+12=99']
Exploring Operation: 36*99=3564, Resulting Numbers: [3564]
3564,29 unequal: No Solution
Exploring Operation: 36+99=135, Resulting Numbers: [135]
135,29 unequal: No Solution
Exploring Operation: 99-36=63, Resulting Numbers: [63]
63,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 29:[42, 87, 18], Operations: ['54-36=18']
Exploring Operation: 42-18=24, Resulting Numbers: [87, 24]
Generated Node #0,4,0: 29:[87, 24] Operation: 42-18=24
Exploring Operation: 42+18=60, Resulting Numbers: [87, 60]
Generated Node #0,4,1: 29:[87, 60] Operation: 42+18=60
Exploring Operation: 87-18=69, Resulting Numbers: [42, 69]
Generated Node #0,4,2: 29:[42, 69] Operation: 87-18=69
Exploring Operation: 87-42=45, Resulting Numbers: [18, 45]
Generated Node #0,4,3: 29:[18, 45] Operation: 87-42=45
Exploring Operation: 87+18=105, Resulting Numbers: [42, 105]
Generated Node #0,4,4: 29:[42, 105] Operation: 87+18=105
Moving to Node #0,4,3
Current State: 29:[18, 45], Operations: ['54-36=18', '87-42=45']
Exploring Operation: 18*45=810, Resulting Numbers: [810]
810,29 unequal: No Solution
Exploring Operation: 18+45=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Moving to Node #0,4,2
Current State: 29:[42, 69], Operations: ['54-36=18', '87-18=69']
Exploring Operation: 42*69=2898, Resulting Numbers: [2898]
2898,29 unequal: No Solution
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 42+69=111, Resulting Numbers: [111]
111,29 unequal: No Solution
Moving to Node #0,4,0
Current State: 29:[87, 24], Operations: ['54-36=18', '42-18=24']
Exploring Operation: 87+24=111, Resulting Numbers: [111]
111,29 unequal: No Solution
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 87*24=2088, Resulting Numbers: [2088]
2088,29 unequal: No Solution
Moving to Node #0,4,1
Current State: 29:[87, 60], Operations: ['54-36=18', '42+18=60']
Exploring Operation: 87+60=147, Resulting Numbers: [147]
147,29 unequal: No Solution
Exploring Operation: 87*60=5220, Resulting Numbers: [5220]
5220,29 unequal: No Solution
Exploring Operation: 87-60=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Moving to Node #0,4,4
Current State: 29:[42, 105], Operations: ['54-36=18', '87+18=105']
Exploring Operation: 42*105=4410, Resulting Numbers: [4410]
4410,29 unequal: No Solution
Exploring Operation: 42+105=147, Resulting Numbers: [147]
147,29 unequal: No Solution
Exploring Operation: 105-42=63, Resulting Numbers: [63]
63,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
85,
39,
64,
16
] | 71
|
[
"39*64=2496",
"2496/16=156",
"156-85=71"
] |
Current State: 71:[85, 39, 64, 16], Operations: []
Exploring Operation: 39*64=2496, Resulting Numbers: [85, 16, 2496]
Generated Node #2: [85, 16, 2496] from Operation: 39*64=2496
Current State: 71:[85, 16, 2496], Operations: ['39*64=2496']
Exploring Operation: 2496/16=156, Resulting Numbers: [85, 156]
Generated Node #3: [85, 156] from Operation: 2496/16=156
Current State: 71:[85, 156], Operations: ['39*64=2496', '2496/16=156']
Exploring Operation: 156-85=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4
|
Current State: 71:[85, 39, 64, 16], Operations: []
Exploring Operation: 85-16=69, Resulting Numbers: [39, 64, 69]
Generated Node #0,0: 71:[39, 64, 69] Operation: 85-16=69
Exploring Operation: 39+16=55, Resulting Numbers: [85, 64, 55]
Generated Node #0,1: 71:[85, 64, 55] Operation: 39+16=55
Moving to Node #0,1
Current State: 71:[85, 64, 55], Operations: ['39+16=55']
Exploring Operation: 64+55=119, Resulting Numbers: [85, 119]
Generated Node #0,1,0: 71:[85, 119] Operation: 64+55=119
Exploring Operation: 85-55=30, Resulting Numbers: [64, 30]
Generated Node #0,1,1: 71:[64, 30] Operation: 85-55=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[64, 30], Operations: ['39+16=55', '85-55=30']
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[85, 119], Operations: ['39+16=55', '64+55=119']
Exploring Operation: 119-85=34, Resulting Numbers: [34]
34,71 unequal: No Solution
Exploring Operation: 85+119=204, Resulting Numbers: [204]
204,71 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: 71:[39, 64, 69], Operations: ['85-16=69']
Exploring Operation: 39+64=103, Resulting Numbers: [69, 103]
Generated Node #0,0,0: 71:[69, 103] Operation: 39+64=103
Exploring Operation: 39+69=108, Resulting Numbers: [64, 108]
Generated Node #0,0,1: 71:[64, 108] Operation: 39+69=108
Moving to Node #0,0,0
Current State: 71:[69, 103], Operations: ['85-16=69', '39+64=103']
Exploring Operation: 69+103=172, Resulting Numbers: [172]
172,71 unequal: No Solution
Exploring Operation: 103-69=34, Resulting Numbers: [34]
34,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[64, 108], Operations: ['85-16=69', '39+69=108']
Exploring Operation: 108-64=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 64+108=172, Resulting Numbers: [172]
172,71 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
88,
65,
37,
9
] | 90
|
[
"65+9=74",
"74/37=2",
"88+2=90"
] |
Current State: 90:[88, 65, 37, 9], Operations: []
Exploring Operation: 65+9=74, Resulting Numbers: [88, 37, 74]
Generated Node #2: [88, 37, 74] from Operation: 65+9=74
Current State: 90:[88, 37, 74], Operations: ['65+9=74']
Exploring Operation: 74/37=2, Resulting Numbers: [88, 2]
Generated Node #3: [88, 2] from Operation: 74/37=2
Current State: 90:[88, 2], Operations: ['65+9=74', '74/37=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4
|
Current State: 90:[88, 65, 37, 9], Operations: []
Exploring Operation: 65-37=28, Resulting Numbers: [88, 9, 28]
Generated Node #0,0: 90:[88, 9, 28] Operation: 65-37=28
Exploring Operation: 65+37=102, Resulting Numbers: [88, 9, 102]
Generated Node #0,1: 90:[88, 9, 102] Operation: 65+37=102
Exploring Operation: 88-65=23, Resulting Numbers: [37, 9, 23]
Generated Node #0,2: 90:[37, 9, 23] Operation: 88-65=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[88, 9, 28], Operations: ['65-37=28']
Exploring Operation: 88+9=97, Resulting Numbers: [28, 97]
Generated Node #0,0,0: 90:[28, 97] Operation: 88+9=97
Exploring Operation: 9+28=37, Resulting Numbers: [88, 37]
Generated Node #0,0,1: 90:[88, 37] Operation: 9+28=37
Exploring Operation: 28-9=19, Resulting Numbers: [88, 19]
Generated Node #0,0,2: 90:[88, 19] Operation: 28-9=19
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[88, 19], Operations: ['65-37=28', '28-9=19']
Exploring Operation: 88*19=1672, Resulting Numbers: [1672]
1672,90 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 88+19=107, Resulting Numbers: [107]
107,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[28, 97], Operations: ['65-37=28', '88+9=97']
Exploring Operation: 97-28=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 28*97=2716, Resulting Numbers: [2716]
2716,90 unequal: No Solution
Exploring Operation: 28+97=125, Resulting Numbers: [125]
125,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[88, 37], Operations: ['65-37=28', '9+28=37']
Exploring Operation: 88*37=3256, Resulting Numbers: [3256]
3256,90 unequal: No Solution
Exploring Operation: 88+37=125, Resulting Numbers: [125]
125,90 unequal: No Solution
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,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,2
Current State: 90:[37, 9, 23], Operations: ['88-65=23']
Exploring Operation: 37+9=46, Resulting Numbers: [23, 46]
Generated Node #0,2,0: 90:[23, 46] Operation: 37+9=46
Exploring Operation: 37-9=28, Resulting Numbers: [23, 28]
Generated Node #0,2,1: 90:[23, 28] Operation: 37-9=28
Exploring Operation: 37-23=14, Resulting Numbers: [9, 14]
Generated Node #0,2,2: 90:[9, 14] Operation: 37-23=14
Moving to Node #0,2,2
Current State: 90:[9, 14], Operations: ['88-65=23', '37-23=14']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,90 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[23, 46], Operations: ['88-65=23', '37+9=46']
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[23, 28], Operations: ['88-65=23', '37-9=28']
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[88, 9, 102], Operations: ['65+37=102']
Exploring Operation: 102-9=93, Resulting Numbers: [88, 93]
Generated Node #0,1,0: 90:[88, 93] Operation: 102-9=93
Exploring Operation: 88+9=97, Resulting Numbers: [102, 97]
Generated Node #0,1,1: 90:[102, 97] Operation: 88+9=97
Exploring Operation: 102-88=14, Resulting Numbers: [9, 14]
Generated Node #0,1,2: 90:[9, 14] Operation: 102-88=14
Moving to Node #0,1,2
Current State: 90:[9, 14], Operations: ['65+37=102', '102-88=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,90 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[88, 93], Operations: ['65+37=102', '102-9=93']
Exploring Operation: 88+93=181, Resulting Numbers: [181]
181,90 unequal: No Solution
Exploring Operation: 88*93=8184, Resulting Numbers: [8184]
8184,90 unequal: No Solution
Exploring Operation: 93-88=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[102, 97], Operations: ['65+37=102', '88+9=97']
Exploring Operation: 102+97=199, Resulting Numbers: [199]
199,90 unequal: No Solution
Exploring Operation: 102*97=9894, Resulting Numbers: [9894]
9894,90 unequal: No Solution
Exploring Operation: 102-97=5, Resulting Numbers: [5]
5,90 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
|
[
17,
18,
23,
46
] | 52
|
[
"17*46=782",
"782/23=34",
"18+34=52"
] |
Current State: 52:[17, 18, 23, 46], Operations: []
Exploring Operation: 17*46=782, Resulting Numbers: [18, 23, 782]
Generated Node #2: [18, 23, 782] from Operation: 17*46=782
Current State: 52:[18, 23, 782], Operations: ['17*46=782']
Exploring Operation: 782/23=34, Resulting Numbers: [18, 34]
Generated Node #3: [18, 34] from Operation: 782/23=34
Current State: 52:[18, 34], Operations: ['17*46=782', '782/23=34']
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4
|
Current State: 52:[17, 18, 23, 46], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [17, 18, 2]
Generated Node #0,0: 52:[17, 18, 2] Operation: 46/23=2
Exploring Operation: 46-18=28, Resulting Numbers: [17, 23, 28]
Generated Node #0,1: 52:[17, 23, 28] Operation: 46-18=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[17, 18, 2], Operations: ['46/23=2']
Exploring Operation: 17-2=15, Resulting Numbers: [18, 15]
Generated Node #0,0,0: 52:[18, 15] Operation: 17-2=15
Exploring Operation: 18-17=1, Resulting Numbers: [2, 1]
Generated Node #0,0,1: 52:[2, 1] Operation: 18-17=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[2, 1], Operations: ['46/23=2', '18-17=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No 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: 52:[18, 15], Operations: ['46/23=2', '17-2=15']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[17, 23, 28], Operations: ['46-18=28']
Exploring Operation: 28-17=11, Resulting Numbers: [23, 11]
Generated Node #0,1,0: 52:[23, 11] Operation: 28-17=11
Exploring Operation: 23-17=6, Resulting Numbers: [28, 6]
Generated Node #0,1,1: 52:[28, 6] Operation: 23-17=6
Moving to Node #0,1,1
Current State: 52:[28, 6], Operations: ['46-18=28', '23-17=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[23, 11], Operations: ['46-18=28', '28-17=11']
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,52 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
|
[
42,
54,
33,
51
] | 93
|
[
"54-51=3",
"42*3=126",
"126-33=93"
] |
Current State: 93:[42, 54, 33, 51], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [42, 33, 3]
Generated Node #2: [42, 33, 3] from Operation: 54-51=3
Current State: 93:[42, 33, 3], Operations: ['54-51=3']
Exploring Operation: 42*3=126, Resulting Numbers: [33, 126]
Generated Node #3: [33, 126] from Operation: 42*3=126
Current State: 93:[33, 126], Operations: ['54-51=3', '42*3=126']
Exploring Operation: 126-33=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4
|
Current State: 93:[42, 54, 33, 51], Operations: []
Exploring Operation: 42+51=93, Resulting Numbers: [54, 33, 93]
Generated Node #0,0: 93:[54, 33, 93] Operation: 42+51=93
Exploring Operation: 54-51=3, Resulting Numbers: [42, 33, 3]
Generated Node #0,1: 93:[42, 33, 3] Operation: 54-51=3
Exploring Operation: 42+54=96, Resulting Numbers: [33, 51, 96]
Generated Node #0,2: 93:[33, 51, 96] Operation: 42+54=96
Moving to Node #0,1
Current State: 93:[42, 33, 3], Operations: ['54-51=3']
Exploring Operation: 33-3=30, Resulting Numbers: [42, 30]
Generated Node #0,1,0: 93:[42, 30] Operation: 33-3=30
Exploring Operation: 42-3=39, Resulting Numbers: [33, 39]
Generated Node #0,1,1: 93:[33, 39] Operation: 42-3=39
Exploring Operation: 42-33=9, Resulting Numbers: [3, 9]
Generated Node #0,1,2: 93:[3, 9] Operation: 42-33=9
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[3, 9], Operations: ['54-51=3', '42-33=9']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[33, 39], Operations: ['54-51=3', '42-3=39']
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 33*39=1287, Resulting Numbers: [1287]
1287,93 unequal: No Solution
Exploring Operation: 33+39=72, Resulting Numbers: [72]
72,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[42, 30], Operations: ['54-51=3', '33-3=30']
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,93 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: 93:[54, 33, 93], Operations: ['42+51=93']
Exploring Operation: 54-33=21, Resulting Numbers: [93, 21]
Generated Node #0,0,0: 93:[93, 21] Operation: 54-33=21
Exploring Operation: 54+33=87, Resulting Numbers: [93, 87]
Generated Node #0,0,1: 93:[93, 87] Operation: 54+33=87
Exploring Operation: 93-54=39, Resulting Numbers: [33, 39]
Generated Node #0,0,2: 93:[33, 39] Operation: 93-54=39
Moving to Node #0,2
Current State: 93:[33, 51, 96], Operations: ['42+54=96']
Exploring Operation: 33+51=84, Resulting Numbers: [96, 84]
Generated Node #0,2,0: 93:[96, 84] Operation: 33+51=84
Exploring Operation: 51-33=18, Resulting Numbers: [96, 18]
Generated Node #0,2,1: 93:[96, 18] Operation: 51-33=18
Exploring Operation: 96-51=45, Resulting Numbers: [33, 45]
Generated Node #0,2,2: 93:[33, 45] Operation: 96-51=45
Moving to Node #0,0,1
Current State: 93:[93, 87], Operations: ['42+51=93', '54+33=87']
Exploring Operation: 93*87=8091, Resulting Numbers: [8091]
8091,93 unequal: No Solution
Exploring Operation: 93+87=180, Resulting Numbers: [180]
180,93 unequal: No Solution
Exploring Operation: 93-87=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[33, 39], Operations: ['42+51=93', '93-54=39']
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 33*39=1287, Resulting Numbers: [1287]
1287,93 unequal: No Solution
Exploring Operation: 33+39=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[93, 21], Operations: ['42+51=93', '54-33=21']
Exploring Operation: 93+21=114, Resulting Numbers: [114]
114,93 unequal: No Solution
Exploring Operation: 93*21=1953, Resulting Numbers: [1953]
1953,93 unequal: No Solution
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[96, 84], Operations: ['42+54=96', '33+51=84']
Exploring Operation: 96+84=180, Resulting Numbers: [180]
180,93 unequal: No Solution
Exploring Operation: 96*84=8064, Resulting Numbers: [8064]
8064,93 unequal: No Solution
Exploring Operation: 96-84=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[96, 18], Operations: ['42+54=96', '51-33=18']
Exploring Operation: 96-18=78, Resulting Numbers: [78]
78,93 unequal: No Solution
Exploring Operation: 96+18=114, Resulting Numbers: [114]
114,93 unequal: No Solution
Exploring Operation: 96*18=1728, Resulting Numbers: [1728]
1728,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[33, 45], Operations: ['42+54=96', '96-51=45']
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 33*45=1485, Resulting Numbers: [1485]
1485,93 unequal: No Solution
Exploring Operation: 33+45=78, Resulting Numbers: [78]
78,93 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
21,
42,
9,
30
] | 41
|
[
"42/21=2",
"9+30=39",
"2+39=41"
] |
Current State: 41:[21, 42, 9, 30], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [9, 30, 2]
Generated Node #2: [9, 30, 2] from Operation: 42/21=2
Current State: 41:[9, 30, 2], Operations: ['42/21=2']
Exploring Operation: 9+30=39, Resulting Numbers: [2, 39]
Generated Node #3: [2, 39] from Operation: 9+30=39
Current State: 41:[2, 39], Operations: ['42/21=2', '9+30=39']
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4
|
Current State: 41:[21, 42, 9, 30], Operations: []
Exploring Operation: 21-9=12, Resulting Numbers: [42, 30, 12]
Generated Node #0,0: 41:[42, 30, 12] Operation: 21-9=12
Exploring Operation: 9+30=39, Resulting Numbers: [21, 42, 39]
Generated Node #0,1: 41:[21, 42, 39] Operation: 9+30=39
Exploring Operation: 21+9=30, Resulting Numbers: [42, 30, 30]
Generated Node #0,2: 41:[42, 30, 30] Operation: 21+9=30
Exploring Operation: 42-9=33, Resulting Numbers: [21, 30, 33]
Generated Node #0,3: 41:[21, 30, 33] Operation: 42-9=33
Moving to Node #0,1
Current State: 41:[21, 42, 39], Operations: ['9+30=39']
Exploring Operation: 42-21=21, Resulting Numbers: [39, 21]
Generated Node #0,1,0: 41:[39, 21] Operation: 42-21=21
Exploring Operation: 21+42=63, Resulting Numbers: [39, 63]
Generated Node #0,1,1: 41:[39, 63] Operation: 21+42=63
Exploring Operation: 39-21=18, Resulting Numbers: [42, 18]
Generated Node #0,1,2: 41:[42, 18] Operation: 39-21=18
Exploring Operation: 21+39=60, Resulting Numbers: [42, 60]
Generated Node #0,1,3: 41:[42, 60] Operation: 21+39=60
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[42, 60], Operations: ['9+30=39', '21+39=60']
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 42+60=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Exploring Operation: 42*60=2520, Resulting Numbers: [2520]
2520,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[39, 21], Operations: ['9+30=39', '42-21=21']
Exploring Operation: 39+21=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 39*21=819, Resulting Numbers: [819]
819,41 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[39, 63], Operations: ['9+30=39', '21+42=63']
Exploring Operation: 39*63=2457, Resulting Numbers: [2457]
2457,41 unequal: No Solution
Exploring Operation: 39+63=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[42, 18], Operations: ['9+30=39', '39-21=18']
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 42*18=756, Resulting Numbers: [756]
756,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 41:[42, 30, 30], Operations: ['21+9=30']
Exploring Operation: 42-30=12, Resulting Numbers: [30, 12]
Generated Node #0,2,0: 41:[30, 12] Operation: 42-30=12
Exploring Operation: 30/30=1, Resulting Numbers: [42, 1]
Generated Node #0,2,1: 41:[42, 1] Operation: 30/30=1
Exploring Operation: 30+30=60, Resulting Numbers: [42, 60]
Generated Node #0,2,2: 41:[42, 60] Operation: 30+30=60
Exploring Operation: 42-30=12, Resulting Numbers: [30, 12]
Generated Node #0,2,3: 41:[30, 12] Operation: 42-30=12
Moving to Node #0,3
Current State: 41:[21, 30, 33], Operations: ['42-9=33']
Exploring Operation: 21+33=54, Resulting Numbers: [30, 54]
Generated Node #0,3,0: 41:[30, 54] Operation: 21+33=54
Exploring Operation: 21+30=51, Resulting Numbers: [33, 51]
Generated Node #0,3,1: 41:[33, 51] Operation: 21+30=51
Exploring Operation: 30-21=9, Resulting Numbers: [33, 9]
Generated Node #0,3,2: 41:[33, 9] Operation: 30-21=9
Exploring Operation: 33-21=12, Resulting Numbers: [30, 12]
Generated Node #0,3,3: 41:[30, 12] Operation: 33-21=12
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[33, 51], Operations: ['42-9=33', '21+30=51']
Exploring Operation: 33+51=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 33*51=1683, Resulting Numbers: [1683]
1683,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[30, 54], Operations: ['42-9=33', '21+33=54']
Exploring Operation: 30*54=1620, Resulting Numbers: [1620]
1620,41 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 30+54=84, Resulting Numbers: [84]
84,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[33, 9], Operations: ['42-9=33', '30-21=9']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,41 unequal: No Solution
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[30, 12], Operations: ['42-9=33', '33-21=12']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,41 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 41:[42, 30, 12], Operations: ['21-9=12']
Exploring Operation: 42-12=30, Resulting Numbers: [30, 30]
Generated Node #0,0,0: 41:[30, 30] Operation: 42-12=30
Exploring Operation: 42+12=54, Resulting Numbers: [30, 54]
Generated Node #0,0,1: 41:[30, 54] Operation: 42+12=54
Exploring Operation: 30+12=42, Resulting Numbers: [42, 42]
Generated Node #0,0,2: 41:[42, 42] Operation: 30+12=42
Exploring Operation: 30-12=18, Resulting Numbers: [42, 18]
Generated Node #0,0,3: 41:[42, 18] Operation: 30-12=18
Moving to Node #0,0,2
Current State: 41:[42, 42], Operations: ['21-9=12', '30+12=42']
Exploring Operation: 42/42=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 42*42=1764, Resulting Numbers: [1764]
1764,41 unequal: No Solution
Exploring Operation: 42-42=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[42, 60], Operations: ['21+9=30', '30+30=60']
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 42*60=2520, Resulting Numbers: [2520]
2520,41 unequal: No Solution
Exploring Operation: 42+60=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[30, 30], Operations: ['21-9=12', '42-12=30']
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 30*30=900, Resulting Numbers: [900]
900,41 unequal: No Solution
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[30, 54], Operations: ['21-9=12', '42+12=54']
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 30+54=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 30*54=1620, Resulting Numbers: [1620]
1620,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[42, 18], Operations: ['21-9=12', '30-12=18']
Exploring Operation: 42*18=756, Resulting Numbers: [756]
756,41 unequal: No Solution
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[30, 12], Operations: ['21+9=30', '42-30=12']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[30, 12], Operations: ['21+9=30', '42-30=12']
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,41 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[42, 1], Operations: ['21+9=30', '30/30=1']
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[21, 42, 9, 30], Operations: []
Exploring Operation: 21+9=30, Resulting Numbers: [42, 30, 30]
Generated Node #0,2: 41:[42, 30, 30] Operation: 21+9=30
Moving to Node #0,2
Current State: 41:[42, 30, 30], Operations: ['21+9=30']
Exploring Operation: 30/30=1, Resulting Numbers: [42, 1]
Generated Node #0,2,1: 41:[42, 1] Operation: 30/30=1
Moving to Node #0,2,1
Current State: 41:[42, 1], Operations: ['21+9=30', '30/30=1']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 0.935764
|
hs_4
|
mult_heuristic
|
[
33,
7,
49,
31
] | 35
|
[
"33-31=2",
"7*2=14",
"49-14=35"
] |
Current State: 35:[33, 7, 49, 31], Operations: []
Exploring Operation: 33-31=2, Resulting Numbers: [7, 49, 2]
Generated Node #2: [7, 49, 2] from Operation: 33-31=2
Current State: 35:[7, 49, 2], Operations: ['33-31=2']
Exploring Operation: 7*2=14, Resulting Numbers: [49, 14]
Generated Node #3: [49, 14] from Operation: 7*2=14
Current State: 35:[49, 14], Operations: ['33-31=2', '7*2=14']
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4
|
Current State: 35:[33, 7, 49, 31], Operations: []
Exploring Operation: 49-31=18, Resulting Numbers: [33, 7, 18]
Generated Node #0,0: 35:[33, 7, 18] Operation: 49-31=18
Exploring Operation: 49/7=7, Resulting Numbers: [33, 31, 7]
Generated Node #0,1: 35:[33, 31, 7] Operation: 49/7=7
Exploring Operation: 49-7=42, Resulting Numbers: [33, 31, 42]
Generated Node #0,2: 35:[33, 31, 42] Operation: 49-7=42
Exploring Operation: 49-33=16, Resulting Numbers: [7, 31, 16]
Generated Node #0,3: 35:[7, 31, 16] Operation: 49-33=16
Exploring Operation: 33-31=2, Resulting Numbers: [7, 49, 2]
Generated Node #0,4: 35:[7, 49, 2] Operation: 33-31=2
Moving to Node #0,1
Current State: 35:[33, 31, 7], Operations: ['49/7=7']
Exploring Operation: 33-31=2, Resulting Numbers: [7, 2]
Generated Node #0,1,0: 35:[7, 2] Operation: 33-31=2
Exploring Operation: 31-7=24, Resulting Numbers: [33, 24]
Generated Node #0,1,1: 35:[33, 24] Operation: 31-7=24
Exploring Operation: 33+7=40, Resulting Numbers: [31, 40]
Generated Node #0,1,2: 35:[31, 40] Operation: 33+7=40
Exploring Operation: 33-7=26, Resulting Numbers: [31, 26]
Generated Node #0,1,3: 35:[31, 26] Operation: 33-7=26
Exploring Operation: 31+7=38, Resulting Numbers: [33, 38]
Generated Node #0,1,4: 35:[33, 38] Operation: 31+7=38
Moving to Node #0,2
Current State: 35:[33, 31, 42], Operations: ['49-7=42']
Exploring Operation: 33-31=2, Resulting Numbers: [42, 2]
Generated Node #0,2,0: 35:[42, 2] Operation: 33-31=2
Exploring Operation: 33+31=64, Resulting Numbers: [42, 64]
Generated Node #0,2,1: 35:[42, 64] Operation: 33+31=64
Exploring Operation: 42-31=11, Resulting Numbers: [33, 11]
Generated Node #0,2,2: 35:[33, 11] Operation: 42-31=11
Exploring Operation: 42-33=9, Resulting Numbers: [31, 9]
Generated Node #0,2,3: 35:[31, 9] Operation: 42-33=9
Exploring Operation: 31+42=73, Resulting Numbers: [33, 73]
Generated Node #0,2,4: 35:[33, 73] Operation: 31+42=73
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[33, 11], Operations: ['49-7=42', '42-31=11']
Exploring Operation: 33+11=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 33*11=363, Resulting Numbers: [363]
363,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 35:[31, 9], Operations: ['49-7=42', '42-33=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[42, 2], Operations: ['49-7=42', '33-31=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[42, 64], Operations: ['49-7=42', '33+31=64']
Exploring Operation: 42*64=2688, Resulting Numbers: [2688]
2688,35 unequal: No Solution
Exploring Operation: 42+64=106, Resulting Numbers: [106]
106,35 unequal: No Solution
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 35:[33, 73], Operations: ['49-7=42', '31+42=73']
Exploring Operation: 33+73=106, Resulting Numbers: [106]
106,35 unequal: No Solution
Exploring Operation: 33*73=2409, Resulting Numbers: [2409]
2409,35 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 35:[33, 7, 18], Operations: ['49-31=18']
Exploring Operation: 18-7=11, Resulting Numbers: [33, 11]
Generated Node #0,0,0: 35:[33, 11] Operation: 18-7=11
Exploring Operation: 33+18=51, Resulting Numbers: [7, 51]
Generated Node #0,0,1: 35:[7, 51] Operation: 33+18=51
Exploring Operation: 33-18=15, Resulting Numbers: [7, 15]
Generated Node #0,0,2: 35:[7, 15] Operation: 33-18=15
Exploring Operation: 7+18=25, Resulting Numbers: [33, 25]
Generated Node #0,0,3: 35:[33, 25] Operation: 7+18=25
Exploring Operation: 33+7=40, Resulting Numbers: [18, 40]
Generated Node #0,0,4: 35:[18, 40] Operation: 33+7=40
Moving to Node #0,3
Current State: 35:[7, 31, 16], Operations: ['49-33=16']
Exploring Operation: 31-16=15, Resulting Numbers: [7, 15]
Generated Node #0,3,0: 35:[7, 15] Operation: 31-16=15
Exploring Operation: 16-7=9, Resulting Numbers: [31, 9]
Generated Node #0,3,1: 35:[31, 9] Operation: 16-7=9
Exploring Operation: 7+31=38, Resulting Numbers: [16, 38]
Generated Node #0,3,2: 35:[16, 38] Operation: 7+31=38
Exploring Operation: 31+16=47, Resulting Numbers: [7, 47]
Generated Node #0,3,3: 35:[7, 47] Operation: 31+16=47
Exploring Operation: 7+16=23, Resulting Numbers: [31, 23]
Generated Node #0,3,4: 35:[31, 23] Operation: 7+16=23
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 35:[31, 9], Operations: ['49-33=16', '16-7=9']
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,35 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 35:[7, 15], Operations: ['49-33=16', '31-16=15']
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,35 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 35:[16, 38], Operations: ['49-33=16', '7+31=38']
Exploring Operation: 16*38=608, Resulting Numbers: [608]
608,35 unequal: No Solution
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 35:[7, 47], Operations: ['49-33=16', '31+16=47']
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,35 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 35:[31, 23], Operations: ['49-33=16', '7+16=23']
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 31*23=713, Resulting Numbers: [713]
713,35 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 35:[7, 49, 2], Operations: ['33-31=2']
Exploring Operation: 7+2=9, Resulting Numbers: [49, 9]
Generated Node #0,4,0: 35:[49, 9] Operation: 7+2=9
Exploring Operation: 7-2=5, Resulting Numbers: [49, 5]
Generated Node #0,4,1: 35:[49, 5] Operation: 7-2=5
Exploring Operation: 49/7=7, Resulting Numbers: [2, 7]
Generated Node #0,4,2: 35:[2, 7] Operation: 49/7=7
Exploring Operation: 49-2=47, Resulting Numbers: [7, 47]
Generated Node #0,4,3: 35:[7, 47] Operation: 49-2=47
Exploring Operation: 49-7=42, Resulting Numbers: [2, 42]
Generated Node #0,4,4: 35:[2, 42] Operation: 49-7=42
Moving to Node #0,1,0
Current State: 35:[7, 2], Operations: ['49/7=7', '33-31=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Moving to Node #0,4,2
Current State: 35:[2, 7], Operations: ['33-31=2', '49/7=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Moving to Node #0,1,4
Current State: 35:[33, 38], Operations: ['49/7=7', '31+7=38']
Exploring Operation: 33+38=71, Resulting Numbers: [71]
71,35 unequal: No Solution
Exploring Operation: 33*38=1254, Resulting Numbers: [1254]
1254,35 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[33, 11], Operations: ['49-31=18', '18-7=11']
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 33*11=363, Resulting Numbers: [363]
363,35 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 33+11=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[7, 15], Operations: ['49-31=18', '33-18=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,35 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[31, 40], Operations: ['49/7=7', '33+7=40']
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,35 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 31*40=1240, Resulting Numbers: [1240]
1240,35 unequal: No Solution
Moving to Node #0,4,4
Current State: 35:[2, 42], Operations: ['33-31=2', '49-7=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Moving to Node #0,4,3
Current State: 35:[7, 47], Operations: ['33-31=2', '49-2=47']
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[33, 25], Operations: ['49-31=18', '7+18=25']
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,35 unequal: No Solution
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[31, 26], Operations: ['49/7=7', '33-7=26']
Exploring Operation: 31*26=806, Resulting Numbers: [806]
806,35 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[33, 24], Operations: ['49/7=7', '31-7=24']
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,35 unequal: No Solution
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Moving to Node #0,4,1
Current State: 35:[49, 5], Operations: ['33-31=2', '7-2=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,35 unequal: No Solution
Moving to Node #0,0,4
Current State: 35:[18, 40], Operations: ['49-31=18', '33+7=40']
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,35 unequal: No Solution
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,35 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[7, 51], Operations: ['49-31=18', '33+18=51']
Exploring Operation: 7*51=357, Resulting Numbers: [357]
357,35 unequal: No Solution
Exploring Operation: 7+51=58, Resulting Numbers: [58]
58,35 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Moving to Node #0,4,0
Current State: 35:[49, 9], Operations: ['33-31=2', '7+2=9']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 49*9=441, Resulting Numbers: [441]
441,35 unequal: No Solution
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,35 unequal: No Solution
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
37,
2,
84,
72
] | 41
|
[
"84+72=156",
"156/2=78",
"78-37=41"
] |
Current State: 41:[37, 2, 84, 72], Operations: []
Exploring Operation: 84+72=156, Resulting Numbers: [37, 2, 156]
Generated Node #2: [37, 2, 156] from Operation: 84+72=156
Current State: 41:[37, 2, 156], Operations: ['84+72=156']
Exploring Operation: 156/2=78, Resulting Numbers: [37, 78]
Generated Node #3: [37, 78] from Operation: 156/2=78
Current State: 41:[37, 78], Operations: ['84+72=156', '156/2=78']
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4
|
Current State: 41:[37, 2, 84, 72], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [37, 72, 42]
Generated Node #0,0: 41:[37, 72, 42] Operation: 84/2=42
Exploring Operation: 72/2=36, Resulting Numbers: [37, 84, 36]
Generated Node #0,1: 41:[37, 84, 36] Operation: 72/2=36
Exploring Operation: 84-72=12, Resulting Numbers: [37, 2, 12]
Generated Node #0,2: 41:[37, 2, 12] Operation: 84-72=12
Moving to Node #0,0
Current State: 41:[37, 72, 42], Operations: ['84/2=42']
Exploring Operation: 42-37=5, Resulting Numbers: [72, 5]
Generated Node #0,0,0: 41:[72, 5] Operation: 42-37=5
Exploring Operation: 72-37=35, Resulting Numbers: [42, 35]
Generated Node #0,0,1: 41:[42, 35] Operation: 72-37=35
Exploring Operation: 72-42=30, Resulting Numbers: [37, 30]
Generated Node #0,0,2: 41:[37, 30] Operation: 72-42=30
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[42, 35], Operations: ['84/2=42', '72-37=35']
Exploring Operation: 42+35=77, Resulting Numbers: [77]
77,41 unequal: No Solution
Exploring Operation: 42*35=1470, Resulting Numbers: [1470]
1470,41 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[37, 30], Operations: ['84/2=42', '72-42=30']
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,41 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[72, 5], Operations: ['84/2=42', '42-37=5']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,41 unequal: No Solution
Exploring Operation: 72+5=77, Resulting Numbers: [77]
77,41 unequal: No Solution
Exploring Operation: 72*5=360, Resulting Numbers: [360]
360,41 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: 41:[37, 84, 36], Operations: ['72/2=36']
Exploring Operation: 84-36=48, Resulting Numbers: [37, 48]
Generated Node #0,1,0: 41:[37, 48] Operation: 84-36=48
Exploring Operation: 84-37=47, Resulting Numbers: [36, 47]
Generated Node #0,1,1: 41:[36, 47] Operation: 84-37=47
Exploring Operation: 37+36=73, Resulting Numbers: [84, 73]
Generated Node #0,1,2: 41:[84, 73] Operation: 37+36=73
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[37, 48], Operations: ['72/2=36', '84-36=48']
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 37+48=85, Resulting Numbers: [85]
85,41 unequal: No Solution
Exploring Operation: 37*48=1776, Resulting Numbers: [1776]
1776,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[36, 47], Operations: ['72/2=36', '84-37=47']
Exploring Operation: 36+47=83, Resulting Numbers: [83]
83,41 unequal: No Solution
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 36*47=1692, Resulting Numbers: [1692]
1692,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[84, 73], Operations: ['72/2=36', '37+36=73']
Exploring Operation: 84*73=6132, Resulting Numbers: [6132]
6132,41 unequal: No Solution
Exploring Operation: 84+73=157, Resulting Numbers: [157]
157,41 unequal: No Solution
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 41:[37, 2, 12], Operations: ['84-72=12']
Exploring Operation: 2+12=14, Resulting Numbers: [37, 14]
Generated Node #0,2,0: 41:[37, 14] Operation: 2+12=14
Exploring Operation: 37+2=39, Resulting Numbers: [12, 39]
Generated Node #0,2,1: 41:[12, 39] Operation: 37+2=39
Exploring Operation: 2*12=24, Resulting Numbers: [37, 24]
Generated Node #0,2,2: 41:[37, 24] Operation: 2*12=24
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[37, 24], Operations: ['84-72=12', '2*12=24']
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,41 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[37, 14], Operations: ['84-72=12', '2+12=14']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,41 unequal: No Solution
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 37*14=518, Resulting Numbers: [518]
518,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[12, 39], Operations: ['84-72=12', '37+2=39']
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,41 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
|
[
92,
73,
23,
94
] | 17
|
[
"92/23=4",
"94-73=21",
"21-4=17"
] |
Current State: 17:[92, 73, 23, 94], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [73, 94, 4]
Generated Node #2: [73, 94, 4] from Operation: 92/23=4
Current State: 17:[73, 94, 4], Operations: ['92/23=4']
Exploring Operation: 94-73=21, Resulting Numbers: [4, 21]
Generated Node #3: [4, 21] from Operation: 94-73=21
Current State: 17:[4, 21], Operations: ['92/23=4', '94-73=21']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4
|
Current State: 17:[92, 73, 23, 94], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [73, 23, 2]
Generated Node #0,0: 17:[73, 23, 2] Operation: 94-92=2
Exploring Operation: 94-73=21, Resulting Numbers: [92, 23, 21]
Generated Node #0,1: 17:[92, 23, 21] Operation: 94-73=21
Exploring Operation: 92-73=19, Resulting Numbers: [23, 94, 19]
Generated Node #0,2: 17:[23, 94, 19] Operation: 92-73=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[73, 23, 2], Operations: ['94-92=2']
Exploring Operation: 73-2=71, Resulting Numbers: [23, 71]
Generated Node #0,0,0: 17:[23, 71] Operation: 73-2=71
Exploring Operation: 23-2=21, Resulting Numbers: [73, 21]
Generated Node #0,0,1: 17:[73, 21] Operation: 23-2=21
Exploring Operation: 73-23=50, Resulting Numbers: [2, 50]
Generated Node #0,0,2: 17:[2, 50] Operation: 73-23=50
Moving to Node #0,0,2
Current State: 17:[2, 50], Operations: ['94-92=2', '73-23=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,17 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[23, 71], Operations: ['94-92=2', '73-2=71']
Exploring Operation: 23*71=1633, Resulting Numbers: [1633]
1633,17 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 23+71=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[73, 21], Operations: ['94-92=2', '23-2=21']
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 73+21=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Exploring Operation: 73*21=1533, Resulting Numbers: [1533]
1533,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
Current State: 17:[92, 23, 21], Operations: ['94-73=21']
Exploring Operation: 92/23=4, Resulting Numbers: [21, 4]
Generated Node #0,1,0: 17:[21, 4] Operation: 92/23=4
Exploring Operation: 92-23=69, Resulting Numbers: [21, 69]
Generated Node #0,1,1: 17:[21, 69] Operation: 92-23=69
Exploring Operation: 92-21=71, Resulting Numbers: [23, 71]
Generated Node #0,1,2: 17:[23, 71] Operation: 92-21=71
Moving to Node #0,1,0
Current State: 17:[21, 4], Operations: ['94-73=21', '92/23=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[92, 73, 23, 94], Operations: []
Exploring Operation: 94-73=21, Resulting Numbers: [92, 23, 21]
Generated Node #0,1: 17:[92, 23, 21] Operation: 94-73=21
Moving to Node #0,1
Current State: 17:[92, 23, 21], Operations: ['94-73=21']
Exploring Operation: 92/23=4, Resulting Numbers: [21, 4]
Generated Node #0,1,0: 17:[21, 4] Operation: 92/23=4
Moving to Node #0,1,0
Current State: 17:[21, 4], Operations: ['94-73=21', '92/23=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035
|
hs_3
|
sum_heuristic
|
[
17,
29,
69,
26
] | 49
|
[
"17+29=46",
"69+26=95",
"95-46=49"
] |
Current State: 49:[17, 29, 69, 26], Operations: []
Exploring Operation: 17+29=46, Resulting Numbers: [69, 26, 46]
Generated Node #2: [69, 26, 46] from Operation: 17+29=46
Current State: 49:[69, 26, 46], Operations: ['17+29=46']
Exploring Operation: 69+26=95, Resulting Numbers: [46, 95]
Generated Node #3: [46, 95] from Operation: 69+26=95
Current State: 49:[46, 95], Operations: ['17+29=46', '69+26=95']
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4
|
Current State: 49:[17, 29, 69, 26], Operations: []
Exploring Operation: 69-29=40, Resulting Numbers: [17, 26, 40]
Generated Node #0,0: 49:[17, 26, 40] Operation: 69-29=40
Exploring Operation: 69-26=43, Resulting Numbers: [17, 29, 43]
Generated Node #0,1: 49:[17, 29, 43] Operation: 69-26=43
Exploring Operation: 29-26=3, Resulting Numbers: [17, 69, 3]
Generated Node #0,2: 49:[17, 69, 3] Operation: 29-26=3
Exploring Operation: 17+29=46, Resulting Numbers: [69, 26, 46]
Generated Node #0,3: 49:[69, 26, 46] Operation: 17+29=46
Exploring Operation: 29+26=55, Resulting Numbers: [17, 69, 55]
Generated Node #0,4: 49:[17, 69, 55] Operation: 29+26=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[17, 69, 3], Operations: ['29-26=3']
Exploring Operation: 17*3=51, Resulting Numbers: [69, 51]
Generated Node #0,2,0: 49:[69, 51] Operation: 17*3=51
Exploring Operation: 69-3=66, Resulting Numbers: [17, 66]
Generated Node #0,2,1: 49:[17, 66] Operation: 69-3=66
Exploring Operation: 17-3=14, Resulting Numbers: [69, 14]
Generated Node #0,2,2: 49:[69, 14] Operation: 17-3=14
Exploring Operation: 69/3=23, Resulting Numbers: [17, 23]
Generated Node #0,2,3: 49:[17, 23] Operation: 69/3=23
Exploring Operation: 69-17=52, Resulting Numbers: [3, 52]
Generated Node #0,2,4: 49:[3, 52] Operation: 69-17=52
Moving to Node #0,2,4
Current State: 49:[3, 52], Operations: ['29-26=3', '69-17=52']
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,49 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[17, 29, 69, 26], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [17, 69, 3]
Generated Node #0,2: 49:[17, 69, 3] Operation: 29-26=3
Moving to Node #0,2
Current State: 49:[17, 69, 3], Operations: ['29-26=3']
Exploring Operation: 69-17=52, Resulting Numbers: [3, 52]
Generated Node #0,2,4: 49:[3, 52] Operation: 69-17=52
Moving to Node #0,2,4
Current State: 49:[3, 52], Operations: ['29-26=3', '69-17=52']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243
|
hs_5
|
sum_heuristic
|
[
59,
33,
56,
4
] | 15
|
[
"59-56=3",
"33/3=11",
"4+11=15"
] |
Current State: 15:[59, 33, 56, 4], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [33, 4, 3]
Generated Node #2: [33, 4, 3] from Operation: 59-56=3
Current State: 15:[33, 4, 3], Operations: ['59-56=3']
Exploring Operation: 33/3=11, Resulting Numbers: [4, 11]
Generated Node #3: [4, 11] from Operation: 33/3=11
Current State: 15:[4, 11], Operations: ['59-56=3', '33/3=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4
|
Current State: 15:[59, 33, 56, 4], Operations: []
Exploring Operation: 56-33=23, Resulting Numbers: [59, 4, 23]
Generated Node #0,0: 15:[59, 4, 23] Operation: 56-33=23
Exploring Operation: 59-56=3, Resulting Numbers: [33, 4, 3]
Generated Node #0,1: 15:[33, 4, 3] Operation: 59-56=3
Exploring Operation: 59-33=26, Resulting Numbers: [56, 4, 26]
Generated Node #0,2: 15:[56, 4, 26] Operation: 59-33=26
Exploring Operation: 56/4=14, Resulting Numbers: [59, 33, 14]
Generated Node #0,3: 15:[59, 33, 14] Operation: 56/4=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[33, 4, 3], Operations: ['59-56=3']
Exploring Operation: 4+3=7, Resulting Numbers: [33, 7]
Generated Node #0,1,0: 15:[33, 7] Operation: 4+3=7
Exploring Operation: 33-3=30, Resulting Numbers: [4, 30]
Generated Node #0,1,1: 15:[4, 30] Operation: 33-3=30
Exploring Operation: 33-4=29, Resulting Numbers: [3, 29]
Generated Node #0,1,2: 15:[3, 29] Operation: 33-4=29
Exploring Operation: 33/3=11, Resulting Numbers: [4, 11]
Generated Node #0,1,3: 15:[4, 11] Operation: 33/3=11
Moving to Node #0,1,3
Current State: 15:[4, 11], Operations: ['59-56=3', '33/3=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[59, 33, 56, 4], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [33, 4, 3]
Generated Node #0,1: 15:[33, 4, 3] Operation: 59-56=3
Moving to Node #0,1
Current State: 15:[33, 4, 3], Operations: ['59-56=3']
Exploring Operation: 33/3=11, Resulting Numbers: [4, 11]
Generated Node #0,1,3: 15:[4, 11] Operation: 33/3=11
Moving to Node #0,1,3
Current State: 15:[4, 11], Operations: ['59-56=3', '33/3=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847
|
hs_4
|
sum_heuristic
|
[
53,
94,
86,
66
] | 47
|
[
"86-53=33",
"94*33=3102",
"3102/66=47"
] |
Current State: 47:[53, 94, 86, 66], Operations: []
Exploring Operation: 86-53=33, Resulting Numbers: [94, 66, 33]
Generated Node #2: [94, 66, 33] from Operation: 86-53=33
Current State: 47:[94, 66, 33], Operations: ['86-53=33']
Exploring Operation: 94*33=3102, Resulting Numbers: [66, 3102]
Generated Node #3: [66, 3102] from Operation: 94*33=3102
Current State: 47:[66, 3102], Operations: ['86-53=33', '94*33=3102']
Exploring Operation: 3102/66=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4
|
Current State: 47:[53, 94, 86, 66], Operations: []
Exploring Operation: 94-53=41, Resulting Numbers: [86, 66, 41]
Generated Node #0,0: 47:[86, 66, 41] Operation: 94-53=41
Exploring Operation: 94-86=8, Resulting Numbers: [53, 66, 8]
Generated Node #0,1: 47:[53, 66, 8] Operation: 94-86=8
Exploring Operation: 94-66=28, Resulting Numbers: [53, 86, 28]
Generated Node #0,2: 47:[53, 86, 28] Operation: 94-66=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[86, 66, 41], Operations: ['94-53=41']
Exploring Operation: 86-66=20, Resulting Numbers: [41, 20]
Generated Node #0,0,0: 47:[41, 20] Operation: 86-66=20
Exploring Operation: 66-41=25, Resulting Numbers: [86, 25]
Generated Node #0,0,1: 47:[86, 25] Operation: 66-41=25
Exploring Operation: 86-41=45, Resulting Numbers: [66, 45]
Generated Node #0,0,2: 47:[66, 45] Operation: 86-41=45
Moving to Node #0,0,2
Current State: 47:[66, 45], Operations: ['94-53=41', '86-41=45']
Exploring Operation: 66*45=2970, Resulting Numbers: [2970]
2970,47 unequal: No Solution
Exploring Operation: 66+45=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 66-45=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[41, 20], Operations: ['94-53=41', '86-66=20']
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 41*20=820, Resulting Numbers: [820]
820,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[86, 25], Operations: ['94-53=41', '66-41=25']
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 86+25=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 86*25=2150, Resulting Numbers: [2150]
2150,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[53, 66, 8], Operations: ['94-86=8']
Exploring Operation: 53+8=61, Resulting Numbers: [66, 61]
Generated Node #0,1,0: 47:[66, 61] Operation: 53+8=61
Exploring Operation: 53-8=45, Resulting Numbers: [66, 45]
Generated Node #0,1,1: 47:[66, 45] Operation: 53-8=45
Exploring Operation: 66-8=58, Resulting Numbers: [53, 58]
Generated Node #0,1,2: 47:[53, 58] Operation: 66-8=58
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[53, 58], Operations: ['94-86=8', '66-8=58']
Exploring Operation: 53+58=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 53*58=3074, Resulting Numbers: [3074]
3074,47 unequal: No Solution
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[66, 45], Operations: ['94-86=8', '53-8=45']
Exploring Operation: 66*45=2970, Resulting Numbers: [2970]
2970,47 unequal: No Solution
Exploring Operation: 66-45=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Exploring Operation: 66+45=111, Resulting Numbers: [111]
111,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[66, 61], Operations: ['94-86=8', '53+8=61']
Exploring Operation: 66+61=127, Resulting Numbers: [127]
127,47 unequal: No Solution
Exploring Operation: 66-61=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 66*61=4026, Resulting Numbers: [4026]
4026,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:[53, 86, 28], Operations: ['94-66=28']
Exploring Operation: 86-28=58, Resulting Numbers: [53, 58]
Generated Node #0,2,0: 47:[53, 58] Operation: 86-28=58
Exploring Operation: 86-53=33, Resulting Numbers: [28, 33]
Generated Node #0,2,1: 47:[28, 33] Operation: 86-53=33
Exploring Operation: 53-28=25, Resulting Numbers: [86, 25]
Generated Node #0,2,2: 47:[86, 25] Operation: 53-28=25
Moving to Node #0,2,0
Current State: 47:[53, 58], Operations: ['94-66=28', '86-28=58']
Exploring Operation: 53*58=3074, Resulting Numbers: [3074]
3074,47 unequal: No Solution
Exploring Operation: 53+58=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[28, 33], Operations: ['94-66=28', '86-53=33']
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 28*33=924, Resulting Numbers: [924]
924,47 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[86, 25], Operations: ['94-66=28', '53-28=25']
Exploring Operation: 86*25=2150, Resulting Numbers: [2150]
2150,47 unequal: No Solution
Exploring Operation: 86+25=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,47 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
|
[
24,
28,
18,
56
] | 78
|
[
"28-24=4",
"18+56=74",
"4+74=78"
] |
Current State: 78:[24, 28, 18, 56], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [18, 56, 4]
Generated Node #2: [18, 56, 4] from Operation: 28-24=4
Current State: 78:[18, 56, 4], Operations: ['28-24=4']
Exploring Operation: 18+56=74, Resulting Numbers: [4, 74]
Generated Node #3: [4, 74] from Operation: 18+56=74
Current State: 78:[4, 74], Operations: ['28-24=4', '18+56=74']
Exploring Operation: 4+74=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4
|
Current State: 78:[24, 28, 18, 56], Operations: []
Exploring Operation: 56-18=38, Resulting Numbers: [24, 28, 38]
Generated Node #0,0: 78:[24, 28, 38] Operation: 56-18=38
Exploring Operation: 56/28=2, Resulting Numbers: [24, 18, 2]
Generated Node #0,1: 78:[24, 18, 2] Operation: 56/28=2
Moving to Node #0,0
Current State: 78:[24, 28, 38], Operations: ['56-18=38']
Exploring Operation: 28-24=4, Resulting Numbers: [38, 4]
Generated Node #0,0,0: 78:[38, 4] Operation: 28-24=4
Exploring Operation: 38-24=14, Resulting Numbers: [28, 14]
Generated Node #0,0,1: 78:[28, 14] Operation: 38-24=14
Moving to Node #0,1
Current State: 78:[24, 18, 2], Operations: ['56/28=2']
Exploring Operation: 24+18=42, Resulting Numbers: [2, 42]
Generated Node #0,1,0: 78:[2, 42] Operation: 24+18=42
Exploring Operation: 24-18=6, Resulting Numbers: [2, 6]
Generated Node #0,1,1: 78:[2, 6] Operation: 24-18=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[2, 6], Operations: ['56/28=2', '24-18=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[2, 42], Operations: ['56/28=2', '24+18=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,78 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,78 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: 78:[38, 4], Operations: ['56-18=38', '28-24=4']
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[28, 14], Operations: ['56-18=38', '38-24=14']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,78 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
94,
20,
73,
26
] | 22
|
[
"73-26=47",
"94/47=2",
"20+2=22"
] |
Current State: 22:[94, 20, 73, 26], Operations: []
Exploring Operation: 73-26=47, Resulting Numbers: [94, 20, 47]
Generated Node #2: [94, 20, 47] from Operation: 73-26=47
Current State: 22:[94, 20, 47], Operations: ['73-26=47']
Exploring Operation: 94/47=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 94/47=2
Current State: 22:[20, 2], Operations: ['73-26=47', '94/47=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4
|
Current State: 22:[94, 20, 73, 26], Operations: []
Exploring Operation: 94-26=68, Resulting Numbers: [20, 73, 68]
Generated Node #0,0: 22:[20, 73, 68] Operation: 94-26=68
Exploring Operation: 94-73=21, Resulting Numbers: [20, 26, 21]
Generated Node #0,1: 22:[20, 26, 21] Operation: 94-73=21
Moving to Node #0,1
Current State: 22:[20, 26, 21], Operations: ['94-73=21']
Exploring Operation: 26-20=6, Resulting Numbers: [21, 6]
Generated Node #0,1,0: 22:[21, 6] Operation: 26-20=6
Exploring Operation: 21-20=1, Resulting Numbers: [26, 1]
Generated Node #0,1,1: 22:[26, 1] Operation: 21-20=1
Moving to Node #0,0
Current State: 22:[20, 73, 68], Operations: ['94-26=68']
Exploring Operation: 73-68=5, Resulting Numbers: [20, 5]
Generated Node #0,0,0: 22:[20, 5] Operation: 73-68=5
Exploring Operation: 73-20=53, Resulting Numbers: [68, 53]
Generated Node #0,0,1: 22:[68, 53] Operation: 73-20=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[20, 5], Operations: ['94-26=68', '73-68=5']
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[68, 53], Operations: ['94-26=68', '73-20=53']
Exploring Operation: 68+53=121, Resulting Numbers: [121]
121,22 unequal: No Solution
Exploring Operation: 68-53=15, Resulting Numbers: [15]
15,22 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: 22:[21, 6], Operations: ['94-73=21', '26-20=6']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[26, 1], Operations: ['94-73=21', '21-20=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,22 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
92,
59,
99,
48
] | 18
|
[
"92-59=33",
"99-48=51",
"51-33=18"
] |
Current State: 18:[92, 59, 99, 48], Operations: []
Exploring Operation: 92-59=33, Resulting Numbers: [99, 48, 33]
Generated Node #2: [99, 48, 33] from Operation: 92-59=33
Current State: 18:[99, 48, 33], Operations: ['92-59=33']
Exploring Operation: 99-48=51, Resulting Numbers: [33, 51]
Generated Node #3: [33, 51] from Operation: 99-48=51
Current State: 18:[33, 51], Operations: ['92-59=33', '99-48=51']
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4
|
Current State: 18:[92, 59, 99, 48], Operations: []
Exploring Operation: 92-59=33, Resulting Numbers: [99, 48, 33]
Generated Node #0,0: 18:[99, 48, 33] Operation: 92-59=33
Exploring Operation: 92-48=44, Resulting Numbers: [59, 99, 44]
Generated Node #0,1: 18:[59, 99, 44] Operation: 92-48=44
Exploring Operation: 99-59=40, Resulting Numbers: [92, 48, 40]
Generated Node #0,2: 18:[92, 48, 40] Operation: 99-59=40
Exploring Operation: 99-92=7, Resulting Numbers: [59, 48, 7]
Generated Node #0,3: 18:[59, 48, 7] Operation: 99-92=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 18:[59, 48, 7], Operations: ['99-92=7']
Exploring Operation: 59+7=66, Resulting Numbers: [48, 66]
Generated Node #0,3,0: 18:[48, 66] Operation: 59+7=66
Exploring Operation: 59-7=52, Resulting Numbers: [48, 52]
Generated Node #0,3,1: 18:[48, 52] Operation: 59-7=52
Exploring Operation: 59-48=11, Resulting Numbers: [7, 11]
Generated Node #0,3,2: 18:[7, 11] Operation: 59-48=11
Exploring Operation: 48-7=41, Resulting Numbers: [59, 41]
Generated Node #0,3,3: 18:[59, 41] Operation: 48-7=41
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 18:[7, 11], Operations: ['99-92=7', '59-48=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,18 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[92, 59, 99, 48], Operations: []
Exploring Operation: 99-92=7, Resulting Numbers: [59, 48, 7]
Generated Node #0,3: 18:[59, 48, 7] Operation: 99-92=7
Moving to Node #0,3
Current State: 18:[59, 48, 7], Operations: ['99-92=7']
Exploring Operation: 59-48=11, Resulting Numbers: [7, 11]
Generated Node #0,3,2: 18:[7, 11] Operation: 59-48=11
Moving to Node #0,3,2
Current State: 18:[7, 11], Operations: ['99-92=7', '59-48=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847
|
hs_4
|
sum_heuristic
|
[
70,
49,
51,
88
] | 58
|
[
"70-49=21",
"88-51=37",
"21+37=58"
] |
Current State: 58:[70, 49, 51, 88], Operations: []
Exploring Operation: 70-49=21, Resulting Numbers: [51, 88, 21]
Generated Node #2: [51, 88, 21] from Operation: 70-49=21
Current State: 58:[51, 88, 21], Operations: ['70-49=21']
Exploring Operation: 88-51=37, Resulting Numbers: [21, 37]
Generated Node #3: [21, 37] from Operation: 88-51=37
Current State: 58:[21, 37], Operations: ['70-49=21', '88-51=37']
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4
|
Current State: 58:[70, 49, 51, 88], Operations: []
Exploring Operation: 88-70=18, Resulting Numbers: [49, 51, 18]
Generated Node #0,0: 58:[49, 51, 18] Operation: 88-70=18
Exploring Operation: 51-49=2, Resulting Numbers: [70, 88, 2]
Generated Node #0,1: 58:[70, 88, 2] Operation: 51-49=2
Exploring Operation: 88-51=37, Resulting Numbers: [70, 49, 37]
Generated Node #0,2: 58:[70, 49, 37] Operation: 88-51=37
Exploring Operation: 88-49=39, Resulting Numbers: [70, 51, 39]
Generated Node #0,3: 58:[70, 51, 39] Operation: 88-49=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[49, 51, 18], Operations: ['88-70=18']
Exploring Operation: 49+18=67, Resulting Numbers: [51, 67]
Generated Node #0,0,0: 58:[51, 67] Operation: 49+18=67
Exploring Operation: 51-49=2, Resulting Numbers: [18, 2]
Generated Node #0,0,1: 58:[18, 2] Operation: 51-49=2
Exploring Operation: 51-18=33, Resulting Numbers: [49, 33]
Generated Node #0,0,2: 58:[49, 33] Operation: 51-18=33
Exploring Operation: 49-18=31, Resulting Numbers: [51, 31]
Generated Node #0,0,3: 58:[51, 31] Operation: 49-18=31
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 58:[51, 31], Operations: ['88-70=18', '49-18=31']
Exploring Operation: 51*31=1581, Resulting Numbers: [1581]
1581,58 unequal: No Solution
Exploring Operation: 51+31=82, Resulting Numbers: [82]
82,58 unequal: No Solution
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,58 unequal: No Solution
No 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: 58:[18, 2], Operations: ['88-70=18', '51-49=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,58 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,58 unequal: No Solution
No 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: 58:[49, 33], Operations: ['88-70=18', '51-18=33']
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,58 unequal: No Solution
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,58 unequal: No Solution
No 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: 58:[51, 67], Operations: ['88-70=18', '49+18=67']
Exploring Operation: 51+67=118, Resulting Numbers: [118]
118,58 unequal: No Solution
Exploring Operation: 67-51=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Exploring Operation: 51*67=3417, Resulting Numbers: [3417]
3417,58 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: 58:[70, 49, 37], Operations: ['88-51=37']
Exploring Operation: 70-49=21, Resulting Numbers: [37, 21]
Generated Node #0,2,0: 58:[37, 21] Operation: 70-49=21
Exploring Operation: 49-37=12, Resulting Numbers: [70, 12]
Generated Node #0,2,1: 58:[70, 12] Operation: 49-37=12
Exploring Operation: 70-37=33, Resulting Numbers: [49, 33]
Generated Node #0,2,2: 58:[49, 33] Operation: 70-37=33
Exploring Operation: 49+37=86, Resulting Numbers: [70, 86]
Generated Node #0,2,3: 58:[70, 86] Operation: 49+37=86
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 58:[49, 33], Operations: ['88-51=37', '70-37=33']
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,58 unequal: No Solution
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,58 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,58 unequal: No Solution
No 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: 58:[37, 21], Operations: ['88-51=37', '70-49=21']
Exploring Operation: 37*21=777, Resulting Numbers: [777]
777,58 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[70, 49, 51, 88], Operations: []
Exploring Operation: 88-51=37, Resulting Numbers: [70, 49, 37]
Generated Node #0,2: 58:[70, 49, 37] Operation: 88-51=37
Moving to Node #0,2
Current State: 58:[70, 49, 37], Operations: ['88-51=37']
Exploring Operation: 70-49=21, Resulting Numbers: [37, 21]
Generated Node #0,2,0: 58:[37, 21] Operation: 70-49=21
Moving to Node #0,2,0
Current State: 58:[37, 21], Operations: ['88-51=37', '70-49=21']
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618
|
hs_4
|
sum_heuristic
|
[
3,
2,
61,
75
] | 71
|
[
"61+75=136",
"136/2=68",
"3+68=71"
] |
Current State: 71:[3, 2, 61, 75], Operations: []
Exploring Operation: 61+75=136, Resulting Numbers: [3, 2, 136]
Generated Node #2: [3, 2, 136] from Operation: 61+75=136
Current State: 71:[3, 2, 136], Operations: ['61+75=136']
Exploring Operation: 136/2=68, Resulting Numbers: [3, 68]
Generated Node #3: [3, 68] from Operation: 136/2=68
Current State: 71:[3, 68], Operations: ['61+75=136', '136/2=68']
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4
|
Current State: 71:[3, 2, 61, 75], Operations: []
Exploring Operation: 3+61=64, Resulting Numbers: [2, 75, 64]
Generated Node #0,0: 71:[2, 75, 64] Operation: 3+61=64
Exploring Operation: 3*2=6, Resulting Numbers: [61, 75, 6]
Generated Node #0,1: 71:[61, 75, 6] Operation: 3*2=6
Exploring Operation: 75-3=72, Resulting Numbers: [2, 61, 72]
Generated Node #0,2: 71:[2, 61, 72] Operation: 75-3=72
Exploring Operation: 3+2=5, Resulting Numbers: [61, 75, 5]
Generated Node #0,3: 71:[61, 75, 5] Operation: 3+2=5
Exploring Operation: 2+61=63, Resulting Numbers: [3, 75, 63]
Generated Node #0,4: 71:[3, 75, 63] Operation: 2+61=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[61, 75, 6], Operations: ['3*2=6']
Exploring Operation: 61-6=55, Resulting Numbers: [75, 55]
Generated Node #0,1,0: 71:[75, 55] Operation: 61-6=55
Exploring Operation: 75+6=81, Resulting Numbers: [61, 81]
Generated Node #0,1,1: 71:[61, 81] Operation: 75+6=81
Exploring Operation: 61+6=67, Resulting Numbers: [75, 67]
Generated Node #0,1,2: 71:[75, 67] Operation: 61+6=67
Exploring Operation: 75-6=69, Resulting Numbers: [61, 69]
Generated Node #0,1,3: 71:[61, 69] Operation: 75-6=69
Exploring Operation: 75-61=14, Resulting Numbers: [6, 14]
Generated Node #0,1,4: 71:[6, 14] Operation: 75-61=14
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[75, 67], Operations: ['3*2=6', '61+6=67']
Exploring Operation: 75-67=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 75+67=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 75*67=5025, Resulting Numbers: [5025]
5025,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 71:[61, 69], Operations: ['3*2=6', '75-6=69']
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 61*69=4209, Resulting Numbers: [4209]
4209,71 unequal: No Solution
Exploring Operation: 61+69=130, Resulting Numbers: [130]
130,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[75, 55], Operations: ['3*2=6', '61-6=55']
Exploring Operation: 75-55=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 75+55=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 75*55=4125, Resulting Numbers: [4125]
4125,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[61, 81], Operations: ['3*2=6', '75+6=81']
Exploring Operation: 61+81=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 61*81=4941, Resulting Numbers: [4941]
4941,71 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 71:[6, 14], Operations: ['3*2=6', '75-61=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[2, 75, 64], Operations: ['3+61=64']
Exploring Operation: 64-2=62, Resulting Numbers: [75, 62]
Generated Node #0,0,0: 71:[75, 62] Operation: 64-2=62
Exploring Operation: 2+64=66, Resulting Numbers: [75, 66]
Generated Node #0,0,1: 71:[75, 66] Operation: 2+64=66
Exploring Operation: 64/2=32, Resulting Numbers: [75, 32]
Generated Node #0,0,2: 71:[75, 32] Operation: 64/2=32
Exploring Operation: 2+75=77, Resulting Numbers: [64, 77]
Generated Node #0,0,3: 71:[64, 77] Operation: 2+75=77
Exploring Operation: 75-2=73, Resulting Numbers: [64, 73]
Generated Node #0,0,4: 71:[64, 73] Operation: 75-2=73
Moving to Node #0,0,1
Current State: 71:[75, 66], Operations: ['3+61=64', '2+64=66']
Exploring Operation: 75+66=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Exploring Operation: 75*66=4950, Resulting Numbers: [4950]
4950,71 unequal: No Solution
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Moving to Node #0,0,4
Current State: 71:[64, 73], Operations: ['3+61=64', '75-2=73']
Exploring Operation: 64+73=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 64*73=4672, Resulting Numbers: [4672]
4672,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[75, 62], Operations: ['3+61=64', '64-2=62']
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 75+62=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 75*62=4650, Resulting Numbers: [4650]
4650,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[64, 77], Operations: ['3+61=64', '2+75=77']
Exploring Operation: 77-64=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 64*77=4928, Resulting Numbers: [4928]
4928,71 unequal: No Solution
Exploring Operation: 64+77=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[75, 32], Operations: ['3+61=64', '64/2=32']
Exploring Operation: 75*32=2400, Resulting Numbers: [2400]
2400,71 unequal: No Solution
Exploring Operation: 75+32=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[2, 61, 72], Operations: ['75-3=72']
Exploring Operation: 61-2=59, Resulting Numbers: [72, 59]
Generated Node #0,2,0: 71:[72, 59] Operation: 61-2=59
Exploring Operation: 72-2=70, Resulting Numbers: [61, 70]
Generated Node #0,2,1: 71:[61, 70] Operation: 72-2=70
Exploring Operation: 72/2=36, Resulting Numbers: [61, 36]
Generated Node #0,2,2: 71:[61, 36] Operation: 72/2=36
Exploring Operation: 2+72=74, Resulting Numbers: [61, 74]
Generated Node #0,2,3: 71:[61, 74] Operation: 2+72=74
Exploring Operation: 2+61=63, Resulting Numbers: [72, 63]
Generated Node #0,2,4: 71:[72, 63] Operation: 2+61=63
Moving to Node #0,2,4
Current State: 71:[72, 63], Operations: ['75-3=72', '2+61=63']
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,71 unequal: No Solution
Exploring Operation: 72*63=4536, Resulting Numbers: [4536]
4536,71 unequal: No Solution
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[61, 70], Operations: ['75-3=72', '72-2=70']
Exploring Operation: 61+70=131, Resulting Numbers: [131]
131,71 unequal: No Solution
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 61*70=4270, Resulting Numbers: [4270]
4270,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[72, 59], Operations: ['75-3=72', '61-2=59']
Exploring Operation: 72+59=131, Resulting Numbers: [131]
131,71 unequal: No Solution
Exploring Operation: 72*59=4248, Resulting Numbers: [4248]
4248,71 unequal: No Solution
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[61, 74], Operations: ['75-3=72', '2+72=74']
Exploring Operation: 61+74=135, Resulting Numbers: [135]
135,71 unequal: No Solution
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 61*74=4514, Resulting Numbers: [4514]
4514,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[61, 36], Operations: ['75-3=72', '72/2=36']
Exploring Operation: 61*36=2196, Resulting Numbers: [2196]
2196,71 unequal: No Solution
Exploring Operation: 61+36=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[61, 75, 5], Operations: ['3+2=5']
Exploring Operation: 75-5=70, Resulting Numbers: [61, 70]
Generated Node #0,3,0: 71:[61, 70] Operation: 75-5=70
Exploring Operation: 75/5=15, Resulting Numbers: [61, 15]
Generated Node #0,3,1: 71:[61, 15] Operation: 75/5=15
Exploring Operation: 61-5=56, Resulting Numbers: [75, 56]
Generated Node #0,3,2: 71:[75, 56] Operation: 61-5=56
Exploring Operation: 61+5=66, Resulting Numbers: [75, 66]
Generated Node #0,3,3: 71:[75, 66] Operation: 61+5=66
Exploring Operation: 75+5=80, Resulting Numbers: [61, 80]
Generated Node #0,3,4: 71:[61, 80] Operation: 75+5=80
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 71:[75, 66], Operations: ['3+2=5', '61+5=66']
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 75*66=4950, Resulting Numbers: [4950]
4950,71 unequal: No Solution
Exploring Operation: 75+66=141, Resulting Numbers: [141]
141,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 71:[61, 70], Operations: ['3+2=5', '75-5=70']
Exploring Operation: 61+70=131, Resulting Numbers: [131]
131,71 unequal: No Solution
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 61*70=4270, Resulting Numbers: [4270]
4270,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 71:[75, 56], Operations: ['3+2=5', '61-5=56']
Exploring Operation: 75+56=131, Resulting Numbers: [131]
131,71 unequal: No Solution
Exploring Operation: 75-56=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 75*56=4200, Resulting Numbers: [4200]
4200,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 71:[61, 80], Operations: ['3+2=5', '75+5=80']
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 61*80=4880, Resulting Numbers: [4880]
4880,71 unequal: No Solution
Exploring Operation: 61+80=141, Resulting Numbers: [141]
141,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 71:[61, 15], Operations: ['3+2=5', '75/5=15']
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,71 unequal: No Solution
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,71 unequal: No Solution
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 71:[3, 75, 63], Operations: ['2+61=63']
Exploring Operation: 3+63=66, Resulting Numbers: [75, 66]
Generated Node #0,4,0: 71:[75, 66] Operation: 3+63=66
Exploring Operation: 75/3=25, Resulting Numbers: [63, 25]
Generated Node #0,4,1: 71:[63, 25] Operation: 75/3=25
Exploring Operation: 75-3=72, Resulting Numbers: [63, 72]
Generated Node #0,4,2: 71:[63, 72] Operation: 75-3=72
Exploring Operation: 3+75=78, Resulting Numbers: [63, 78]
Generated Node #0,4,3: 71:[63, 78] Operation: 3+75=78
Exploring Operation: 63-3=60, Resulting Numbers: [75, 60]
Generated Node #0,4,4: 71:[75, 60] Operation: 63-3=60
Moving to Node #0,4,0
Current State: 71:[75, 66], Operations: ['2+61=63', '3+63=66']
Exploring Operation: 75*66=4950, Resulting Numbers: [4950]
4950,71 unequal: No Solution
Exploring Operation: 75+66=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Moving to Node #0,4,2
Current State: 71:[63, 72], Operations: ['2+61=63', '75-3=72']
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,71 unequal: No Solution
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 63*72=4536, Resulting Numbers: [4536]
4536,71 unequal: No Solution
Moving to Node #0,4,3
Current State: 71:[63, 78], Operations: ['2+61=63', '3+75=78']
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 63*78=4914, Resulting Numbers: [4914]
4914,71 unequal: No Solution
Exploring Operation: 63+78=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Moving to Node #0,4,4
Current State: 71:[75, 60], Operations: ['2+61=63', '63-3=60']
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 75+60=135, Resulting Numbers: [135]
135,71 unequal: No Solution
Exploring Operation: 75*60=4500, Resulting Numbers: [4500]
4500,71 unequal: No Solution
Moving to Node #0,4,1
Current State: 71:[63, 25], Operations: ['2+61=63', '75/3=25']
Exploring Operation: 63+25=88, Resulting Numbers: [88]
88,71 unequal: No Solution
Exploring Operation: 63*25=1575, Resulting Numbers: [1575]
1575,71 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,71 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
|
[
29,
62,
77,
83
] | 85
|
[
"29+62=91",
"83-77=6",
"91-6=85"
] |
Current State: 85:[29, 62, 77, 83], Operations: []
Exploring Operation: 29+62=91, Resulting Numbers: [77, 83, 91]
Generated Node #2: [77, 83, 91] from Operation: 29+62=91
Current State: 85:[77, 83, 91], Operations: ['29+62=91']
Exploring Operation: 83-77=6, Resulting Numbers: [91, 6]
Generated Node #3: [91, 6] from Operation: 83-77=6
Current State: 85:[91, 6], Operations: ['29+62=91', '83-77=6']
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[29, 62, 77, 83], Operations: []
Exploring Operation: 29+62=91, Resulting Numbers: [77, 83, 91]
Generated Node #0,0: 85:[77, 83, 91] Operation: 29+62=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[77, 83, 91], Operations: ['29+62=91']
Exploring Operation: 91-77=14, Resulting Numbers: [83, 14]
Generated Node #0,0,0: 85:[83, 14] Operation: 91-77=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[83, 14], Operations: ['29+62=91', '91-77=14']
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
38,
46,
57,
90
] | 66
|
[
"90-46=44",
"57*44=2508",
"2508/38=66"
] |
Current State: 66:[38, 46, 57, 90], Operations: []
Exploring Operation: 90-46=44, Resulting Numbers: [38, 57, 44]
Generated Node #2: [38, 57, 44] from Operation: 90-46=44
Current State: 66:[38, 57, 44], Operations: ['90-46=44']
Exploring Operation: 57*44=2508, Resulting Numbers: [38, 2508]
Generated Node #3: [38, 2508] from Operation: 57*44=2508
Current State: 66:[38, 2508], Operations: ['90-46=44', '57*44=2508']
Exploring Operation: 2508/38=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4
|
Current State: 66:[38, 46, 57, 90], Operations: []
Exploring Operation: 90-46=44, Resulting Numbers: [38, 57, 44]
Generated Node #0,0: 66:[38, 57, 44] Operation: 90-46=44
Exploring Operation: 90-57=33, Resulting Numbers: [38, 46, 33]
Generated Node #0,1: 66:[38, 46, 33] Operation: 90-57=33
Moving to Node #0,1
Current State: 66:[38, 46, 33], Operations: ['90-57=33']
Exploring Operation: 46-33=13, Resulting Numbers: [38, 13]
Generated Node #0,1,0: 66:[38, 13] Operation: 46-33=13
Exploring Operation: 46-38=8, Resulting Numbers: [33, 8]
Generated Node #0,1,1: 66:[33, 8] Operation: 46-38=8
Moving to Node #0,0
Current State: 66:[38, 57, 44], Operations: ['90-46=44']
Exploring Operation: 44-38=6, Resulting Numbers: [57, 6]
Generated Node #0,0,0: 66:[57, 6] Operation: 44-38=6
Exploring Operation: 57-44=13, Resulting Numbers: [38, 13]
Generated Node #0,0,1: 66:[38, 13] Operation: 57-44=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[38, 13], Operations: ['90-46=44', '57-44=13']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[57, 6], Operations: ['90-46=44', '44-38=6']
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,66 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 66:[33, 8], Operations: ['90-57=33', '46-38=8']
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,66 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[38, 13], Operations: ['90-57=33', '46-33=13']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,66 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
78,
65,
46,
4
] | 93
|
[
"78+65=143",
"46+4=50",
"143-50=93"
] |
Current State: 93:[78, 65, 46, 4], Operations: []
Exploring Operation: 78+65=143, Resulting Numbers: [46, 4, 143]
Generated Node #2: [46, 4, 143] from Operation: 78+65=143
Current State: 93:[46, 4, 143], Operations: ['78+65=143']
Exploring Operation: 46+4=50, Resulting Numbers: [143, 50]
Generated Node #3: [143, 50] from Operation: 46+4=50
Current State: 93:[143, 50], Operations: ['78+65=143', '46+4=50']
Exploring Operation: 143-50=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4
|
Current State: 93:[78, 65, 46, 4], Operations: []
Exploring Operation: 78-65=13, Resulting Numbers: [46, 4, 13]
Generated Node #0,0: 93:[46, 4, 13] Operation: 78-65=13
Exploring Operation: 65-46=19, Resulting Numbers: [78, 4, 19]
Generated Node #0,1: 93:[78, 4, 19] Operation: 65-46=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[46, 4, 13], Operations: ['78-65=13']
Exploring Operation: 46-13=33, Resulting Numbers: [4, 33]
Generated Node #0,0,0: 93:[4, 33] Operation: 46-13=33
Exploring Operation: 46-4=42, Resulting Numbers: [13, 42]
Generated Node #0,0,1: 93:[13, 42] Operation: 46-4=42
Moving to Node #0,0,0
Current State: 93:[4, 33], Operations: ['78-65=13', '46-13=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[13, 42], Operations: ['78-65=13', '46-4=42']
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,93 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[78, 4, 19], Operations: ['65-46=19']
Exploring Operation: 78+19=97, Resulting Numbers: [4, 97]
Generated Node #0,1,0: 93:[4, 97] Operation: 78+19=97
Exploring Operation: 78+4=82, Resulting Numbers: [19, 82]
Generated Node #0,1,1: 93:[19, 82] Operation: 78+4=82
Moving to Node #0,1,0
Current State: 93:[4, 97], Operations: ['65-46=19', '78+19=97']
Exploring Operation: 4+97=101, Resulting Numbers: [101]
101,93 unequal: No Solution
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[78, 65, 46, 4], Operations: []
Exploring Operation: 65-46=19, Resulting Numbers: [78, 4, 19]
Generated Node #0,1: 93:[78, 4, 19] Operation: 65-46=19
Moving to Node #0,1
Current State: 93:[78, 4, 19], Operations: ['65-46=19']
Exploring Operation: 78+19=97, Resulting Numbers: [4, 97]
Generated Node #0,1,0: 93:[4, 97] Operation: 78+19=97
Moving to Node #0,1,0
Current State: 93:[4, 97], Operations: ['65-46=19', '78+19=97']
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111
|
hs_2
|
mult_heuristic
|
[
29,
66,
30,
21
] | 69
|
[
"66*30=1980",
"21+1980=2001",
"2001/29=69"
] |
Current State: 69:[29, 66, 30, 21], Operations: []
Exploring Operation: 66*30=1980, Resulting Numbers: [29, 21, 1980]
Generated Node #2: [29, 21, 1980] from Operation: 66*30=1980
Current State: 69:[29, 21, 1980], Operations: ['66*30=1980']
Exploring Operation: 21+1980=2001, Resulting Numbers: [29, 2001]
Generated Node #3: [29, 2001] from Operation: 21+1980=2001
Current State: 69:[29, 2001], Operations: ['66*30=1980', '21+1980=2001']
Exploring Operation: 2001/29=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4
|
Current State: 69:[29, 66, 30, 21], Operations: []
Exploring Operation: 29-21=8, Resulting Numbers: [66, 30, 8]
Generated Node #0,0: 69:[66, 30, 8] Operation: 29-21=8
Exploring Operation: 66-30=36, Resulting Numbers: [29, 21, 36]
Generated Node #0,1: 69:[29, 21, 36] Operation: 66-30=36
Exploring Operation: 30-21=9, Resulting Numbers: [29, 66, 9]
Generated Node #0,2: 69:[29, 66, 9] Operation: 30-21=9
Exploring Operation: 30-29=1, Resulting Numbers: [66, 21, 1]
Generated Node #0,3: 69:[66, 21, 1] Operation: 30-29=1
Exploring Operation: 29+30=59, Resulting Numbers: [66, 21, 59]
Generated Node #0,4: 69:[66, 21, 59] Operation: 29+30=59
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[66, 21, 1], Operations: ['30-29=1']
Exploring Operation: 66*1=66, Resulting Numbers: [21, 66]
Generated Node #0,3,0: 69:[21, 66] Operation: 66*1=66
Exploring Operation: 21*1=21, Resulting Numbers: [66, 21]
Generated Node #0,3,1: 69:[66, 21] Operation: 21*1=21
Exploring Operation: 66/1=66, Resulting Numbers: [21, 66]
Generated Node #0,3,2: 69:[21, 66] Operation: 66/1=66
Exploring Operation: 66+1=67, Resulting Numbers: [21, 67]
Generated Node #0,3,3: 69:[21, 67] Operation: 66+1=67
Exploring Operation: 21+1=22, Resulting Numbers: [66, 22]
Generated Node #0,3,4: 69:[66, 22] Operation: 21+1=22
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 69:[21, 67], Operations: ['30-29=1', '66+1=67']
Exploring Operation: 67-21=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Exploring Operation: 21*67=1407, Resulting Numbers: [1407]
1407,69 unequal: No Solution
Exploring Operation: 21+67=88, Resulting Numbers: [88]
88,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 69:[66, 22], Operations: ['30-29=1', '21+1=22']
Exploring Operation: 66*22=1452, Resulting Numbers: [1452]
1452,69 unequal: No Solution
Exploring Operation: 66+22=88, Resulting Numbers: [88]
88,69 unequal: No Solution
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 69:[21, 66], Operations: ['30-29=1', '66*1=66']
Exploring Operation: 21+66=87, Resulting Numbers: [87]
87,69 unequal: No Solution
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Exploring Operation: 21*66=1386, Resulting Numbers: [1386]
1386,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 69:[66, 21], Operations: ['30-29=1', '21*1=21']
Exploring Operation: 66+21=87, Resulting Numbers: [87]
87,69 unequal: No Solution
Exploring Operation: 66*21=1386, Resulting Numbers: [1386]
1386,69 unequal: No Solution
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 69:[21, 66], Operations: ['30-29=1', '66/1=66']
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Exploring Operation: 21*66=1386, Resulting Numbers: [1386]
1386,69 unequal: No Solution
Exploring Operation: 21+66=87, Resulting Numbers: [87]
87,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[66, 30, 8], Operations: ['29-21=8']
Exploring Operation: 66-8=58, Resulting Numbers: [30, 58]
Generated Node #0,0,0: 69:[30, 58] Operation: 66-8=58
Exploring Operation: 30-8=22, Resulting Numbers: [66, 22]
Generated Node #0,0,1: 69:[66, 22] Operation: 30-8=22
Exploring Operation: 30+8=38, Resulting Numbers: [66, 38]
Generated Node #0,0,2: 69:[66, 38] Operation: 30+8=38
Exploring Operation: 66+8=74, Resulting Numbers: [30, 74]
Generated Node #0,0,3: 69:[30, 74] Operation: 66+8=74
Exploring Operation: 66-30=36, Resulting Numbers: [8, 36]
Generated Node #0,0,4: 69:[8, 36] Operation: 66-30=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[66, 22], Operations: ['29-21=8', '30-8=22']
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 66+22=88, Resulting Numbers: [88]
88,69 unequal: No Solution
Exploring Operation: 66*22=1452, Resulting Numbers: [1452]
1452,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 69:[30, 74], Operations: ['29-21=8', '66+8=74']
Exploring Operation: 30*74=2220, Resulting Numbers: [2220]
2220,69 unequal: No Solution
Exploring Operation: 30+74=104, Resulting Numbers: [104]
104,69 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[30, 58], Operations: ['29-21=8', '66-8=58']
Exploring Operation: 30*58=1740, Resulting Numbers: [1740]
1740,69 unequal: No Solution
Exploring Operation: 30+58=88, Resulting Numbers: [88]
88,69 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 69:[66, 38], Operations: ['29-21=8', '30+8=38']
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,69 unequal: No Solution
Exploring Operation: 66*38=2508, Resulting Numbers: [2508]
2508,69 unequal: No Solution
Exploring Operation: 66+38=104, Resulting Numbers: [104]
104,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 69:[8, 36], Operations: ['29-21=8', '66-30=36']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,69 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,69 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[29, 66, 9], Operations: ['30-21=9']
Exploring Operation: 29-9=20, Resulting Numbers: [66, 20]
Generated Node #0,2,0: 69:[66, 20] Operation: 29-9=20
Exploring Operation: 66+9=75, Resulting Numbers: [29, 75]
Generated Node #0,2,1: 69:[29, 75] Operation: 66+9=75
Exploring Operation: 66-9=57, Resulting Numbers: [29, 57]
Generated Node #0,2,2: 69:[29, 57] Operation: 66-9=57
Exploring Operation: 66-29=37, Resulting Numbers: [9, 37]
Generated Node #0,2,3: 69:[9, 37] Operation: 66-29=37
Exploring Operation: 29+9=38, Resulting Numbers: [66, 38]
Generated Node #0,2,4: 69:[66, 38] Operation: 29+9=38
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 69:[66, 20], Operations: ['30-21=9', '29-9=20']
Exploring Operation: 66+20=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Exploring Operation: 66*20=1320, Resulting Numbers: [1320]
1320,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 69:[29, 75], Operations: ['30-21=9', '66+9=75']
Exploring Operation: 29+75=104, Resulting Numbers: [104]
104,69 unequal: No Solution
Exploring Operation: 29*75=2175, Resulting Numbers: [2175]
2175,69 unequal: No Solution
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 69:[29, 57], Operations: ['30-21=9', '66-9=57']
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,69 unequal: No Solution
Exploring Operation: 29*57=1653, Resulting Numbers: [1653]
1653,69 unequal: No Solution
Exploring Operation: 29+57=86, Resulting Numbers: [86]
86,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 69:[66, 38], Operations: ['30-21=9', '29+9=38']
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,69 unequal: No Solution
Exploring Operation: 66+38=104, Resulting Numbers: [104]
104,69 unequal: No Solution
Exploring Operation: 66*38=2508, Resulting Numbers: [2508]
2508,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 69:[9, 37], Operations: ['30-21=9', '66-29=37']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,69 unequal: No Solution
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,69 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 69:[66, 21, 59], Operations: ['29+30=59']
Exploring Operation: 59-21=38, Resulting Numbers: [66, 38]
Generated Node #0,4,0: 69:[66, 38] Operation: 59-21=38
Exploring Operation: 66-21=45, Resulting Numbers: [59, 45]
Generated Node #0,4,1: 69:[59, 45] Operation: 66-21=45
Exploring Operation: 21+59=80, Resulting Numbers: [66, 80]
Generated Node #0,4,2: 69:[66, 80] Operation: 21+59=80
Exploring Operation: 66-59=7, Resulting Numbers: [21, 7]
Generated Node #0,4,3: 69:[21, 7] Operation: 66-59=7
Exploring Operation: 66+21=87, Resulting Numbers: [59, 87]
Generated Node #0,4,4: 69:[59, 87] Operation: 66+21=87
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 69:[21, 7], Operations: ['29+30=59', '66-59=7']
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,69 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,69 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 69:[66, 80], Operations: ['29+30=59', '21+59=80']
Exploring Operation: 80-66=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 66*80=5280, Resulting Numbers: [5280]
5280,69 unequal: No Solution
Exploring Operation: 66+80=146, Resulting Numbers: [146]
146,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 69:[66, 38], Operations: ['29+30=59', '59-21=38']
Exploring Operation: 66+38=104, Resulting Numbers: [104]
104,69 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,69 unequal: No Solution
Exploring Operation: 66*38=2508, Resulting Numbers: [2508]
2508,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 69:[59, 87], Operations: ['29+30=59', '66+21=87']
Exploring Operation: 59*87=5133, Resulting Numbers: [5133]
5133,69 unequal: No Solution
Exploring Operation: 59+87=146, Resulting Numbers: [146]
146,69 unequal: No Solution
Exploring Operation: 87-59=28, Resulting Numbers: [28]
28,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 69:[59, 45], Operations: ['29+30=59', '66-21=45']
Exploring Operation: 59+45=104, Resulting Numbers: [104]
104,69 unequal: No Solution
Exploring Operation: 59*45=2655, Resulting Numbers: [2655]
2655,69 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[29, 21, 36], Operations: ['66-30=36']
Exploring Operation: 29+36=65, Resulting Numbers: [21, 65]
Generated Node #0,1,0: 69:[21, 65] Operation: 29+36=65
Exploring Operation: 36-21=15, Resulting Numbers: [29, 15]
Generated Node #0,1,1: 69:[29, 15] Operation: 36-21=15
Exploring Operation: 36-29=7, Resulting Numbers: [21, 7]
Generated Node #0,1,2: 69:[21, 7] Operation: 36-29=7
Exploring Operation: 21+36=57, Resulting Numbers: [29, 57]
Generated Node #0,1,3: 69:[29, 57] Operation: 21+36=57
Exploring Operation: 29-21=8, Resulting Numbers: [36, 8]
Generated Node #0,1,4: 69:[36, 8] Operation: 29-21=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[21, 65], Operations: ['66-30=36', '29+36=65']
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 69:[21, 7], Operations: ['66-30=36', '36-29=7']
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,69 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[29, 15], Operations: ['66-30=36', '36-21=15']
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,69 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 69:[29, 57], Operations: ['66-30=36', '21+36=57']
Exploring Operation: 29+57=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 29*57=1653, Resulting Numbers: [1653]
1653,69 unequal: No Solution
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 69:[36, 8], Operations: ['66-30=36', '29-21=8']
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,69 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
50,
13,
52,
4
] | 42
|
[
"50-4=46",
"52/13=4",
"46-4=42"
] |
Current State: 42:[50, 13, 52, 4], Operations: []
Exploring Operation: 50-4=46, Resulting Numbers: [13, 52, 46]
Generated Node #2: [13, 52, 46] from Operation: 50-4=46
Current State: 42:[13, 52, 46], Operations: ['50-4=46']
Exploring Operation: 52/13=4, Resulting Numbers: [46, 4]
Generated Node #3: [46, 4] from Operation: 52/13=4
Current State: 42:[46, 4], Operations: ['50-4=46', '52/13=4']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4
|
Current State: 42:[50, 13, 52, 4], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [50, 4, 4]
Generated Node #0,0: 42:[50, 4, 4] Operation: 52/13=4
Exploring Operation: 52-50=2, Resulting Numbers: [13, 4, 2]
Generated Node #0,1: 42:[13, 4, 2] Operation: 52-50=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[13, 4, 2], Operations: ['52-50=2']
Exploring Operation: 4+2=6, Resulting Numbers: [13, 6]
Generated Node #0,1,0: 42:[13, 6] Operation: 4+2=6
Exploring Operation: 4-2=2, Resulting Numbers: [13, 2]
Generated Node #0,1,1: 42:[13, 2] Operation: 4-2=2
Moving to Node #0,1,0
Current State: 42:[13, 6], Operations: ['52-50=2', '4+2=6']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[13, 2], Operations: ['52-50=2', '4-2=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,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
Current State: 42:[50, 4, 4], Operations: ['52/13=4']
Exploring Operation: 50-4=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 42:[4, 46] Operation: 50-4=46
Exploring Operation: 50-4=46, Resulting Numbers: [4, 46]
Generated Node #0,0,1: 42:[4, 46] Operation: 50-4=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[4, 46], Operations: ['52/13=4', '50-4=46']
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[50, 13, 52, 4], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [50, 4, 4]
Generated Node #0,0: 42:[50, 4, 4] Operation: 52/13=4
Moving to Node #0,0
Current State: 42:[50, 4, 4], Operations: ['52/13=4']
Exploring Operation: 50-4=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 42:[4, 46] Operation: 50-4=46
Moving to Node #0,0,0
Current State: 42:[4, 46], Operations: ['52/13=4', '50-4=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111
|
hs_2
|
sum_heuristic
|
[
44,
51,
22,
96
] | 23
|
[
"44+51=95",
"22+96=118",
"118-95=23"
] |
Current State: 23:[44, 51, 22, 96], Operations: []
Exploring Operation: 44+51=95, Resulting Numbers: [22, 96, 95]
Generated Node #2: [22, 96, 95] from Operation: 44+51=95
Current State: 23:[22, 96, 95], Operations: ['44+51=95']
Exploring Operation: 22+96=118, Resulting Numbers: [95, 118]
Generated Node #3: [95, 118] from Operation: 22+96=118
Current State: 23:[95, 118], Operations: ['44+51=95', '22+96=118']
Exploring Operation: 118-95=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4
|
Current State: 23:[44, 51, 22, 96], Operations: []
Exploring Operation: 96-44=52, Resulting Numbers: [51, 22, 52]
Generated Node #0,0: 23:[51, 22, 52] Operation: 96-44=52
Exploring Operation: 96-51=45, Resulting Numbers: [44, 22, 45]
Generated Node #0,1: 23:[44, 22, 45] Operation: 96-51=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[44, 22, 45], Operations: ['96-51=45']
Exploring Operation: 44-22=22, Resulting Numbers: [45, 22]
Generated Node #0,1,0: 23:[45, 22] Operation: 44-22=22
Exploring Operation: 45-22=23, Resulting Numbers: [44, 23]
Generated Node #0,1,1: 23:[44, 23] Operation: 45-22=23
Moving to Node #0,1,1
Current State: 23:[44, 23], Operations: ['96-51=45', '45-22=23']
Exploring Operation: 44+23=67, Resulting Numbers: [67]
67,23 unequal: No Solution
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[45, 22], Operations: ['96-51=45', '44-22=22']
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,23 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[44, 51, 22, 96], Operations: []
Exploring Operation: 96-51=45, Resulting Numbers: [44, 22, 45]
Generated Node #0,1: 23:[44, 22, 45] Operation: 96-51=45
Moving to Node #0,1
Current State: 23:[44, 22, 45], Operations: ['96-51=45']
Exploring Operation: 44-22=22, Resulting Numbers: [45, 22]
Generated Node #0,1,0: 23:[45, 22] Operation: 44-22=22
Moving to Node #0,1,0
Current State: 23:[45, 22], Operations: ['96-51=45', '44-22=22']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583
|
hs_2
|
mult_heuristic
|
[
73,
71,
18,
6
] | 27
|
[
"73+71=144",
"18+144=162",
"162/6=27"
] |
Current State: 27:[73, 71, 18, 6], Operations: []
Exploring Operation: 73+71=144, Resulting Numbers: [18, 6, 144]
Generated Node #2: [18, 6, 144] from Operation: 73+71=144
Current State: 27:[18, 6, 144], Operations: ['73+71=144']
Exploring Operation: 18+144=162, Resulting Numbers: [6, 162]
Generated Node #3: [6, 162] from Operation: 18+144=162
Current State: 27:[6, 162], Operations: ['73+71=144', '18+144=162']
Exploring Operation: 162/6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4
|
Current State: 27:[73, 71, 18, 6], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [18, 6, 2]
Generated Node #0,0: 27:[18, 6, 2] Operation: 73-71=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[18, 6, 2], Operations: ['73-71=2']
Exploring Operation: 18/6=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 27:[2, 3] Operation: 18/6=3
Moving to Node #0,0,0
Current State: 27:[2, 3], Operations: ['73-71=2', '18/6=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,27 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
|
[
23,
27,
29,
56
] | 31
|
[
"27-23=4",
"56-29=27",
"4+27=31"
] |
Current State: 31:[23, 27, 29, 56], Operations: []
Exploring Operation: 27-23=4, Resulting Numbers: [29, 56, 4]
Generated Node #2: [29, 56, 4] from Operation: 27-23=4
Current State: 31:[29, 56, 4], Operations: ['27-23=4']
Exploring Operation: 56-29=27, Resulting Numbers: [4, 27]
Generated Node #3: [4, 27] from Operation: 56-29=27
Current State: 31:[4, 27], Operations: ['27-23=4', '56-29=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4
|
Current State: 31:[23, 27, 29, 56], Operations: []
Exploring Operation: 56-29=27, Resulting Numbers: [23, 27, 27]
Generated Node #0,0: 31:[23, 27, 27] Operation: 56-29=27
Exploring Operation: 56-27=29, Resulting Numbers: [23, 29, 29]
Generated Node #0,1: 31:[23, 29, 29] Operation: 56-27=29
Exploring Operation: 23+29=52, Resulting Numbers: [27, 56, 52]
Generated Node #0,2: 31:[27, 56, 52] Operation: 23+29=52
Exploring Operation: 56-23=33, Resulting Numbers: [27, 29, 33]
Generated Node #0,3: 31:[27, 29, 33] Operation: 56-23=33
Exploring Operation: 23+27=50, Resulting Numbers: [29, 56, 50]
Generated Node #0,4: 31:[29, 56, 50] Operation: 23+27=50
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[27, 29, 33], Operations: ['56-23=33']
Exploring Operation: 29-27=2, Resulting Numbers: [33, 2]
Generated Node #0,3,0: 31:[33, 2] Operation: 29-27=2
Exploring Operation: 27+29=56, Resulting Numbers: [33, 56]
Generated Node #0,3,1: 31:[33, 56] Operation: 27+29=56
Exploring Operation: 33-27=6, Resulting Numbers: [29, 6]
Generated Node #0,3,2: 31:[29, 6] Operation: 33-27=6
Exploring Operation: 27+33=60, Resulting Numbers: [29, 60]
Generated Node #0,3,3: 31:[29, 60] Operation: 27+33=60
Exploring Operation: 33-29=4, Resulting Numbers: [27, 4]
Generated Node #0,3,4: 31:[27, 4] Operation: 33-29=4
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 31:[33, 56], Operations: ['56-23=33', '27+29=56']
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,31 unequal: No Solution
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,31 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 31:[29, 6], Operations: ['56-23=33', '33-27=6']
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,31 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 31:[33, 2], Operations: ['56-23=33', '29-27=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[23, 27, 29, 56], Operations: []
Exploring Operation: 56-23=33, Resulting Numbers: [27, 29, 33]
Generated Node #0,3: 31:[27, 29, 33] Operation: 56-23=33
Moving to Node #0,3
Current State: 31:[27, 29, 33], Operations: ['56-23=33']
Exploring Operation: 29-27=2, Resulting Numbers: [33, 2]
Generated Node #0,3,0: 31:[33, 2] Operation: 29-27=2
Moving to Node #0,3,0
Current State: 31:[33, 2], Operations: ['56-23=33', '29-27=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035
|
hs_5
|
mult_heuristic
|
[
72,
77,
62,
5
] | 72
|
[
"77-72=5",
"62+5=67",
"5+67=72"
] |
Current State: 72:[72, 77, 62, 5], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [62, 5, 5]
Generated Node #2: [62, 5, 5] from Operation: 77-72=5
Current State: 72:[62, 5, 5], Operations: ['77-72=5']
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,72 equal: Goal Reached
Exploring Operation: 5+67=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4
|
Current State: 72:[72, 77, 62, 5], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [72, 5, 15]
Generated Node #0,0: 72:[72, 5, 15] Operation: 77-62=15
Exploring Operation: 72-62=10, Resulting Numbers: [77, 5, 10]
Generated Node #0,1: 72:[77, 5, 10] Operation: 72-62=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[72, 5, 15], Operations: ['77-62=15']
Exploring Operation: 15-5=10, Resulting Numbers: [72, 10]
Generated Node #0,0,0: 72:[72, 10] Operation: 15-5=10
Exploring Operation: 15/5=3, Resulting Numbers: [72, 3]
Generated Node #0,0,1: 72:[72, 3] Operation: 15/5=3
Moving to Node #0,0,1
Current State: 72:[72, 3], Operations: ['77-62=15', '15/5=3']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[72, 10], Operations: ['77-62=15', '15-5=10']
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[77, 5, 10], Operations: ['72-62=10']
Exploring Operation: 10/5=2, Resulting Numbers: [77, 2]
Generated Node #0,1,0: 72:[77, 2] Operation: 10/5=2
Exploring Operation: 77-5=72, Resulting Numbers: [10, 72]
Generated Node #0,1,1: 72:[10, 72] Operation: 77-5=72
Moving to Node #0,1,1
Current State: 72:[10, 72], Operations: ['72-62=10', '77-5=72']
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[77, 2], Operations: ['72-62=10', '10/5=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,72 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
|
[
93,
99,
81,
38
] | 45
|
[
"93-38=55",
"81*55=4455",
"4455/99=45"
] |
Current State: 45:[93, 99, 81, 38], Operations: []
Exploring Operation: 93-38=55, Resulting Numbers: [99, 81, 55]
Generated Node #2: [99, 81, 55] from Operation: 93-38=55
Current State: 45:[99, 81, 55], Operations: ['93-38=55']
Exploring Operation: 81*55=4455, Resulting Numbers: [99, 4455]
Generated Node #3: [99, 4455] from Operation: 81*55=4455
Current State: 45:[99, 4455], Operations: ['93-38=55', '81*55=4455']
Exploring Operation: 4455/99=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4
|
Current State: 45:[93, 99, 81, 38], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [81, 38, 6]
Generated Node #0,0: 45:[81, 38, 6] Operation: 99-93=6
Moving to Node #0,0
Current State: 45:[81, 38, 6], Operations: ['99-93=6']
Exploring Operation: 81-38=43, Resulting Numbers: [6, 43]
Generated Node #0,0,0: 45:[6, 43] Operation: 81-38=43
Moving to Node #0,0,0
Current State: 45:[6, 43], Operations: ['99-93=6', '81-38=43']
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,45 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
96,
13,
4,
9
] | 78
|
[
"96-13=83",
"9-4=5",
"83-5=78"
] |
Current State: 78:[96, 13, 4, 9], Operations: []
Exploring Operation: 96-13=83, Resulting Numbers: [4, 9, 83]
Generated Node #2: [4, 9, 83] from Operation: 96-13=83
Current State: 78:[4, 9, 83], Operations: ['96-13=83']
Exploring Operation: 9-4=5, Resulting Numbers: [83, 5]
Generated Node #3: [83, 5] from Operation: 9-4=5
Current State: 78:[83, 5], Operations: ['96-13=83', '9-4=5']
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4
|
Current State: 78:[96, 13, 4, 9], Operations: []
Exploring Operation: 96-13=83, Resulting Numbers: [4, 9, 83]
Generated Node #0,0: 78:[4, 9, 83] Operation: 96-13=83
Exploring Operation: 96/4=24, Resulting Numbers: [13, 9, 24]
Generated Node #0,1: 78:[13, 9, 24] Operation: 96/4=24
Moving to Node #0,1
Current State: 78:[13, 9, 24], Operations: ['96/4=24']
Exploring Operation: 13-9=4, Resulting Numbers: [24, 4]
Generated Node #0,1,0: 78:[24, 4] Operation: 13-9=4
Exploring Operation: 24-9=15, Resulting Numbers: [13, 15]
Generated Node #0,1,1: 78:[13, 15] Operation: 24-9=15
Moving to Node #0,0
Current State: 78:[4, 9, 83], Operations: ['96-13=83']
Exploring Operation: 4+9=13, Resulting Numbers: [83, 13]
Generated Node #0,0,0: 78:[83, 13] Operation: 4+9=13
Exploring Operation: 83-4=79, Resulting Numbers: [9, 79]
Generated Node #0,0,1: 78:[9, 79] Operation: 83-4=79
Moving to Node #0,1,1
Current State: 78:[13, 15], Operations: ['96/4=24', '24-9=15']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[24, 4], Operations: ['96/4=24', '13-9=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[9, 79], Operations: ['96-13=83', '83-4=79']
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,78 unequal: No Solution
Exploring Operation: 9+79=88, Resulting Numbers: [88]
88,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[83, 13], Operations: ['96-13=83', '4+9=13']
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,78 unequal: No Solution
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,78 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
26,
27,
59,
5
] | 54
|
[
"27-26=1",
"59-5=54",
"1*54=54"
] |
Current State: 54:[26, 27, 59, 5], Operations: []
Exploring Operation: 27-26=1, Resulting Numbers: [59, 5, 1]
Generated Node #2: [59, 5, 1] from Operation: 27-26=1
Current State: 54:[59, 5, 1], Operations: ['27-26=1']
Exploring Operation: 59-5=54, Resulting Numbers: [1, 54]
Generated Node #3: [1, 54] from Operation: 59-5=54
Current State: 54:[1, 54], Operations: ['27-26=1', '59-5=54']
Exploring Operation: 1*54=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4
|
Current State: 54:[26, 27, 59, 5], Operations: []
Exploring Operation: 59-5=54, Resulting Numbers: [26, 27, 54]
Generated Node #0,0: 54:[26, 27, 54] Operation: 59-5=54
Moving to Node #0,0
Current State: 54:[26, 27, 54], Operations: ['59-5=54']
Exploring Operation: 26+27=53, Resulting Numbers: [54, 53]
Generated Node #0,0,0: 54:[54, 53] Operation: 26+27=53
Moving to Node #0,0,0
Current State: 54:[54, 53], Operations: ['59-5=54', '26+27=53']
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,54 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
48,
72,
23,
46
] | 22
|
[
"72-48=24",
"46/23=2",
"24-2=22"
] |
Current State: 22:[48, 72, 23, 46], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [23, 46, 24]
Generated Node #2: [23, 46, 24] from Operation: 72-48=24
Current State: 22:[23, 46, 24], Operations: ['72-48=24']
Exploring Operation: 46/23=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 46/23=2
Current State: 22:[24, 2], Operations: ['72-48=24', '46/23=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4
|
Current State: 22:[48, 72, 23, 46], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [23, 46, 24]
Generated Node #0,0: 22:[23, 46, 24] Operation: 72-48=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[23, 46, 24], Operations: ['72-48=24']
Exploring Operation: 46-24=22, Resulting Numbers: [23, 22]
Generated Node #0,0,0: 22:[23, 22] Operation: 46-24=22
Moving to Node #0,0,0
Current State: 22:[23, 22], Operations: ['72-48=24', '46-24=22']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,22 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
|
[
5,
87,
89,
13
] | 55
|
[
"89-87=2",
"13-2=11",
"5*11=55"
] |
Current State: 55:[5, 87, 89, 13], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [5, 13, 2]
Generated Node #2: [5, 13, 2] from Operation: 89-87=2
Current State: 55:[5, 13, 2], Operations: ['89-87=2']
Exploring Operation: 13-2=11, Resulting Numbers: [5, 11]
Generated Node #3: [5, 11] from Operation: 13-2=11
Current State: 55:[5, 11], Operations: ['89-87=2', '13-2=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4
|
Current State: 55:[5, 87, 89, 13], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [5, 13, 2]
Generated Node #0,0: 55:[5, 13, 2] Operation: 89-87=2
Exploring Operation: 87-13=74, Resulting Numbers: [5, 89, 74]
Generated Node #0,1: 55:[5, 89, 74] Operation: 87-13=74
Exploring Operation: 89-13=76, Resulting Numbers: [5, 87, 76]
Generated Node #0,2: 55:[5, 87, 76] Operation: 89-13=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[5, 13, 2], Operations: ['89-87=2']
Exploring Operation: 5+2=7, Resulting Numbers: [13, 7]
Generated Node #0,0,0: 55:[13, 7] Operation: 5+2=7
Exploring Operation: 13-2=11, Resulting Numbers: [5, 11]
Generated Node #0,0,1: 55:[5, 11] Operation: 13-2=11
Exploring Operation: 5*2=10, Resulting Numbers: [13, 10]
Generated Node #0,0,2: 55:[13, 10] Operation: 5*2=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[5, 11], Operations: ['89-87=2', '13-2=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[5, 87, 89, 13], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [5, 13, 2]
Generated Node #0,0: 55:[5, 13, 2] Operation: 89-87=2
Moving to Node #0,0
Current State: 55:[5, 13, 2], Operations: ['89-87=2']
Exploring Operation: 13-2=11, Resulting Numbers: [5, 11]
Generated Node #0,0,1: 55:[5, 11] Operation: 13-2=11
Moving to Node #0,0,1
Current State: 55:[5, 11], Operations: ['89-87=2', '13-2=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
mult_heuristic
|
[
30,
24,
4,
32
] | 18
|
[
"30+24=54",
"4+32=36",
"54-36=18"
] |
Current State: 18:[30, 24, 4, 32], Operations: []
Exploring Operation: 30+24=54, Resulting Numbers: [4, 32, 54]
Generated Node #2: [4, 32, 54] from Operation: 30+24=54
Current State: 18:[4, 32, 54], Operations: ['30+24=54']
Exploring Operation: 4+32=36, Resulting Numbers: [54, 36]
Generated Node #3: [54, 36] from Operation: 4+32=36
Current State: 18:[54, 36], Operations: ['30+24=54', '4+32=36']
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4
|
Current State: 18:[30, 24, 4, 32], Operations: []
Exploring Operation: 30-24=6, Resulting Numbers: [4, 32, 6]
Generated Node #0,0: 18:[4, 32, 6] Operation: 30-24=6
Exploring Operation: 32-30=2, Resulting Numbers: [24, 4, 2]
Generated Node #0,1: 18:[24, 4, 2] Operation: 32-30=2
Exploring Operation: 32-24=8, Resulting Numbers: [30, 4, 8]
Generated Node #0,2: 18:[30, 4, 8] Operation: 32-24=8
Exploring Operation: 32/4=8, Resulting Numbers: [30, 24, 8]
Generated Node #0,3: 18:[30, 24, 8] Operation: 32/4=8
Moving to Node #0,1
Current State: 18:[24, 4, 2], Operations: ['32-30=2']
Exploring Operation: 24/4=6, Resulting Numbers: [2, 6]
Generated Node #0,1,0: 18:[2, 6] Operation: 24/4=6
Exploring Operation: 24/2=12, Resulting Numbers: [4, 12]
Generated Node #0,1,1: 18:[4, 12] Operation: 24/2=12
Exploring Operation: 24-2=22, Resulting Numbers: [4, 22]
Generated Node #0,1,2: 18:[4, 22] Operation: 24-2=22
Exploring Operation: 24-4=20, Resulting Numbers: [2, 20]
Generated Node #0,1,3: 18:[2, 20] Operation: 24-4=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[2, 6], Operations: ['32-30=2', '24/4=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 18:[2, 20], Operations: ['32-30=2', '24-4=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[30, 24, 4, 32], Operations: []
Exploring Operation: 32-30=2, Resulting Numbers: [24, 4, 2]
Generated Node #0,1: 18:[24, 4, 2] Operation: 32-30=2
Moving to Node #0,1
Current State: 18:[24, 4, 2], Operations: ['32-30=2']
Exploring Operation: 24-4=20, Resulting Numbers: [2, 20]
Generated Node #0,1,3: 18:[2, 20] Operation: 24-4=20
Moving to Node #0,1,3
Current State: 18:[2, 20], Operations: ['32-30=2', '24-4=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243
|
hs_4
|
sum_heuristic
|
[
42,
14,
4,
42
] | 11
|
[
"42/42=1",
"14-4=10",
"1+10=11"
] |
Current State: 11:[42, 14, 4, 42], Operations: []
Exploring Operation: 42/42=1, Resulting Numbers: [14, 4, 1]
Generated Node #2: [14, 4, 1] from Operation: 42/42=1
Current State: 11:[14, 4, 1], Operations: ['42/42=1']
Exploring Operation: 14-4=10, Resulting Numbers: [1, 10]
Generated Node #3: [1, 10] from Operation: 14-4=10
Current State: 11:[1, 10], Operations: ['42/42=1', '14-4=10']
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4
|
Current State: 11:[42, 14, 4, 42], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [4, 42, 3]
Generated Node #0,0: 11:[4, 42, 3] Operation: 42/14=3
Exploring Operation: 42/42=1, Resulting Numbers: [14, 4, 1]
Generated Node #0,1: 11:[14, 4, 1] Operation: 42/42=1
Exploring Operation: 42-42=0, Resulting Numbers: [14, 4, 0]
Generated Node #0,2: 11:[14, 4, 0] Operation: 42-42=0
Exploring Operation: 42/14=3, Resulting Numbers: [42, 4, 3]
Generated Node #0,3: 11:[42, 4, 3] Operation: 42/14=3
Moving to Node #0,1
Current State: 11:[14, 4, 1], Operations: ['42/42=1']
Exploring Operation: 4+1=5, Resulting Numbers: [14, 5]
Generated Node #0,1,0: 11:[14, 5] Operation: 4+1=5
Exploring Operation: 14/1=14, Resulting Numbers: [4, 14]
Generated Node #0,1,1: 11:[4, 14] Operation: 14/1=14
Exploring Operation: 14-1=13, Resulting Numbers: [4, 13]
Generated Node #0,1,2: 11:[4, 13] Operation: 14-1=13
Exploring Operation: 14*1=14, Resulting Numbers: [4, 14]
Generated Node #0,1,3: 11:[4, 14] Operation: 14*1=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[14, 5], Operations: ['42/42=1', '4+1=5']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,11 unequal: No Solution
No 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: 11:[4, 13], Operations: ['42/42=1', '14-1=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,11 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,11 unequal: No Solution
No 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: 11:[4, 14], Operations: ['42/42=1', '14/1=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,11 unequal: No Solution
No 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: 11:[4, 14], Operations: ['42/42=1', '14*1=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,11 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: 11:[14, 4, 0], Operations: ['42-42=0']
Exploring Operation: 14-0=14, Resulting Numbers: [4, 14]
Generated Node #0,2,0: 11:[4, 14] Operation: 14-0=14
Exploring Operation: 4-0=4, Resulting Numbers: [14, 4]
Generated Node #0,2,1: 11:[14, 4] Operation: 4-0=4
Exploring Operation: 14+0=14, Resulting Numbers: [4, 14]
Generated Node #0,2,2: 11:[4, 14] Operation: 14+0=14
Exploring Operation: 4+0=4, Resulting Numbers: [14, 4]
Generated Node #0,2,3: 11:[14, 4] Operation: 4+0=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 11:[4, 14], Operations: ['42-42=0', '14-0=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,11 unequal: No Solution
No 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: 11:[14, 4], Operations: ['42-42=0', '4-0=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,11 unequal: No Solution
No 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: 11:[4, 14], Operations: ['42-42=0', '14+0=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,11 unequal: No Solution
No 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: 11:[14, 4], Operations: ['42-42=0', '4+0=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,11 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: 11:[42, 4, 3], Operations: ['42/14=3']
Exploring Operation: 42-3=39, Resulting Numbers: [4, 39]
Generated Node #0,3,0: 11:[4, 39] Operation: 42-3=39
Exploring Operation: 42-4=38, Resulting Numbers: [3, 38]
Generated Node #0,3,1: 11:[3, 38] Operation: 42-4=38
Exploring Operation: 42/3=14, Resulting Numbers: [4, 14]
Generated Node #0,3,2: 11:[4, 14] Operation: 42/3=14
Exploring Operation: 4*3=12, Resulting Numbers: [42, 12]
Generated Node #0,3,3: 11:[42, 12] Operation: 4*3=12
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 11:[4, 14], Operations: ['42/14=3', '42/3=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,11 unequal: No Solution
No 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: 11:[42, 12], Operations: ['42/14=3', '4*3=12']
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,11 unequal: No Solution
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,11 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,11 unequal: No Solution
No 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: 11:[4, 39], Operations: ['42/14=3', '42-3=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,11 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,11 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,11 unequal: No Solution
No 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: 11:[3, 38], Operations: ['42/14=3', '42-4=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,11 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,11 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: 11:[4, 42, 3], Operations: ['42/14=3']
Exploring Operation: 42/3=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 11:[4, 14] Operation: 42/3=14
Exploring Operation: 4*3=12, Resulting Numbers: [42, 12]
Generated Node #0,0,1: 11:[42, 12] Operation: 4*3=12
Exploring Operation: 42-4=38, Resulting Numbers: [3, 38]
Generated Node #0,0,2: 11:[3, 38] Operation: 42-4=38
Exploring Operation: 4+3=7, Resulting Numbers: [42, 7]
Generated Node #0,0,3: 11:[42, 7] Operation: 4+3=7
Moving to Node #0,0,0
Current State: 11:[4, 14], Operations: ['42/14=3', '42/3=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[42, 12], Operations: ['42/14=3', '4*3=12']
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,11 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[42, 7], Operations: ['42/14=3', '4+3=7']
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,11 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 42*7=294, Resulting Numbers: [294]
294,11 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[3, 38], Operations: ['42/14=3', '42-4=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,11 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
50,
32,
12,
61
] | 31
|
[
"50-32=18",
"61-12=49",
"49-18=31"
] |
Current State: 31:[50, 32, 12, 61], Operations: []
Exploring Operation: 50-32=18, Resulting Numbers: [12, 61, 18]
Generated Node #2: [12, 61, 18] from Operation: 50-32=18
Current State: 31:[12, 61, 18], Operations: ['50-32=18']
Exploring Operation: 61-12=49, Resulting Numbers: [18, 49]
Generated Node #3: [18, 49] from Operation: 61-12=49
Current State: 31:[18, 49], Operations: ['50-32=18', '61-12=49']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4
|
Current State: 31:[50, 32, 12, 61], Operations: []
Exploring Operation: 61-12=49, Resulting Numbers: [50, 32, 49]
Generated Node #0,0: 31:[50, 32, 49] Operation: 61-12=49
Exploring Operation: 50-12=38, Resulting Numbers: [32, 61, 38]
Generated Node #0,1: 31:[32, 61, 38] Operation: 50-12=38
Moving to Node #0,0
Current State: 31:[50, 32, 49], Operations: ['61-12=49']
Exploring Operation: 50-49=1, Resulting Numbers: [32, 1]
Generated Node #0,0,0: 31:[32, 1] Operation: 50-49=1
Exploring Operation: 50-32=18, Resulting Numbers: [49, 18]
Generated Node #0,0,1: 31:[49, 18] Operation: 50-32=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[32, 1], Operations: ['61-12=49', '50-49=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[50, 32, 12, 61], Operations: []
Exploring Operation: 61-12=49, Resulting Numbers: [50, 32, 49]
Generated Node #0,0: 31:[50, 32, 49] Operation: 61-12=49
Moving to Node #0,0
Current State: 31:[50, 32, 49], Operations: ['61-12=49']
Exploring Operation: 50-49=1, Resulting Numbers: [32, 1]
Generated Node #0,0,0: 31:[32, 1] Operation: 50-49=1
Moving to Node #0,0,0
Current State: 31:[32, 1], Operations: ['61-12=49', '50-49=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188
|
hs_2
|
sum_heuristic
|
[
25,
87,
24,
90
] | 52
|
[
"87-25=62",
"24+90=114",
"114-62=52"
] |
Current State: 52:[25, 87, 24, 90], Operations: []
Exploring Operation: 87-25=62, Resulting Numbers: [24, 90, 62]
Generated Node #2: [24, 90, 62] from Operation: 87-25=62
Current State: 52:[24, 90, 62], Operations: ['87-25=62']
Exploring Operation: 24+90=114, Resulting Numbers: [62, 114]
Generated Node #3: [62, 114] from Operation: 24+90=114
Current State: 52:[62, 114], Operations: ['87-25=62', '24+90=114']
Exploring Operation: 114-62=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4
|
Current State: 52:[25, 87, 24, 90], Operations: []
Exploring Operation: 90-25=65, Resulting Numbers: [87, 24, 65]
Generated Node #0,0: 52:[87, 24, 65] Operation: 90-25=65
Exploring Operation: 90-24=66, Resulting Numbers: [25, 87, 66]
Generated Node #0,1: 52:[25, 87, 66] Operation: 90-24=66
Exploring Operation: 87-24=63, Resulting Numbers: [25, 90, 63]
Generated Node #0,2: 52:[25, 90, 63] Operation: 87-24=63
Exploring Operation: 87-25=62, Resulting Numbers: [24, 90, 62]
Generated Node #0,3: 52:[24, 90, 62] Operation: 87-25=62
Exploring Operation: 90-87=3, Resulting Numbers: [25, 24, 3]
Generated Node #0,4: 52:[25, 24, 3] Operation: 90-87=3
Moving to Node #0,4
Current State: 52:[25, 24, 3], Operations: ['90-87=3']
Exploring Operation: 25+24=49, Resulting Numbers: [3, 49]
Generated Node #0,4,0: 52:[3, 49] Operation: 25+24=49
Exploring Operation: 25-24=1, Resulting Numbers: [3, 1]
Generated Node #0,4,1: 52:[3, 1] Operation: 25-24=1
Exploring Operation: 24/3=8, Resulting Numbers: [25, 8]
Generated Node #0,4,2: 52:[25, 8] Operation: 24/3=8
Exploring Operation: 25+3=28, Resulting Numbers: [24, 28]
Generated Node #0,4,3: 52:[24, 28] Operation: 25+3=28
Exploring Operation: 24+3=27, Resulting Numbers: [25, 27]
Generated Node #0,4,4: 52:[25, 27] Operation: 24+3=27
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 52:[3, 1], Operations: ['90-87=3', '25-24=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 52:[25, 27], Operations: ['90-87=3', '24+3=27']
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,52 unequal: No Solution
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[25, 87, 24, 90], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [25, 24, 3]
Generated Node #0,4: 52:[25, 24, 3] Operation: 90-87=3
Moving to Node #0,4
Current State: 52:[25, 24, 3], Operations: ['90-87=3']
Exploring Operation: 24+3=27, Resulting Numbers: [25, 27]
Generated Node #0,4,4: 52:[25, 27] Operation: 24+3=27
Moving to Node #0,4,4
Current State: 52:[25, 27], Operations: ['90-87=3', '24+3=27']
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639
|
hs_5
|
mult_heuristic
|
[
96,
37,
56,
58
] | 56
|
[
"96-37=59",
"59-58=1",
"56*1=56"
] |
Current State: 56:[96, 37, 56, 58], Operations: []
Exploring Operation: 96-37=59, Resulting Numbers: [56, 58, 59]
Generated Node #2: [56, 58, 59] from Operation: 96-37=59
Current State: 56:[56, 58, 59], Operations: ['96-37=59']
Exploring Operation: 59-58=1, Resulting Numbers: [56, 1]
Generated Node #3: [56, 1] from Operation: 59-58=1
Current State: 56:[56, 1], Operations: ['96-37=59', '59-58=1']
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4
|
Current State: 56:[96, 37, 56, 58], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [37, 56, 38]
Generated Node #0,0: 56:[37, 56, 38] Operation: 96-58=38
Exploring Operation: 96-37=59, Resulting Numbers: [56, 58, 59]
Generated Node #0,1: 56:[56, 58, 59] Operation: 96-37=59
Exploring Operation: 56-37=19, Resulting Numbers: [96, 58, 19]
Generated Node #0,2: 56:[96, 58, 19] Operation: 56-37=19
Exploring Operation: 96-56=40, Resulting Numbers: [37, 58, 40]
Generated Node #0,3: 56:[37, 58, 40] Operation: 96-56=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[56, 58, 59], Operations: ['96-37=59']
Exploring Operation: 58-56=2, Resulting Numbers: [59, 2]
Generated Node #0,1,0: 56:[59, 2] Operation: 58-56=2
Exploring Operation: 59-58=1, Resulting Numbers: [56, 1]
Generated Node #0,1,1: 56:[56, 1] Operation: 59-58=1
Exploring Operation: 56+58=114, Resulting Numbers: [59, 114]
Generated Node #0,1,2: 56:[59, 114] Operation: 56+58=114
Exploring Operation: 59-56=3, Resulting Numbers: [58, 3]
Generated Node #0,1,3: 56:[58, 3] Operation: 59-56=3
Moving to Node #0,1,1
Current State: 56:[56, 1], Operations: ['96-37=59', '59-58=1']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[96, 37, 56, 58], Operations: []
Exploring Operation: 96-37=59, Resulting Numbers: [56, 58, 59]
Generated Node #0,1: 56:[56, 58, 59] Operation: 96-37=59
Moving to Node #0,1
Current State: 56:[56, 58, 59], Operations: ['96-37=59']
Exploring Operation: 59-58=1, Resulting Numbers: [56, 1]
Generated Node #0,1,1: 56:[56, 1] Operation: 59-58=1
Moving to Node #0,1,1
Current State: 56:[56, 1], Operations: ['96-37=59', '59-58=1']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_4
|
mult_heuristic
|
[
39,
46,
92,
49
] | 85
|
[
"46-39=7",
"49/7=7",
"92-7=85"
] |
Current State: 85:[39, 46, 92, 49], Operations: []
Exploring Operation: 46-39=7, Resulting Numbers: [92, 49, 7]
Generated Node #2: [92, 49, 7] from Operation: 46-39=7
Current State: 85:[92, 49, 7], Operations: ['46-39=7']
Exploring Operation: 49/7=7, Resulting Numbers: [92, 7]
Generated Node #3: [92, 7] from Operation: 49/7=7
Current State: 85:[92, 7], Operations: ['46-39=7', '49/7=7']
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[39, 46, 92, 49], Operations: []
Exploring Operation: 39+49=88, Resulting Numbers: [46, 92, 88]
Generated Node #0,0: 85:[46, 92, 88] Operation: 39+49=88
Exploring Operation: 39+46=85, Resulting Numbers: [92, 49, 85]
Generated Node #0,1: 85:[92, 49, 85] Operation: 39+46=85
Exploring Operation: 49-46=3, Resulting Numbers: [39, 92, 3]
Generated Node #0,2: 85:[39, 92, 3] Operation: 49-46=3
Moving to Node #0,2
Current State: 85:[39, 92, 3], Operations: ['49-46=3']
Exploring Operation: 39/3=13, Resulting Numbers: [92, 13]
Generated Node #0,2,0: 85:[92, 13] Operation: 39/3=13
Exploring Operation: 92-3=89, Resulting Numbers: [39, 89]
Generated Node #0,2,1: 85:[39, 89] Operation: 92-3=89
Exploring Operation: 39-3=36, Resulting Numbers: [92, 36]
Generated Node #0,2,2: 85:[92, 36] Operation: 39-3=36
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[92, 13], Operations: ['49-46=3', '39/3=13']
Exploring Operation: 92*13=1196, Resulting Numbers: [1196]
1196,85 unequal: No Solution
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 92+13=105, Resulting Numbers: [105]
105,85 unequal: No Solution
No 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: 85:[39, 89], Operations: ['49-46=3', '92-3=89']
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 39+89=128, Resulting Numbers: [128]
128,85 unequal: No Solution
Exploring Operation: 39*89=3471, Resulting Numbers: [3471]
3471,85 unequal: No Solution
No 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: 85:[92, 36], Operations: ['49-46=3', '39-3=36']
Exploring Operation: 92-36=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 92+36=128, Resulting Numbers: [128]
128,85 unequal: No Solution
Exploring Operation: 92*36=3312, Resulting Numbers: [3312]
3312,85 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: 85:[46, 92, 88], Operations: ['39+49=88']
Exploring Operation: 92-46=46, Resulting Numbers: [88, 46]
Generated Node #0,0,0: 85:[88, 46] Operation: 92-46=46
Exploring Operation: 92/46=2, Resulting Numbers: [88, 2]
Generated Node #0,0,1: 85:[88, 2] Operation: 92/46=2
Exploring Operation: 92-88=4, Resulting Numbers: [46, 4]
Generated Node #0,0,2: 85:[46, 4] Operation: 92-88=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[88, 2], Operations: ['39+49=88', '92/46=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,85 unequal: No Solution
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,85 unequal: No Solution
No 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: 85:[46, 4], Operations: ['39+49=88', '92-88=4']
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,85 unequal: No Solution
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,85 unequal: No Solution
No 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: 85:[88, 46], Operations: ['39+49=88', '92-46=46']
Exploring Operation: 88*46=4048, Resulting Numbers: [4048]
4048,85 unequal: No Solution
Exploring Operation: 88+46=134, Resulting Numbers: [134]
134,85 unequal: No Solution
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,85 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: 85:[92, 49, 85], Operations: ['39+46=85']
Exploring Operation: 85-49=36, Resulting Numbers: [92, 36]
Generated Node #0,1,0: 85:[92, 36] Operation: 85-49=36
Exploring Operation: 92-85=7, Resulting Numbers: [49, 7]
Generated Node #0,1,1: 85:[49, 7] Operation: 92-85=7
Exploring Operation: 92-49=43, Resulting Numbers: [85, 43]
Generated Node #0,1,2: 85:[85, 43] Operation: 92-49=43
Moving to Node #0,1,0
Current State: 85:[92, 36], Operations: ['39+46=85', '85-49=36']
Exploring Operation: 92-36=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 92+36=128, Resulting Numbers: [128]
128,85 unequal: No Solution
Exploring Operation: 92*36=3312, Resulting Numbers: [3312]
3312,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[85, 43], Operations: ['39+46=85', '92-49=43']
Exploring Operation: 85*43=3655, Resulting Numbers: [3655]
3655,85 unequal: No Solution
Exploring Operation: 85+43=128, Resulting Numbers: [128]
128,85 unequal: No Solution
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[49, 7], Operations: ['39+46=85', '92-85=7']
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,85 unequal: No Solution
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,85 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
20,
28,
18,
43
] | 23
|
[
"20+28=48",
"43-18=25",
"48-25=23"
] |
Current State: 23:[20, 28, 18, 43], Operations: []
Exploring Operation: 20+28=48, Resulting Numbers: [18, 43, 48]
Generated Node #2: [18, 43, 48] from Operation: 20+28=48
Current State: 23:[18, 43, 48], Operations: ['20+28=48']
Exploring Operation: 43-18=25, Resulting Numbers: [48, 25]
Generated Node #3: [48, 25] from Operation: 43-18=25
Current State: 23:[48, 25], Operations: ['20+28=48', '43-18=25']
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4
|
Current State: 23:[20, 28, 18, 43], Operations: []
Exploring Operation: 43-18=25, Resulting Numbers: [20, 28, 25]
Generated Node #0,0: 23:[20, 28, 25] Operation: 43-18=25
Exploring Operation: 43-20=23, Resulting Numbers: [28, 18, 23]
Generated Node #0,1: 23:[28, 18, 23] Operation: 43-20=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[20, 28, 25], Operations: ['43-18=25']
Exploring Operation: 28-20=8, Resulting Numbers: [25, 8]
Generated Node #0,0,0: 23:[25, 8] Operation: 28-20=8
Exploring Operation: 25-20=5, Resulting Numbers: [28, 5]
Generated Node #0,0,1: 23:[28, 5] Operation: 25-20=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[25, 8], Operations: ['43-18=25', '28-20=8']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[28, 5], Operations: ['43-18=25', '25-20=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[20, 28, 18, 43], Operations: []
Exploring Operation: 43-18=25, Resulting Numbers: [20, 28, 25]
Generated Node #0,0: 23:[20, 28, 25] Operation: 43-18=25
Moving to Node #0,0
Current State: 23:[20, 28, 25], Operations: ['43-18=25']
Exploring Operation: 25-20=5, Resulting Numbers: [28, 5]
Generated Node #0,0,1: 23:[28, 5] Operation: 25-20=5
Moving to Node #0,0,1
Current State: 23:[28, 5], Operations: ['43-18=25', '25-20=5']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583
|
hs_2
|
mult_heuristic
|
[
20,
38,
82,
5
] | 59
|
[
"38-20=18",
"82-5=77",
"77-18=59"
] |
Current State: 59:[20, 38, 82, 5], Operations: []
Exploring Operation: 38-20=18, Resulting Numbers: [82, 5, 18]
Generated Node #2: [82, 5, 18] from Operation: 38-20=18
Current State: 59:[82, 5, 18], Operations: ['38-20=18']
Exploring Operation: 82-5=77, Resulting Numbers: [18, 77]
Generated Node #3: [18, 77] from Operation: 82-5=77
Current State: 59:[18, 77], Operations: ['38-20=18', '82-5=77']
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4
|
Current State: 59:[20, 38, 82, 5], Operations: []
Exploring Operation: 82-20=62, Resulting Numbers: [38, 5, 62]
Generated Node #0,0: 59:[38, 5, 62] Operation: 82-20=62
Exploring Operation: 20+38=58, Resulting Numbers: [82, 5, 58]
Generated Node #0,1: 59:[82, 5, 58] Operation: 20+38=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[38, 5, 62], Operations: ['82-20=62']
Exploring Operation: 62-5=57, Resulting Numbers: [38, 57]
Generated Node #0,0,0: 59:[38, 57] Operation: 62-5=57
Exploring Operation: 38+5=43, Resulting Numbers: [62, 43]
Generated Node #0,0,1: 59:[62, 43] Operation: 38+5=43
Moving to Node #0,0,1
Current State: 59:[62, 43], Operations: ['82-20=62', '38+5=43']
Exploring Operation: 62+43=105, Resulting Numbers: [105]
105,59 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[38, 57], Operations: ['82-20=62', '62-5=57']
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 38+57=95, Resulting Numbers: [95]
95,59 unequal: No Solution
No 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: 59:[82, 5, 58], Operations: ['20+38=58']
Exploring Operation: 82-5=77, Resulting Numbers: [58, 77]
Generated Node #0,1,0: 59:[58, 77] Operation: 82-5=77
Exploring Operation: 5+58=63, Resulting Numbers: [82, 63]
Generated Node #0,1,1: 59:[82, 63] Operation: 5+58=63
Moving to Node #0,1,0
Current State: 59:[58, 77], Operations: ['20+38=58', '82-5=77']
Exploring Operation: 58+77=135, Resulting Numbers: [135]
135,59 unequal: No Solution
Exploring Operation: 77-58=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[82, 63], Operations: ['20+38=58', '5+58=63']
Exploring Operation: 82+63=145, Resulting Numbers: [145]
145,59 unequal: No Solution
Exploring Operation: 82-63=19, Resulting Numbers: [19]
19,59 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
|
[
45,
57,
18,
14
] | 98
|
[
"45+57=102",
"18-14=4",
"102-4=98"
] |
Current State: 98:[45, 57, 18, 14], Operations: []
Exploring Operation: 45+57=102, Resulting Numbers: [18, 14, 102]
Generated Node #2: [18, 14, 102] from Operation: 45+57=102
Current State: 98:[18, 14, 102], Operations: ['45+57=102']
Exploring Operation: 18-14=4, Resulting Numbers: [102, 4]
Generated Node #3: [102, 4] from Operation: 18-14=4
Current State: 98:[102, 4], Operations: ['45+57=102', '18-14=4']
Exploring Operation: 102-4=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4
|
Current State: 98:[45, 57, 18, 14], Operations: []
Exploring Operation: 57-45=12, Resulting Numbers: [18, 14, 12]
Generated Node #0,0: 98:[18, 14, 12] Operation: 57-45=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[18, 14, 12], Operations: ['57-45=12']
Exploring Operation: 18-12=6, Resulting Numbers: [14, 6]
Generated Node #0,0,0: 98:[14, 6] Operation: 18-12=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[14, 6], Operations: ['57-45=12', '18-12=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,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
|
[
58,
54,
81,
5
] | 31
|
[
"54+81=135",
"135/5=27",
"58-27=31"
] |
Current State: 31:[58, 54, 81, 5], Operations: []
Exploring Operation: 54+81=135, Resulting Numbers: [58, 5, 135]
Generated Node #2: [58, 5, 135] from Operation: 54+81=135
Current State: 31:[58, 5, 135], Operations: ['54+81=135']
Exploring Operation: 135/5=27, Resulting Numbers: [58, 27]
Generated Node #3: [58, 27] from Operation: 135/5=27
Current State: 31:[58, 27], Operations: ['54+81=135', '135/5=27']
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4
|
Current State: 31:[58, 54, 81, 5], Operations: []
Exploring Operation: 81-58=23, Resulting Numbers: [54, 5, 23]
Generated Node #0,0: 31:[54, 5, 23] Operation: 81-58=23
Exploring Operation: 58-5=53, Resulting Numbers: [54, 81, 53]
Generated Node #0,1: 31:[54, 81, 53] Operation: 58-5=53
Exploring Operation: 81-54=27, Resulting Numbers: [58, 5, 27]
Generated Node #0,2: 31:[58, 5, 27] Operation: 81-54=27
Moving to Node #0,0
Current State: 31:[54, 5, 23], Operations: ['81-58=23']
Exploring Operation: 54-5=49, Resulting Numbers: [23, 49]
Generated Node #0,0,0: 31:[23, 49] Operation: 54-5=49
Exploring Operation: 54-23=31, Resulting Numbers: [5, 31]
Generated Node #0,0,1: 31:[5, 31] Operation: 54-23=31
Exploring Operation: 5+23=28, Resulting Numbers: [54, 28]
Generated Node #0,0,2: 31:[54, 28] Operation: 5+23=28
Moving to Node #0,2
Current State: 31:[58, 5, 27], Operations: ['81-54=27']
Exploring Operation: 58-5=53, Resulting Numbers: [27, 53]
Generated Node #0,2,0: 31:[27, 53] Operation: 58-5=53
Exploring Operation: 5+27=32, Resulting Numbers: [58, 32]
Generated Node #0,2,1: 31:[58, 32] Operation: 5+27=32
Exploring Operation: 58-27=31, Resulting Numbers: [5, 31]
Generated Node #0,2,2: 31:[5, 31] Operation: 58-27=31
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[27, 53], Operations: ['81-54=27', '58-5=53']
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 27*53=1431, Resulting Numbers: [1431]
1431,31 unequal: No Solution
Exploring Operation: 27+53=80, Resulting Numbers: [80]
80,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[5, 31], Operations: ['81-54=27', '58-27=31']
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[58, 32], Operations: ['81-54=27', '5+27=32']
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,31 unequal: No Solution
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,31 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: 31:[54, 81, 53], Operations: ['58-5=53']
Exploring Operation: 81-53=28, Resulting Numbers: [54, 28]
Generated Node #0,1,0: 31:[54, 28] Operation: 81-53=28
Exploring Operation: 54-53=1, Resulting Numbers: [81, 1]
Generated Node #0,1,1: 31:[81, 1] Operation: 54-53=1
Exploring Operation: 81-54=27, Resulting Numbers: [53, 27]
Generated Node #0,1,2: 31:[53, 27] Operation: 81-54=27
Moving to Node #0,0,0
Current State: 31:[23, 49], Operations: ['81-58=23', '54-5=49']
Exploring Operation: 23+49=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 23*49=1127, Resulting Numbers: [1127]
1127,31 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[54, 28], Operations: ['81-58=23', '5+23=28']
Exploring Operation: 54*28=1512, Resulting Numbers: [1512]
1512,31 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 54+28=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[5, 31], Operations: ['81-58=23', '54-23=31']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[54, 28], Operations: ['58-5=53', '81-53=28']
Exploring Operation: 54*28=1512, Resulting Numbers: [1512]
1512,31 unequal: No Solution
Exploring Operation: 54+28=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[53, 27], Operations: ['58-5=53', '81-54=27']
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[81, 1], Operations: ['58-5=53', '54-53=1']
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,31 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,31 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
10,
61,
79,
50
] | 58
|
[
"10+61=71",
"79+50=129",
"129-71=58"
] |
Current State: 58:[10, 61, 79, 50], Operations: []
Exploring Operation: 10+61=71, Resulting Numbers: [79, 50, 71]
Generated Node #2: [79, 50, 71] from Operation: 10+61=71
Current State: 58:[79, 50, 71], Operations: ['10+61=71']
Exploring Operation: 79+50=129, Resulting Numbers: [71, 129]
Generated Node #3: [71, 129] from Operation: 79+50=129
Current State: 58:[71, 129], Operations: ['10+61=71', '79+50=129']
Exploring Operation: 129-71=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4
|
Current State: 58:[10, 61, 79, 50], Operations: []
Exploring Operation: 79-50=29, Resulting Numbers: [10, 61, 29]
Generated Node #0,0: 58:[10, 61, 29] Operation: 79-50=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[10, 61, 29], Operations: ['79-50=29']
Exploring Operation: 61-10=51, Resulting Numbers: [29, 51]
Generated Node #0,0,0: 58:[29, 51] Operation: 61-10=51
Moving to Node #0,0,0
Current State: 58:[29, 51], Operations: ['79-50=29', '61-10=51']
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,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
|
mult_heuristic
|
[
32,
18,
64,
56
] | 16
|
[
"32-18=14",
"64*14=896",
"896/56=16"
] |
Current State: 16:[32, 18, 64, 56], Operations: []
Exploring Operation: 32-18=14, Resulting Numbers: [64, 56, 14]
Generated Node #2: [64, 56, 14] from Operation: 32-18=14
Current State: 16:[64, 56, 14], Operations: ['32-18=14']
Exploring Operation: 64*14=896, Resulting Numbers: [56, 896]
Generated Node #3: [56, 896] from Operation: 64*14=896
Current State: 16:[56, 896], Operations: ['32-18=14', '64*14=896']
Exploring Operation: 896/56=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4
|
Current State: 16:[32, 18, 64, 56], Operations: []
Exploring Operation: 64-56=8, Resulting Numbers: [32, 18, 8]
Generated Node #0,0: 16:[32, 18, 8] Operation: 64-56=8
Moving to Node #0,0
Current State: 16:[32, 18, 8], Operations: ['64-56=8']
Exploring Operation: 32-18=14, Resulting Numbers: [8, 14]
Generated Node #0,0,0: 16:[8, 14] Operation: 32-18=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[8, 14], Operations: ['64-56=8', '32-18=14']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,16 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
|
[
22,
25,
50,
33
] | 51
|
[
"25-22=3",
"50-33=17",
"3*17=51"
] |
Current State: 51:[22, 25, 50, 33], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [50, 33, 3]
Generated Node #2: [50, 33, 3] from Operation: 25-22=3
Current State: 51:[50, 33, 3], Operations: ['25-22=3']
Exploring Operation: 50-33=17, Resulting Numbers: [3, 17]
Generated Node #3: [3, 17] from Operation: 50-33=17
Current State: 51:[3, 17], Operations: ['25-22=3', '50-33=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4
|
Current State: 51:[22, 25, 50, 33], Operations: []
Exploring Operation: 22+33=55, Resulting Numbers: [25, 50, 55]
Generated Node #0,0: 51:[25, 50, 55] Operation: 22+33=55
Exploring Operation: 33-25=8, Resulting Numbers: [22, 50, 8]
Generated Node #0,1: 51:[22, 50, 8] Operation: 33-25=8
Exploring Operation: 25+33=58, Resulting Numbers: [22, 50, 58]
Generated Node #0,2: 51:[22, 50, 58] Operation: 25+33=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[22, 50, 8], Operations: ['33-25=8']
Exploring Operation: 22+8=30, Resulting Numbers: [50, 30]
Generated Node #0,1,0: 51:[50, 30] Operation: 22+8=30
Exploring Operation: 22-8=14, Resulting Numbers: [50, 14]
Generated Node #0,1,1: 51:[50, 14] Operation: 22-8=14
Exploring Operation: 50+8=58, Resulting Numbers: [22, 58]
Generated Node #0,1,2: 51:[22, 58] Operation: 50+8=58
Moving to Node #0,1,1
Current State: 51:[50, 14], Operations: ['33-25=8', '22-8=14']
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 50*14=700, Resulting Numbers: [700]
700,51 unequal: No Solution
Exploring Operation: 50+14=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[22, 58], Operations: ['33-25=8', '50+8=58']
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 22*58=1276, Resulting Numbers: [1276]
1276,51 unequal: No Solution
Exploring Operation: 22+58=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[50, 30], Operations: ['33-25=8', '22+8=30']
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,51 unequal: No Solution
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[25, 50, 55], Operations: ['22+33=55']
Exploring Operation: 50/25=2, Resulting Numbers: [55, 2]
Generated Node #0,0,0: 51:[55, 2] Operation: 50/25=2
Exploring Operation: 55-50=5, Resulting Numbers: [25, 5]
Generated Node #0,0,1: 51:[25, 5] Operation: 55-50=5
Exploring Operation: 50-25=25, Resulting Numbers: [55, 25]
Generated Node #0,0,2: 51:[55, 25] Operation: 50-25=25
Moving to Node #0,0,0
Current State: 51:[55, 2], Operations: ['22+33=55', '50/25=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,51 unequal: No Solution
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[25, 5], Operations: ['22+33=55', '55-50=5']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[55, 25], Operations: ['22+33=55', '50-25=25']
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,51 unequal: No Solution
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,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:[22, 50, 58], Operations: ['25+33=58']
Exploring Operation: 58-22=36, Resulting Numbers: [50, 36]
Generated Node #0,2,0: 51:[50, 36] Operation: 58-22=36
Exploring Operation: 50-22=28, Resulting Numbers: [58, 28]
Generated Node #0,2,1: 51:[58, 28] Operation: 50-22=28
Exploring Operation: 58-50=8, Resulting Numbers: [22, 8]
Generated Node #0,2,2: 51:[22, 8] Operation: 58-50=8
Moving to Node #0,2,2
Current State: 51:[22, 8], Operations: ['25+33=58', '58-50=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,51 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[50, 36], Operations: ['25+33=58', '58-22=36']
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 50+36=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Exploring Operation: 50*36=1800, Resulting Numbers: [1800]
1800,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[58, 28], Operations: ['25+33=58', '50-22=28']
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,51 unequal: No Solution
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,51 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
|
[
21,
74,
76,
19
] | 99
|
[
"21+74=95",
"76/19=4",
"95+4=99"
] |
Current State: 99:[21, 74, 76, 19], Operations: []
Exploring Operation: 21+74=95, Resulting Numbers: [76, 19, 95]
Generated Node #2: [76, 19, 95] from Operation: 21+74=95
Current State: 99:[76, 19, 95], Operations: ['21+74=95']
Exploring Operation: 76/19=4, Resulting Numbers: [95, 4]
Generated Node #3: [95, 4] from Operation: 76/19=4
Current State: 99:[95, 4], Operations: ['21+74=95', '76/19=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4
|
Current State: 99:[21, 74, 76, 19], Operations: []
Exploring Operation: 21+76=97, Resulting Numbers: [74, 19, 97]
Generated Node #0,0: 99:[74, 19, 97] Operation: 21+76=97
Exploring Operation: 76-74=2, Resulting Numbers: [21, 19, 2]
Generated Node #0,1: 99:[21, 19, 2] Operation: 76-74=2
Exploring Operation: 21+74=95, Resulting Numbers: [76, 19, 95]
Generated Node #0,2: 99:[76, 19, 95] Operation: 21+74=95
Moving to Node #0,1
Current State: 99:[21, 19, 2], Operations: ['76-74=2']
Exploring Operation: 21-19=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 99:[2, 2] Operation: 21-19=2
Exploring Operation: 19*2=38, Resulting Numbers: [21, 38]
Generated Node #0,1,1: 99:[21, 38] Operation: 19*2=38
Exploring Operation: 21+19=40, Resulting Numbers: [2, 40]
Generated Node #0,1,2: 99:[2, 40] Operation: 21+19=40
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[2, 2], Operations: ['76-74=2', '21-19=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,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,2
Current State: 99:[2, 40], Operations: ['76-74=2', '21+19=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,99 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,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:[21, 38], Operations: ['76-74=2', '19*2=38']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,99 unequal: No Solution
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,99 unequal: No Solution
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,99 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: 99:[74, 19, 97], Operations: ['21+76=97']
Exploring Operation: 74-19=55, Resulting Numbers: [97, 55]
Generated Node #0,0,0: 99:[97, 55] Operation: 74-19=55
Exploring Operation: 74+19=93, Resulting Numbers: [97, 93]
Generated Node #0,0,1: 99:[97, 93] Operation: 74+19=93
Exploring Operation: 97-74=23, Resulting Numbers: [19, 23]
Generated Node #0,0,2: 99:[19, 23] Operation: 97-74=23
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[97, 93], Operations: ['21+76=97', '74+19=93']
Exploring Operation: 97+93=190, Resulting Numbers: [190]
190,99 unequal: No Solution
Exploring Operation: 97*93=9021, Resulting Numbers: [9021]
9021,99 unequal: No Solution
Exploring Operation: 97-93=4, Resulting Numbers: [4]
4,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 99:[19, 23], Operations: ['21+76=97', '97-74=23']
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 19*23=437, Resulting Numbers: [437]
437,99 unequal: No Solution
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[97, 55], Operations: ['21+76=97', '74-19=55']
Exploring Operation: 97*55=5335, Resulting Numbers: [5335]
5335,99 unequal: No Solution
Exploring Operation: 97-55=42, Resulting Numbers: [42]
42,99 unequal: No Solution
Exploring Operation: 97+55=152, Resulting Numbers: [152]
152,99 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: 99:[76, 19, 95], Operations: ['21+74=95']
Exploring Operation: 95-76=19, Resulting Numbers: [19, 19]
Generated Node #0,2,0: 99:[19, 19] Operation: 95-76=19
Exploring Operation: 76+19=95, Resulting Numbers: [95, 95]
Generated Node #0,2,1: 99:[95, 95] Operation: 76+19=95
Exploring Operation: 76/19=4, Resulting Numbers: [95, 4]
Generated Node #0,2,2: 99:[95, 4] Operation: 76/19=4
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 99:[95, 4], Operations: ['21+74=95', '76/19=4']
Exploring Operation: 95*4=380, Resulting Numbers: [380]
380,99 unequal: No Solution
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[21, 74, 76, 19], Operations: []
Exploring Operation: 21+74=95, Resulting Numbers: [76, 19, 95]
Generated Node #0,2: 99:[76, 19, 95] Operation: 21+74=95
Moving to Node #0,2
Current State: 99:[76, 19, 95], Operations: ['21+74=95']
Exploring Operation: 76/19=4, Resulting Numbers: [95, 4]
Generated Node #0,2,2: 99:[95, 4] Operation: 76/19=4
Moving to Node #0,2,2
Current State: 99:[95, 4], Operations: ['21+74=95', '76/19=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875
|
hs_3
|
sum_heuristic
|
[
21,
70,
70,
50
] | 14
|
[
"21*50=1050",
"1050-70=980",
"980/70=14"
] |
Current State: 14:[21, 70, 70, 50], Operations: []
Exploring Operation: 21*50=1050, Resulting Numbers: [70, 70, 1050]
Generated Node #2: [70, 70, 1050] from Operation: 21*50=1050
Current State: 14:[70, 70, 1050], Operations: ['21*50=1050']
Exploring Operation: 1050-70=980, Resulting Numbers: [980]
980,14 equal: Goal Reached
Exploring Operation: 980/70=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4
|
Current State: 14:[21, 70, 70, 50], Operations: []
Exploring Operation: 70-70=0, Resulting Numbers: [21, 50, 0]
Generated Node #0,0: 14:[21, 50, 0] Operation: 70-70=0
Exploring Operation: 70/70=1, Resulting Numbers: [21, 50, 1]
Generated Node #0,1: 14:[21, 50, 1] Operation: 70/70=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[21, 50, 1], Operations: ['70/70=1']
Exploring Operation: 50-21=29, Resulting Numbers: [1, 29]
Generated Node #0,1,0: 14:[1, 29] Operation: 50-21=29
Exploring Operation: 21-1=20, Resulting Numbers: [50, 20]
Generated Node #0,1,1: 14:[50, 20] Operation: 21-1=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 14:[1, 29], Operations: ['70/70=1', '50-21=29']
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 14:[50, 20], Operations: ['70/70=1', '21-1=20']
Exploring Operation: 50+20=70, Resulting Numbers: [70]
70,14 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[21, 50, 0], Operations: ['70-70=0']
Exploring Operation: 50-21=29, Resulting Numbers: [0, 29]
Generated Node #0,0,0: 14:[0, 29] Operation: 50-21=29
Exploring Operation: 50*0=0, Resulting Numbers: [21, 0]
Generated Node #0,0,1: 14:[21, 0] Operation: 50*0=0
Moving to Node #0,0,1
Current State: 14:[21, 0], Operations: ['70-70=0', '50*0=0']
Exploring Operation: 21+0=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 21*0=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[0, 29], Operations: ['70-70=0', '50-21=29']
Exploring Operation: 0*29=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 0+29=29, Resulting Numbers: [29]
29,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
26,
29,
28,
35
] | 49
|
[
"29-26=3",
"28*3=84",
"84-35=49"
] |
Current State: 49:[26, 29, 28, 35], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [28, 35, 3]
Generated Node #2: [28, 35, 3] from Operation: 29-26=3
Current State: 49:[28, 35, 3], Operations: ['29-26=3']
Exploring Operation: 28*3=84, Resulting Numbers: [35, 84]
Generated Node #3: [35, 84] from Operation: 28*3=84
Current State: 49:[35, 84], Operations: ['29-26=3', '28*3=84']
Exploring Operation: 84-35=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4
|
Current State: 49:[26, 29, 28, 35], Operations: []
Exploring Operation: 26+28=54, Resulting Numbers: [29, 35, 54]
Generated Node #0,0: 49:[29, 35, 54] Operation: 26+28=54
Exploring Operation: 28-26=2, Resulting Numbers: [29, 35, 2]
Generated Node #0,1: 49:[29, 35, 2] Operation: 28-26=2
Exploring Operation: 35-28=7, Resulting Numbers: [26, 29, 7]
Generated Node #0,2: 49:[26, 29, 7] Operation: 35-28=7
Exploring Operation: 29-28=1, Resulting Numbers: [26, 35, 1]
Generated Node #0,3: 49:[26, 35, 1] Operation: 29-28=1
Exploring Operation: 29-26=3, Resulting Numbers: [28, 35, 3]
Generated Node #0,4: 49:[28, 35, 3] Operation: 29-26=3
Moving to Node #0,0
Current State: 49:[29, 35, 54], Operations: ['26+28=54']
Exploring Operation: 29+35=64, Resulting Numbers: [54, 64]
Generated Node #0,0,0: 49:[54, 64] Operation: 29+35=64
Exploring Operation: 54-35=19, Resulting Numbers: [29, 19]
Generated Node #0,0,1: 49:[29, 19] Operation: 54-35=19
Exploring Operation: 29+54=83, Resulting Numbers: [35, 83]
Generated Node #0,0,2: 49:[35, 83] Operation: 29+54=83
Exploring Operation: 35-29=6, Resulting Numbers: [54, 6]
Generated Node #0,0,3: 49:[54, 6] Operation: 35-29=6
Exploring Operation: 54-29=25, Resulting Numbers: [35, 25]
Generated Node #0,0,4: 49:[35, 25] Operation: 54-29=25
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 49:[54, 6], Operations: ['26+28=54', '35-29=6']
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,49 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[54, 64], Operations: ['26+28=54', '29+35=64']
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 54*64=3456, Resulting Numbers: [3456]
3456,49 unequal: No Solution
Exploring Operation: 54+64=118, Resulting Numbers: [118]
118,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[29, 19], Operations: ['26+28=54', '54-35=19']
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,49 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 49:[35, 25], Operations: ['26+28=54', '54-29=25']
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[35, 83], Operations: ['26+28=54', '29+54=83']
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 35*83=2905, Resulting Numbers: [2905]
2905,49 unequal: No Solution
Exploring Operation: 35+83=118, Resulting Numbers: [118]
118,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 49:[26, 29, 7], Operations: ['35-28=7']
Exploring Operation: 29-7=22, Resulting Numbers: [26, 22]
Generated Node #0,2,0: 49:[26, 22] Operation: 29-7=22
Exploring Operation: 29+7=36, Resulting Numbers: [26, 36]
Generated Node #0,2,1: 49:[26, 36] Operation: 29+7=36
Exploring Operation: 26+29=55, Resulting Numbers: [7, 55]
Generated Node #0,2,2: 49:[7, 55] Operation: 26+29=55
Exploring Operation: 26-7=19, Resulting Numbers: [29, 19]
Generated Node #0,2,3: 49:[29, 19] Operation: 26-7=19
Exploring Operation: 29-26=3, Resulting Numbers: [7, 3]
Generated Node #0,2,4: 49:[7, 3] Operation: 29-26=3
Moving to Node #0,4
Current State: 49:[28, 35, 3], Operations: ['29-26=3']
Exploring Operation: 28+35=63, Resulting Numbers: [3, 63]
Generated Node #0,4,0: 49:[3, 63] Operation: 28+35=63
Exploring Operation: 35+3=38, Resulting Numbers: [28, 38]
Generated Node #0,4,1: 49:[28, 38] Operation: 35+3=38
Exploring Operation: 28+3=31, Resulting Numbers: [35, 31]
Generated Node #0,4,2: 49:[35, 31] Operation: 28+3=31
Exploring Operation: 35-28=7, Resulting Numbers: [3, 7]
Generated Node #0,4,3: 49:[3, 7] Operation: 35-28=7
Exploring Operation: 28-3=25, Resulting Numbers: [35, 25]
Generated Node #0,4,4: 49:[35, 25] Operation: 28-3=25
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 49:[3, 7], Operations: ['29-26=3', '35-28=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 49:[3, 63], Operations: ['29-26=3', '28+35=63']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,49 unequal: No Solution
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 49:[28, 38], Operations: ['29-26=3', '35+3=38']
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,49 unequal: No Solution
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 49:[35, 31], Operations: ['29-26=3', '28+3=31']
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,49 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 49:[35, 25], Operations: ['29-26=3', '28-3=25']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,49 unequal: No Solution
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 49:[29, 35, 2], Operations: ['28-26=2']
Exploring Operation: 29+2=31, Resulting Numbers: [35, 31]
Generated Node #0,1,0: 49:[35, 31] Operation: 29+2=31
Exploring Operation: 35-29=6, Resulting Numbers: [2, 6]
Generated Node #0,1,1: 49:[2, 6] Operation: 35-29=6
Exploring Operation: 29+35=64, Resulting Numbers: [2, 64]
Generated Node #0,1,2: 49:[2, 64] Operation: 29+35=64
Exploring Operation: 35+2=37, Resulting Numbers: [29, 37]
Generated Node #0,1,3: 49:[29, 37] Operation: 35+2=37
Exploring Operation: 29*2=58, Resulting Numbers: [35, 58]
Generated Node #0,1,4: 49:[35, 58] Operation: 29*2=58
Moving to Node #0,3
Current State: 49:[26, 35, 1], Operations: ['29-28=1']
Exploring Operation: 35+1=36, Resulting Numbers: [26, 36]
Generated Node #0,3,0: 49:[26, 36] Operation: 35+1=36
Exploring Operation: 26-1=25, Resulting Numbers: [35, 25]
Generated Node #0,3,1: 49:[35, 25] Operation: 26-1=25
Exploring Operation: 26*1=26, Resulting Numbers: [35, 26]
Generated Node #0,3,2: 49:[35, 26] Operation: 26*1=26
Exploring Operation: 26+35=61, Resulting Numbers: [1, 61]
Generated Node #0,3,3: 49:[1, 61] Operation: 26+35=61
Exploring Operation: 35-26=9, Resulting Numbers: [1, 9]
Generated Node #0,3,4: 49:[1, 9] Operation: 35-26=9
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 49:[1, 9], Operations: ['29-28=1', '35-26=9']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[1, 61], Operations: ['29-28=1', '26+35=61']
Exploring Operation: 1*61=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 1+61=62, Resulting Numbers: [62]
62,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[26, 36], Operations: ['29-28=1', '35+1=36']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,49 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 49:[35, 25], Operations: ['29-28=1', '26-1=25']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,49 unequal: No Solution
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[35, 26], Operations: ['29-28=1', '26*1=26']
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 35*26=910, Resulting Numbers: [910]
910,49 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 49:[7, 3], Operations: ['35-28=7', '29-26=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[2, 6], Operations: ['28-26=2', '35-29=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[7, 55], Operations: ['35-28=7', '26+29=55']
Exploring Operation: 7+55=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 7*55=385, Resulting Numbers: [385]
385,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[2, 64], Operations: ['28-26=2', '29+35=64']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,49 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Moving to Node #0,1,4
Current State: 49:[35, 58], Operations: ['28-26=2', '29*2=58']
Exploring Operation: 35*58=2030, Resulting Numbers: [2030]
2030,49 unequal: No Solution
Exploring Operation: 35+58=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[26, 36], Operations: ['35-28=7', '29+7=36']
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[35, 31], Operations: ['28-26=2', '29+2=31']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,49 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[29, 37], Operations: ['28-26=2', '35+2=37']
Exploring Operation: 29*37=1073, Resulting Numbers: [1073]
1073,49 unequal: No Solution
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[29, 19], Operations: ['35-28=7', '26-7=19']
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[26, 22], Operations: ['35-28=7', '29-7=22']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,49 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
70,
12,
94,
94
] | 47
|
[
"94-70=24",
"12*94=1128",
"1128/24=47"
] |
Current State: 47:[70, 12, 94, 94], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [12, 24]
Generated Node #2: [12, 24] from Operation: 94-70=24
Current State: 47:[12, 24], Operations: ['94-70=24']
Exploring Operation: 12*94=1128, Resulting Numbers: [24, 1128]
Generated Node #3: [24, 1128] from Operation: 12*94=1128
Current State: 47:[24, 1128], Operations: ['94-70=24', '12*94=1128']
Exploring Operation: 1128/24=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4
|
Current State: 47:[70, 12, 94, 94], Operations: []
Exploring Operation: 94/94=1, Resulting Numbers: [70, 12, 1]
Generated Node #0,0: 47:[70, 12, 1] Operation: 94/94=1
Moving to Node #0,0
Current State: 47:[70, 12, 1], Operations: ['94/94=1']
Exploring Operation: 70-12=58, Resulting Numbers: [1, 58]
Generated Node #0,0,0: 47:[1, 58] Operation: 70-12=58
Moving to Node #0,0,0
Current State: 47:[1, 58], Operations: ['94/94=1', '70-12=58']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,47 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
1,
81,
37,
25
] | 18
|
[
"81-1=80",
"37+25=62",
"80-62=18"
] |
Current State: 18:[1, 81, 37, 25], Operations: []
Exploring Operation: 81-1=80, Resulting Numbers: [37, 25, 80]
Generated Node #2: [37, 25, 80] from Operation: 81-1=80
Current State: 18:[37, 25, 80], Operations: ['81-1=80']
Exploring Operation: 37+25=62, Resulting Numbers: [80, 62]
Generated Node #3: [80, 62] from Operation: 37+25=62
Current State: 18:[80, 62], Operations: ['81-1=80', '37+25=62']
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4
|
Current State: 18:[1, 81, 37, 25], Operations: []
Exploring Operation: 81-25=56, Resulting Numbers: [1, 37, 56]
Generated Node #0,0: 18:[1, 37, 56] Operation: 81-25=56
Exploring Operation: 81-37=44, Resulting Numbers: [1, 25, 44]
Generated Node #0,1: 18:[1, 25, 44] Operation: 81-37=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[1, 25, 44], Operations: ['81-37=44']
Exploring Operation: 44-25=19, Resulting Numbers: [1, 19]
Generated Node #0,1,0: 18:[1, 19] Operation: 44-25=19
Exploring Operation: 25-1=24, Resulting Numbers: [44, 24]
Generated Node #0,1,1: 18:[44, 24] Operation: 25-1=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[1, 19], Operations: ['81-37=44', '44-25=19']
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[1, 81, 37, 25], Operations: []
Exploring Operation: 81-37=44, Resulting Numbers: [1, 25, 44]
Generated Node #0,1: 18:[1, 25, 44] Operation: 81-37=44
Moving to Node #0,1
Current State: 18:[1, 25, 44], Operations: ['81-37=44']
Exploring Operation: 44-25=19, Resulting Numbers: [1, 19]
Generated Node #0,1,0: 18:[1, 19] Operation: 44-25=19
Moving to Node #0,1,0
Current State: 18:[1, 19], Operations: ['81-37=44', '44-25=19']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
mult_heuristic
|
[
93,
4,
19,
89
] | 19
|
[
"93-4=89",
"19+89=108",
"108-89=19"
] |
Current State: 19:[93, 4, 19, 89], Operations: []
Exploring Operation: 93-4=89, Resulting Numbers: [19, 89, 89]
Generated Node #2: [19, 89, 89] from Operation: 93-4=89
Current State: 19:[19, 89, 89], Operations: ['93-4=89']
Exploring Operation: 19+89=108, Resulting Numbers: [108]
108,19 equal: Goal Reached
Exploring Operation: 108-89=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4
|
Current State: 19:[93, 4, 19, 89], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [4, 19, 4]
Generated Node #0,0: 19:[4, 19, 4] Operation: 93-89=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[4, 19, 4], Operations: ['93-89=4']
Exploring Operation: 4*4=16, Resulting Numbers: [19, 16]
Generated Node #0,0,0: 19:[19, 16] Operation: 4*4=16
Moving to Node #0,0,0
Current State: 19:[19, 16], Operations: ['93-89=4', '4*4=16']
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
98,
65,
58,
50
] | 64
|
[
"65-58=7",
"98/7=14",
"50+14=64"
] |
Current State: 64:[98, 65, 58, 50], Operations: []
Exploring Operation: 65-58=7, Resulting Numbers: [98, 50, 7]
Generated Node #2: [98, 50, 7] from Operation: 65-58=7
Current State: 64:[98, 50, 7], Operations: ['65-58=7']
Exploring Operation: 98/7=14, Resulting Numbers: [50, 14]
Generated Node #3: [50, 14] from Operation: 98/7=14
Current State: 64:[50, 14], Operations: ['65-58=7', '98/7=14']
Exploring Operation: 50+14=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4
|
Current State: 64:[98, 65, 58, 50], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [98, 65, 8]
Generated Node #0,0: 64:[98, 65, 8] Operation: 58-50=8
Exploring Operation: 98-50=48, Resulting Numbers: [65, 58, 48]
Generated Node #0,1: 64:[65, 58, 48] Operation: 98-50=48
Exploring Operation: 98-65=33, Resulting Numbers: [58, 50, 33]
Generated Node #0,2: 64:[58, 50, 33] Operation: 98-65=33
Exploring Operation: 98-58=40, Resulting Numbers: [65, 50, 40]
Generated Node #0,3: 64:[65, 50, 40] Operation: 98-58=40
Moving to Node #0,2
Current State: 64:[58, 50, 33], Operations: ['98-65=33']
Exploring Operation: 50+33=83, Resulting Numbers: [58, 83]
Generated Node #0,2,0: 64:[58, 83] Operation: 50+33=83
Exploring Operation: 58-33=25, Resulting Numbers: [50, 25]
Generated Node #0,2,1: 64:[50, 25] Operation: 58-33=25
Exploring Operation: 50-33=17, Resulting Numbers: [58, 17]
Generated Node #0,2,2: 64:[58, 17] Operation: 50-33=17
Exploring Operation: 58-50=8, Resulting Numbers: [33, 8]
Generated Node #0,2,3: 64:[33, 8] Operation: 58-50=8
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 64:[33, 8], Operations: ['98-65=33', '58-50=8']
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,64 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,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,2
Current State: 64:[58, 17], Operations: ['98-65=33', '50-33=17']
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 58*17=986, Resulting Numbers: [986]
986,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,1
Current State: 64:[50, 25], Operations: ['98-65=33', '58-33=25']
Exploring Operation: 50*25=1250, Resulting Numbers: [1250]
1250,64 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 50+25=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,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,0
Current State: 64:[58, 83], Operations: ['98-65=33', '50+33=83']
Exploring Operation: 58+83=141, Resulting Numbers: [141]
141,64 unequal: No Solution
Exploring Operation: 83-58=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 58*83=4814, Resulting Numbers: [4814]
4814,64 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: 64:[65, 50, 40], Operations: ['98-58=40']
Exploring Operation: 50-40=10, Resulting Numbers: [65, 10]
Generated Node #0,3,0: 64:[65, 10] Operation: 50-40=10
Exploring Operation: 65-50=15, Resulting Numbers: [40, 15]
Generated Node #0,3,1: 64:[40, 15] Operation: 65-50=15
Exploring Operation: 50+40=90, Resulting Numbers: [65, 90]
Generated Node #0,3,2: 64:[65, 90] Operation: 50+40=90
Exploring Operation: 65-40=25, Resulting Numbers: [50, 25]
Generated Node #0,3,3: 64:[50, 25] Operation: 65-40=25
Moving to Node #0,1
Current State: 64:[65, 58, 48], Operations: ['98-50=48']
Exploring Operation: 58+48=106, Resulting Numbers: [65, 106]
Generated Node #0,1,0: 64:[65, 106] Operation: 58+48=106
Exploring Operation: 65-48=17, Resulting Numbers: [58, 17]
Generated Node #0,1,1: 64:[58, 17] Operation: 65-48=17
Exploring Operation: 65-58=7, Resulting Numbers: [48, 7]
Generated Node #0,1,2: 64:[48, 7] Operation: 65-58=7
Exploring Operation: 58-48=10, Resulting Numbers: [65, 10]
Generated Node #0,1,3: 64:[65, 10] Operation: 58-48=10
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[65, 10], Operations: ['98-50=48', '58-48=10']
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,64 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[58, 17], Operations: ['98-50=48', '65-48=17']
Exploring Operation: 58*17=986, Resulting Numbers: [986]
986,64 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[48, 7], Operations: ['98-50=48', '65-58=7']
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,64 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[65, 106], Operations: ['98-50=48', '58+48=106']
Exploring Operation: 65*106=6890, Resulting Numbers: [6890]
6890,64 unequal: No Solution
Exploring Operation: 106-65=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 65+106=171, Resulting Numbers: [171]
171,64 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: 64:[98, 65, 8], Operations: ['58-50=8']
Exploring Operation: 98+8=106, Resulting Numbers: [65, 106]
Generated Node #0,0,0: 64:[65, 106] Operation: 98+8=106
Exploring Operation: 98-65=33, Resulting Numbers: [8, 33]
Generated Node #0,0,1: 64:[8, 33] Operation: 98-65=33
Exploring Operation: 98-8=90, Resulting Numbers: [65, 90]
Generated Node #0,0,2: 64:[65, 90] Operation: 98-8=90
Exploring Operation: 65-8=57, Resulting Numbers: [98, 57]
Generated Node #0,0,3: 64:[98, 57] Operation: 65-8=57
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[8, 33], Operations: ['58-50=8', '98-65=33']
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,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,0,2
Current State: 64:[65, 90], Operations: ['58-50=8', '98-8=90']
Exploring Operation: 65+90=155, Resulting Numbers: [155]
155,64 unequal: No Solution
Exploring Operation: 65*90=5850, Resulting Numbers: [5850]
5850,64 unequal: No Solution
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,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,0,3
Current State: 64:[98, 57], Operations: ['58-50=8', '65-8=57']
Exploring Operation: 98-57=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 98+57=155, Resulting Numbers: [155]
155,64 unequal: No Solution
Exploring Operation: 98*57=5586, Resulting Numbers: [5586]
5586,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,0,0
Current State: 64:[65, 106], Operations: ['58-50=8', '98+8=106']
Exploring Operation: 106-65=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 65+106=171, Resulting Numbers: [171]
171,64 unequal: No Solution
Exploring Operation: 65*106=6890, Resulting Numbers: [6890]
6890,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 64:[65, 10], Operations: ['98-58=40', '50-40=10']
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,64 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[40, 15], Operations: ['98-58=40', '65-50=15']
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,64 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,64 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[50, 25], Operations: ['98-58=40', '65-40=25']
Exploring Operation: 50+25=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 50*25=1250, Resulting Numbers: [1250]
1250,64 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[65, 90], Operations: ['98-58=40', '50+40=90']
Exploring Operation: 65*90=5850, Resulting Numbers: [5850]
5850,64 unequal: No Solution
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 65+90=155, Resulting Numbers: [155]
155,64 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
93,
9,
89,
26
] | 95
|
[
"93-89=4",
"26*4=104",
"104-9=95"
] |
Current State: 95:[93, 9, 89, 26], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [9, 26, 4]
Generated Node #2: [9, 26, 4] from Operation: 93-89=4
Current State: 95:[9, 26, 4], Operations: ['93-89=4']
Exploring Operation: 26*4=104, Resulting Numbers: [9, 104]
Generated Node #3: [9, 104] from Operation: 26*4=104
Current State: 95:[9, 104], Operations: ['93-89=4', '26*4=104']
Exploring Operation: 104-9=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4
|
Current State: 95:[93, 9, 89, 26], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [9, 26, 4]
Generated Node #0,0: 95:[9, 26, 4] Operation: 93-89=4
Exploring Operation: 93+9=102, Resulting Numbers: [89, 26, 102]
Generated Node #0,1: 95:[89, 26, 102] Operation: 93+9=102
Exploring Operation: 26-9=17, Resulting Numbers: [93, 89, 17]
Generated Node #0,2: 95:[93, 89, 17] Operation: 26-9=17
Exploring Operation: 9+89=98, Resulting Numbers: [93, 26, 98]
Generated Node #0,3: 95:[93, 26, 98] Operation: 9+89=98
Exploring Operation: 93-9=84, Resulting Numbers: [89, 26, 84]
Generated Node #0,4: 95:[89, 26, 84] Operation: 93-9=84
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[93, 89, 17], Operations: ['26-9=17']
Exploring Operation: 93+17=110, Resulting Numbers: [89, 110]
Generated Node #0,2,0: 95:[89, 110] Operation: 93+17=110
Exploring Operation: 89+17=106, Resulting Numbers: [93, 106]
Generated Node #0,2,1: 95:[93, 106] Operation: 89+17=106
Exploring Operation: 89-17=72, Resulting Numbers: [93, 72]
Generated Node #0,2,2: 95:[93, 72] Operation: 89-17=72
Exploring Operation: 93-89=4, Resulting Numbers: [17, 4]
Generated Node #0,2,3: 95:[17, 4] Operation: 93-89=4
Exploring Operation: 93-17=76, Resulting Numbers: [89, 76]
Generated Node #0,2,4: 95:[89, 76] Operation: 93-17=76
Moving to Node #0,2,3
Current State: 95:[17, 4], Operations: ['26-9=17', '93-89=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,95 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[93, 106], Operations: ['26-9=17', '89+17=106']
Exploring Operation: 93+106=199, Resulting Numbers: [199]
199,95 unequal: No Solution
Exploring Operation: 106-93=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 93*106=9858, Resulting Numbers: [9858]
9858,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[89, 110], Operations: ['26-9=17', '93+17=110']
Exploring Operation: 89+110=199, Resulting Numbers: [199]
199,95 unequal: No Solution
Exploring Operation: 89*110=9790, Resulting Numbers: [9790]
9790,95 unequal: No Solution
Exploring Operation: 110-89=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[93, 72], Operations: ['26-9=17', '89-17=72']
Exploring Operation: 93+72=165, Resulting Numbers: [165]
165,95 unequal: No Solution
Exploring Operation: 93-72=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 93*72=6696, Resulting Numbers: [6696]
6696,95 unequal: No Solution
Moving to Node #0,2,4
Current State: 95:[89, 76], Operations: ['26-9=17', '93-17=76']
Exploring Operation: 89*76=6764, Resulting Numbers: [6764]
6764,95 unequal: No Solution
Exploring Operation: 89-76=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 89+76=165, Resulting Numbers: [165]
165,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[9, 26, 4], Operations: ['93-89=4']
Exploring Operation: 26-9=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 95:[4, 17] Operation: 26-9=17
Exploring Operation: 26*4=104, Resulting Numbers: [9, 104]
Generated Node #0,0,1: 95:[9, 104] Operation: 26*4=104
Exploring Operation: 9+4=13, Resulting Numbers: [26, 13]
Generated Node #0,0,2: 95:[26, 13] Operation: 9+4=13
Exploring Operation: 26-4=22, Resulting Numbers: [9, 22]
Generated Node #0,0,3: 95:[9, 22] Operation: 26-4=22
Exploring Operation: 9-4=5, Resulting Numbers: [26, 5]
Generated Node #0,0,4: 95:[26, 5] Operation: 9-4=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[4, 17], Operations: ['93-89=4', '26-9=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,95 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 95:[9, 22], Operations: ['93-89=4', '26-4=22']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,95 unequal: No Solution
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,95 unequal: No Solution
No 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: 95:[26, 5], Operations: ['93-89=4', '9-4=5']
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,95 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,95 unequal: No Solution
No 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: 95:[9, 104], Operations: ['93-89=4', '26*4=104']
Exploring Operation: 9*104=936, Resulting Numbers: [936]
936,95 unequal: No Solution
Exploring Operation: 9+104=113, Resulting Numbers: [113]
113,95 unequal: No Solution
Exploring Operation: 104-9=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[93, 9, 89, 26], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [9, 26, 4]
Generated Node #0,0: 95:[9, 26, 4] Operation: 93-89=4
Moving to Node #0,0
Current State: 95:[9, 26, 4], Operations: ['93-89=4']
Exploring Operation: 26*4=104, Resulting Numbers: [9, 104]
Generated Node #0,0,1: 95:[9, 104] Operation: 26*4=104
Moving to Node #0,0,1
Current State: 95:[9, 104], Operations: ['93-89=4', '26*4=104']
Exploring Operation: 104-9=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069
|
hs_5
|
sum_heuristic
|
[
4,
8,
36,
82
] | 77
|
[
"8/4=2",
"82/2=41",
"36+41=77"
] |
Current State: 77:[4, 8, 36, 82], Operations: []
Exploring Operation: 8/4=2, Resulting Numbers: [36, 82, 2]
Generated Node #2: [36, 82, 2] from Operation: 8/4=2
Current State: 77:[36, 82, 2], Operations: ['8/4=2']
Exploring Operation: 82/2=41, Resulting Numbers: [36, 41]
Generated Node #3: [36, 41] from Operation: 82/2=41
Current State: 77:[36, 41], Operations: ['8/4=2', '82/2=41']
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4
|
Current State: 77:[4, 8, 36, 82], Operations: []
Exploring Operation: 36-8=28, Resulting Numbers: [4, 82, 28]
Generated Node #0,0: 77:[4, 82, 28] Operation: 36-8=28
Exploring Operation: 36/4=9, Resulting Numbers: [8, 82, 9]
Generated Node #0,1: 77:[8, 82, 9] Operation: 36/4=9
Exploring Operation: 36-4=32, Resulting Numbers: [8, 82, 32]
Generated Node #0,2: 77:[8, 82, 32] Operation: 36-4=32
Exploring Operation: 82-4=78, Resulting Numbers: [8, 36, 78]
Generated Node #0,3: 77:[8, 36, 78] Operation: 82-4=78
Moving to Node #0,1
Current State: 77:[8, 82, 9], Operations: ['36/4=9']
Exploring Operation: 82-9=73, Resulting Numbers: [8, 73]
Generated Node #0,1,0: 77:[8, 73] Operation: 82-9=73
Exploring Operation: 82-8=74, Resulting Numbers: [9, 74]
Generated Node #0,1,1: 77:[9, 74] Operation: 82-8=74
Exploring Operation: 8+9=17, Resulting Numbers: [82, 17]
Generated Node #0,1,2: 77:[82, 17] Operation: 8+9=17
Exploring Operation: 8*9=72, Resulting Numbers: [82, 72]
Generated Node #0,1,3: 77:[82, 72] Operation: 8*9=72
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[8, 73], Operations: ['36/4=9', '82-9=73']
Exploring Operation: 8+73=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,77 unequal: No Solution
Exploring Operation: 8*73=584, Resulting Numbers: [584]
584,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[9, 74], Operations: ['36/4=9', '82-8=74']
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,77 unequal: No Solution
Exploring Operation: 9+74=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 9*74=666, Resulting Numbers: [666]
666,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 77:[82, 72], Operations: ['36/4=9', '8*9=72']
Exploring Operation: 82*72=5904, Resulting Numbers: [5904]
5904,77 unequal: No Solution
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 82+72=154, Resulting Numbers: [154]
154,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 77:[82, 17], Operations: ['36/4=9', '8+9=17']
Exploring Operation: 82+17=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 82*17=1394, Resulting Numbers: [1394]
1394,77 unequal: No Solution
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 77:[4, 82, 28], Operations: ['36-8=28']
Exploring Operation: 82-4=78, Resulting Numbers: [28, 78]
Generated Node #0,0,0: 77:[28, 78] Operation: 82-4=78
Exploring Operation: 28-4=24, Resulting Numbers: [82, 24]
Generated Node #0,0,1: 77:[82, 24] Operation: 28-4=24
Exploring Operation: 28/4=7, Resulting Numbers: [82, 7]
Generated Node #0,0,2: 77:[82, 7] Operation: 28/4=7
Exploring Operation: 4+82=86, Resulting Numbers: [28, 86]
Generated Node #0,0,3: 77:[28, 86] Operation: 4+82=86
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[82, 7], Operations: ['36-8=28', '28/4=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,77 unequal: No Solution
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[28, 78], Operations: ['36-8=28', '82-4=78']
Exploring Operation: 28+78=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 28*78=2184, Resulting Numbers: [2184]
2184,77 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[82, 24], Operations: ['36-8=28', '28-4=24']
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,77 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,77 unequal: No Solution
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 77:[28, 86], Operations: ['36-8=28', '4+82=86']
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,77 unequal: No Solution
Exploring Operation: 28*86=2408, Resulting Numbers: [2408]
2408,77 unequal: No Solution
Exploring Operation: 28+86=114, Resulting Numbers: [114]
114,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 77:[8, 36, 78], Operations: ['82-4=78']
Exploring Operation: 36-8=28, Resulting Numbers: [78, 28]
Generated Node #0,3,0: 77:[78, 28] Operation: 36-8=28
Exploring Operation: 78-8=70, Resulting Numbers: [36, 70]
Generated Node #0,3,1: 77:[36, 70] Operation: 78-8=70
Exploring Operation: 78-36=42, Resulting Numbers: [8, 42]
Generated Node #0,3,2: 77:[8, 42] Operation: 78-36=42
Exploring Operation: 8+36=44, Resulting Numbers: [78, 44]
Generated Node #0,3,3: 77:[78, 44] Operation: 8+36=44
Moving to Node #0,2
Current State: 77:[8, 82, 32], Operations: ['36-4=32']
Exploring Operation: 82-32=50, Resulting Numbers: [8, 50]
Generated Node #0,2,0: 77:[8, 50] Operation: 82-32=50
Exploring Operation: 32/8=4, Resulting Numbers: [82, 4]
Generated Node #0,2,1: 77:[82, 4] Operation: 32/8=4
Exploring Operation: 82-8=74, Resulting Numbers: [32, 74]
Generated Node #0,2,2: 77:[32, 74] Operation: 82-8=74
Exploring Operation: 32-8=24, Resulting Numbers: [82, 24]
Generated Node #0,2,3: 77:[82, 24] Operation: 32-8=24
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 77:[82, 4], Operations: ['36-4=32', '32/8=4']
Exploring Operation: 82*4=328, Resulting Numbers: [328]
328,77 unequal: No Solution
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 77:[82, 24], Operations: ['36-4=32', '32-8=24']
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,77 unequal: No Solution
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 77:[32, 74], Operations: ['36-4=32', '82-8=74']
Exploring Operation: 32*74=2368, Resulting Numbers: [2368]
2368,77 unequal: No Solution
Exploring Operation: 32+74=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[8, 50], Operations: ['36-4=32', '82-32=50']
Exploring Operation: 8+50=58, Resulting Numbers: [58]
58,77 unequal: No Solution
Exploring Operation: 8*50=400, Resulting Numbers: [400]
400,77 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 77:[78, 28], Operations: ['82-4=78', '36-8=28']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 78*28=2184, Resulting Numbers: [2184]
2184,77 unequal: No Solution
Exploring Operation: 78+28=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[8, 42], Operations: ['82-4=78', '78-36=42']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,77 unequal: No Solution
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[36, 70], Operations: ['82-4=78', '78-8=70']
Exploring Operation: 36*70=2520, Resulting Numbers: [2520]
2520,77 unequal: No Solution
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,77 unequal: No Solution
Exploring Operation: 36+70=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[78, 44], Operations: ['82-4=78', '8+36=44']
Exploring Operation: 78+44=122, Resulting Numbers: [122]
122,77 unequal: No Solution
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,77 unequal: No Solution
Exploring Operation: 78*44=3432, Resulting Numbers: [3432]
3432,77 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
31,
90,
45,
50
] | 65
|
[
"50-45=5",
"31*5=155",
"155-90=65"
] |
Current State: 65:[31, 90, 45, 50], Operations: []
Exploring Operation: 50-45=5, Resulting Numbers: [31, 90, 5]
Generated Node #2: [31, 90, 5] from Operation: 50-45=5
Current State: 65:[31, 90, 5], Operations: ['50-45=5']
Exploring Operation: 31*5=155, Resulting Numbers: [90, 155]
Generated Node #3: [90, 155] from Operation: 31*5=155
Current State: 65:[90, 155], Operations: ['50-45=5', '31*5=155']
Exploring Operation: 155-90=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4
|
Current State: 65:[31, 90, 45, 50], Operations: []
Exploring Operation: 50-45=5, Resulting Numbers: [31, 90, 5]
Generated Node #0,0: 65:[31, 90, 5] Operation: 50-45=5
Exploring Operation: 90/45=2, Resulting Numbers: [31, 50, 2]
Generated Node #0,1: 65:[31, 50, 2] Operation: 90/45=2
Exploring Operation: 90-31=59, Resulting Numbers: [45, 50, 59]
Generated Node #0,2: 65:[45, 50, 59] Operation: 90-31=59
Exploring Operation: 45-31=14, Resulting Numbers: [90, 50, 14]
Generated Node #0,3: 65:[90, 50, 14] Operation: 45-31=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[31, 50, 2], Operations: ['90/45=2']
Exploring Operation: 31+50=81, Resulting Numbers: [2, 81]
Generated Node #0,1,0: 65:[2, 81] Operation: 31+50=81
Exploring Operation: 31*2=62, Resulting Numbers: [50, 62]
Generated Node #0,1,1: 65:[50, 62] Operation: 31*2=62
Exploring Operation: 50-31=19, Resulting Numbers: [2, 19]
Generated Node #0,1,2: 65:[2, 19] Operation: 50-31=19
Exploring Operation: 50/2=25, Resulting Numbers: [31, 25]
Generated Node #0,1,3: 65:[31, 25] Operation: 50/2=25
Moving to Node #0,1,2
Current State: 65:[2, 19], Operations: ['90/45=2', '50-31=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[50, 62], Operations: ['90/45=2', '31*2=62']
Exploring Operation: 50+62=112, Resulting Numbers: [112]
112,65 unequal: No Solution
Exploring Operation: 50*62=3100, Resulting Numbers: [3100]
3100,65 unequal: No Solution
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[2, 81], Operations: ['90/45=2', '31+50=81']
Exploring Operation: 2*81=162, Resulting Numbers: [162]
162,65 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,65 unequal: No Solution
Exploring Operation: 2+81=83, Resulting Numbers: [83]
83,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[31, 25], Operations: ['90/45=2', '50/2=25']
Exploring Operation: 31*25=775, Resulting Numbers: [775]
775,65 unequal: No Solution
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 31+25=56, Resulting Numbers: [56]
56,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[45, 50, 59], Operations: ['90-31=59']
Exploring Operation: 45+50=95, Resulting Numbers: [59, 95]
Generated Node #0,2,0: 65:[59, 95] Operation: 45+50=95
Exploring Operation: 59-50=9, Resulting Numbers: [45, 9]
Generated Node #0,2,1: 65:[45, 9] Operation: 59-50=9
Exploring Operation: 50-45=5, Resulting Numbers: [59, 5]
Generated Node #0,2,2: 65:[59, 5] Operation: 50-45=5
Exploring Operation: 59-45=14, Resulting Numbers: [50, 14]
Generated Node #0,2,3: 65:[50, 14] Operation: 59-45=14
Moving to Node #0,2,2
Current State: 65:[59, 5], Operations: ['90-31=59', '50-45=5']
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,65 unequal: No Solution
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[50, 14], Operations: ['90-31=59', '59-45=14']
Exploring Operation: 50+14=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 50*14=700, Resulting Numbers: [700]
700,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[45, 9], Operations: ['90-31=59', '59-50=9']
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,65 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[59, 95], Operations: ['90-31=59', '45+50=95']
Exploring Operation: 59*95=5605, Resulting Numbers: [5605]
5605,65 unequal: No Solution
Exploring Operation: 59+95=154, Resulting Numbers: [154]
154,65 unequal: No Solution
Exploring Operation: 95-59=36, Resulting Numbers: [36]
36,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[90, 50, 14], Operations: ['45-31=14']
Exploring Operation: 90-14=76, Resulting Numbers: [50, 76]
Generated Node #0,3,0: 65:[50, 76] Operation: 90-14=76
Exploring Operation: 50+14=64, Resulting Numbers: [90, 64]
Generated Node #0,3,1: 65:[90, 64] Operation: 50+14=64
Exploring Operation: 50-14=36, Resulting Numbers: [90, 36]
Generated Node #0,3,2: 65:[90, 36] Operation: 50-14=36
Exploring Operation: 90-50=40, Resulting Numbers: [14, 40]
Generated Node #0,3,3: 65:[14, 40] Operation: 90-50=40
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 65:[50, 76], Operations: ['45-31=14', '90-14=76']
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 50*76=3800, Resulting Numbers: [3800]
3800,65 unequal: No Solution
Exploring Operation: 50+76=126, Resulting Numbers: [126]
126,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 65:[90, 64], Operations: ['45-31=14', '50+14=64']
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 90*64=5760, Resulting Numbers: [5760]
5760,65 unequal: No Solution
Exploring Operation: 90+64=154, Resulting Numbers: [154]
154,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 65:[14, 40], Operations: ['45-31=14', '90-50=40']
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 65:[90, 36], Operations: ['45-31=14', '50-14=36']
Exploring Operation: 90*36=3240, Resulting Numbers: [3240]
3240,65 unequal: No Solution
Exploring Operation: 90+36=126, Resulting Numbers: [126]
126,65 unequal: No Solution
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[31, 90, 5], Operations: ['50-45=5']
Exploring Operation: 31-5=26, Resulting Numbers: [90, 26]
Generated Node #0,0,0: 65:[90, 26] Operation: 31-5=26
Exploring Operation: 90-5=85, Resulting Numbers: [31, 85]
Generated Node #0,0,1: 65:[31, 85] Operation: 90-5=85
Exploring Operation: 90/5=18, Resulting Numbers: [31, 18]
Generated Node #0,0,2: 65:[31, 18] Operation: 90/5=18
Exploring Operation: 90-31=59, Resulting Numbers: [5, 59]
Generated Node #0,0,3: 65:[5, 59] Operation: 90-31=59
Moving to Node #0,0,3
Current State: 65:[5, 59], Operations: ['50-45=5', '90-31=59']
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,65 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[31, 18], Operations: ['50-45=5', '90/5=18']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,65 unequal: No Solution
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[31, 85], Operations: ['50-45=5', '90-5=85']
Exploring Operation: 85-31=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 31+85=116, Resulting Numbers: [116]
116,65 unequal: No Solution
Exploring Operation: 31*85=2635, Resulting Numbers: [2635]
2635,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[90, 26], Operations: ['50-45=5', '31-5=26']
Exploring Operation: 90+26=116, Resulting Numbers: [116]
116,65 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 90*26=2340, Resulting Numbers: [2340]
2340,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
33,
42,
11,
59
] | 61
|
[
"42-33=9",
"11+59=70",
"70-9=61"
] |
Current State: 61:[33, 42, 11, 59], Operations: []
Exploring Operation: 42-33=9, Resulting Numbers: [11, 59, 9]
Generated Node #2: [11, 59, 9] from Operation: 42-33=9
Current State: 61:[11, 59, 9], Operations: ['42-33=9']
Exploring Operation: 11+59=70, Resulting Numbers: [9, 70]
Generated Node #3: [9, 70] from Operation: 11+59=70
Current State: 61:[9, 70], Operations: ['42-33=9', '11+59=70']
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4
|
Current State: 61:[33, 42, 11, 59], Operations: []
Exploring Operation: 33+11=44, Resulting Numbers: [42, 59, 44]
Generated Node #0,0: 61:[42, 59, 44] Operation: 33+11=44
Moving to Node #0,0
Current State: 61:[42, 59, 44], Operations: ['33+11=44']
Exploring Operation: 42+44=86, Resulting Numbers: [59, 86]
Generated Node #0,0,0: 61:[59, 86] Operation: 42+44=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[59, 86], Operations: ['33+11=44', '42+44=86']
Exploring Operation: 86-59=27, Resulting Numbers: [27]
27,61 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
|
[
8,
54,
42,
21
] | 25
|
[
"54-8=46",
"42-21=21",
"46-21=25"
] |
Current State: 25:[8, 54, 42, 21], Operations: []
Exploring Operation: 54-8=46, Resulting Numbers: [42, 21, 46]
Generated Node #2: [42, 21, 46] from Operation: 54-8=46
Current State: 25:[42, 21, 46], Operations: ['54-8=46']
Exploring Operation: 42-21=21, Resulting Numbers: [46, 21]
Generated Node #3: [46, 21] from Operation: 42-21=21
Current State: 25:[46, 21], Operations: ['54-8=46', '42-21=21']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4
|
Current State: 25:[8, 54, 42, 21], Operations: []
Exploring Operation: 54-21=33, Resulting Numbers: [8, 42, 33]
Generated Node #0,0: 25:[8, 42, 33] Operation: 54-21=33
Exploring Operation: 54-42=12, Resulting Numbers: [8, 21, 12]
Generated Node #0,1: 25:[8, 21, 12] Operation: 54-42=12
Exploring Operation: 42-21=21, Resulting Numbers: [8, 54, 21]
Generated Node #0,2: 25:[8, 54, 21] Operation: 42-21=21
Exploring Operation: 42/21=2, Resulting Numbers: [8, 54, 2]
Generated Node #0,3: 25:[8, 54, 2] Operation: 42/21=2
Moving to Node #0,1
Current State: 25:[8, 21, 12], Operations: ['54-42=12']
Exploring Operation: 8+21=29, Resulting Numbers: [12, 29]
Generated Node #0,1,0: 25:[12, 29] Operation: 8+21=29
Exploring Operation: 21-12=9, Resulting Numbers: [8, 9]
Generated Node #0,1,1: 25:[8, 9] Operation: 21-12=9
Exploring Operation: 8+12=20, Resulting Numbers: [21, 20]
Generated Node #0,1,2: 25:[21, 20] Operation: 8+12=20
Exploring Operation: 12-8=4, Resulting Numbers: [21, 4]
Generated Node #0,1,3: 25:[21, 4] Operation: 12-8=4
Moving to Node #0,0
Current State: 25:[8, 42, 33], Operations: ['54-21=33']
Exploring Operation: 42-8=34, Resulting Numbers: [33, 34]
Generated Node #0,0,0: 25:[33, 34] Operation: 42-8=34
Exploring Operation: 42-33=9, Resulting Numbers: [8, 9]
Generated Node #0,0,1: 25:[8, 9] Operation: 42-33=9
Exploring Operation: 33-8=25, Resulting Numbers: [42, 25]
Generated Node #0,0,2: 25:[42, 25] Operation: 33-8=25
Exploring Operation: 8+42=50, Resulting Numbers: [33, 50]
Generated Node #0,0,3: 25:[33, 50] Operation: 8+42=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[8, 9], Operations: ['54-21=33', '42-33=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[33, 34], Operations: ['54-21=33', '42-8=34']
Exploring Operation: 33*34=1122, Resulting Numbers: [1122]
1122,25 unequal: No Solution
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[42, 25], Operations: ['54-21=33', '33-8=25']
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 25:[33, 50], Operations: ['54-21=33', '8+42=50']
Exploring Operation: 33*50=1650, Resulting Numbers: [1650]
1650,25 unequal: No Solution
Exploring Operation: 33+50=83, Resulting Numbers: [83]
83,25 unequal: No Solution
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,25 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: 25:[8, 54, 2], Operations: ['42/21=2']
Exploring Operation: 8-2=6, Resulting Numbers: [54, 6]
Generated Node #0,3,0: 25:[54, 6] Operation: 8-2=6
Exploring Operation: 8/2=4, Resulting Numbers: [54, 4]
Generated Node #0,3,1: 25:[54, 4] Operation: 8/2=4
Exploring Operation: 54/2=27, Resulting Numbers: [8, 27]
Generated Node #0,3,2: 25:[8, 27] Operation: 54/2=27
Exploring Operation: 54-8=46, Resulting Numbers: [2, 46]
Generated Node #0,3,3: 25:[2, 46] Operation: 54-8=46
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 25:[8, 27], Operations: ['42/21=2', '54/2=27']
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 25:[2, 46], Operations: ['42/21=2', '54-8=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,25 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 25:[54, 6], Operations: ['42/21=2', '8-2=6']
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,25 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 25:[54, 4], Operations: ['42/21=2', '8/2=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,25 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,25 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: 25:[8, 54, 21], Operations: ['42-21=21']
Exploring Operation: 21-8=13, Resulting Numbers: [54, 13]
Generated Node #0,2,0: 25:[54, 13] Operation: 21-8=13
Exploring Operation: 54-21=33, Resulting Numbers: [8, 33]
Generated Node #0,2,1: 25:[8, 33] Operation: 54-21=33
Exploring Operation: 8+21=29, Resulting Numbers: [54, 29]
Generated Node #0,2,2: 25:[54, 29] Operation: 8+21=29
Exploring Operation: 54-8=46, Resulting Numbers: [21, 46]
Generated Node #0,2,3: 25:[21, 46] Operation: 54-8=46
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[8, 33], Operations: ['42-21=21', '54-21=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[8, 54, 42, 21], Operations: []
Exploring Operation: 42-21=21, Resulting Numbers: [8, 54, 21]
Generated Node #0,2: 25:[8, 54, 21] Operation: 42-21=21
Moving to Node #0,2
Current State: 25:[8, 54, 21], Operations: ['42-21=21']
Exploring Operation: 54-21=33, Resulting Numbers: [8, 33]
Generated Node #0,2,1: 25:[8, 33] Operation: 54-21=33
Moving to Node #0,2,1
Current State: 25:[8, 33], Operations: ['42-21=21', '54-21=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729
|
hs_4
|
sum_heuristic
|
[
68,
90,
35,
54
] | 47
|
[
"35*54=1890",
"1890/90=21",
"68-21=47"
] |
Current State: 47:[68, 90, 35, 54], Operations: []
Exploring Operation: 35*54=1890, Resulting Numbers: [68, 90, 1890]
Generated Node #2: [68, 90, 1890] from Operation: 35*54=1890
Current State: 47:[68, 90, 1890], Operations: ['35*54=1890']
Exploring Operation: 1890/90=21, Resulting Numbers: [68, 21]
Generated Node #3: [68, 21] from Operation: 1890/90=21
Current State: 47:[68, 21], Operations: ['35*54=1890', '1890/90=21']
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4
|
Current State: 47:[68, 90, 35, 54], Operations: []
Exploring Operation: 90-68=22, Resulting Numbers: [35, 54, 22]
Generated Node #0,0: 47:[35, 54, 22] Operation: 90-68=22
Exploring Operation: 68-35=33, Resulting Numbers: [90, 54, 33]
Generated Node #0,1: 47:[90, 54, 33] Operation: 68-35=33
Exploring Operation: 90-35=55, Resulting Numbers: [68, 54, 55]
Generated Node #0,2: 47:[68, 54, 55] Operation: 90-35=55
Exploring Operation: 90-54=36, Resulting Numbers: [68, 35, 36]
Generated Node #0,3: 47:[68, 35, 36] Operation: 90-54=36
Moving to Node #0,2
Current State: 47:[68, 54, 55], Operations: ['90-35=55']
Exploring Operation: 68-54=14, Resulting Numbers: [55, 14]
Generated Node #0,2,0: 47:[55, 14] Operation: 68-54=14
Exploring Operation: 68-55=13, Resulting Numbers: [54, 13]
Generated Node #0,2,1: 47:[54, 13] Operation: 68-55=13
Exploring Operation: 68+54=122, Resulting Numbers: [55, 122]
Generated Node #0,2,2: 47:[55, 122] Operation: 68+54=122
Exploring Operation: 55-54=1, Resulting Numbers: [68, 1]
Generated Node #0,2,3: 47:[68, 1] Operation: 55-54=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[55, 14], Operations: ['90-35=55', '68-54=14']
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,47 unequal: No Solution
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[54, 13], Operations: ['90-35=55', '68-55=13']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 54*13=702, Resulting Numbers: [702]
702,47 unequal: No Solution
Exploring Operation: 54+13=67, Resulting Numbers: [67]
67,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 47:[68, 1], Operations: ['90-35=55', '55-54=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,47 unequal: No Solution
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,47 unequal: No Solution
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[55, 122], Operations: ['90-35=55', '68+54=122']
Exploring Operation: 55*122=6710, Resulting Numbers: [6710]
6710,47 unequal: No Solution
Exploring Operation: 55+122=177, Resulting Numbers: [177]
177,47 unequal: No Solution
Exploring Operation: 122-55=67, Resulting Numbers: [67]
67,47 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: 47:[68, 35, 36], Operations: ['90-54=36']
Exploring Operation: 68-35=33, Resulting Numbers: [36, 33]
Generated Node #0,3,0: 47:[36, 33] Operation: 68-35=33
Exploring Operation: 68+35=103, Resulting Numbers: [36, 103]
Generated Node #0,3,1: 47:[36, 103] Operation: 68+35=103
Exploring Operation: 35+36=71, Resulting Numbers: [68, 71]
Generated Node #0,3,2: 47:[68, 71] Operation: 35+36=71
Exploring Operation: 68-36=32, Resulting Numbers: [35, 32]
Generated Node #0,3,3: 47:[35, 32] Operation: 68-36=32
Moving to Node #0,0
Current State: 47:[35, 54, 22], Operations: ['90-68=22']
Exploring Operation: 35+22=57, Resulting Numbers: [54, 57]
Generated Node #0,0,0: 47:[54, 57] Operation: 35+22=57
Exploring Operation: 54+22=76, Resulting Numbers: [35, 76]
Generated Node #0,0,1: 47:[35, 76] Operation: 54+22=76
Exploring Operation: 54-22=32, Resulting Numbers: [35, 32]
Generated Node #0,0,2: 47:[35, 32] Operation: 54-22=32
Exploring Operation: 35-22=13, Resulting Numbers: [54, 13]
Generated Node #0,0,3: 47:[54, 13] Operation: 35-22=13
Moving to Node #0,1
Current State: 47:[90, 54, 33], Operations: ['68-35=33']
Exploring Operation: 90+33=123, Resulting Numbers: [54, 123]
Generated Node #0,1,0: 47:[54, 123] Operation: 90+33=123
Exploring Operation: 54-33=21, Resulting Numbers: [90, 21]
Generated Node #0,1,1: 47:[90, 21] Operation: 54-33=21
Exploring Operation: 90-33=57, Resulting Numbers: [54, 57]
Generated Node #0,1,2: 47:[54, 57] Operation: 90-33=57
Exploring Operation: 90-54=36, Resulting Numbers: [33, 36]
Generated Node #0,1,3: 47:[33, 36] Operation: 90-54=36
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[54, 57], Operations: ['68-35=33', '90-33=57']
Exploring Operation: 54*57=3078, Resulting Numbers: [3078]
3078,47 unequal: No Solution
Exploring Operation: 54+57=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 47:[33, 36], Operations: ['68-35=33', '90-54=36']
Exploring Operation: 33*36=1188, Resulting Numbers: [1188]
1188,47 unequal: No Solution
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[90, 21], Operations: ['68-35=33', '54-33=21']
Exploring Operation: 90*21=1890, Resulting Numbers: [1890]
1890,47 unequal: No Solution
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Exploring Operation: 90+21=111, Resulting Numbers: [111]
111,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[54, 123], Operations: ['68-35=33', '90+33=123']
Exploring Operation: 54*123=6642, Resulting Numbers: [6642]
6642,47 unequal: No Solution
Exploring Operation: 54+123=177, Resulting Numbers: [177]
177,47 unequal: No Solution
Exploring Operation: 123-54=69, Resulting Numbers: [69]
69,47 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: 47:[54, 57], Operations: ['90-68=22', '35+22=57']
Exploring Operation: 54*57=3078, Resulting Numbers: [3078]
3078,47 unequal: No Solution
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 54+57=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[36, 33], Operations: ['90-54=36', '68-35=33']
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,47 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[35, 32], Operations: ['90-68=22', '54-22=32']
Exploring Operation: 35*32=1120, Resulting Numbers: [1120]
1120,47 unequal: No Solution
Exploring Operation: 35+32=67, Resulting Numbers: [67]
67,47 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[35, 32], Operations: ['90-54=36', '68-36=32']
Exploring Operation: 35*32=1120, Resulting Numbers: [1120]
1120,47 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 35+32=67, Resulting Numbers: [67]
67,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[35, 76], Operations: ['90-68=22', '54+22=76']
Exploring Operation: 35*76=2660, Resulting Numbers: [2660]
2660,47 unequal: No Solution
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 35+76=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[54, 13], Operations: ['90-68=22', '35-22=13']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 54+13=67, Resulting Numbers: [67]
67,47 unequal: No Solution
Exploring Operation: 54*13=702, Resulting Numbers: [702]
702,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[68, 71], Operations: ['90-54=36', '35+36=71']
Exploring Operation: 68*71=4828, Resulting Numbers: [4828]
4828,47 unequal: No Solution
Exploring Operation: 68+71=139, Resulting Numbers: [139]
139,47 unequal: No Solution
Exploring Operation: 71-68=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[36, 103], Operations: ['90-54=36', '68+35=103']
Exploring Operation: 36*103=3708, Resulting Numbers: [3708]
3708,47 unequal: No Solution
Exploring Operation: 36+103=139, Resulting Numbers: [139]
139,47 unequal: No Solution
Exploring Operation: 103-36=67, Resulting Numbers: [67]
67,47 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
9,
55,
63,
30
] | 99
|
[
"63-9=54",
"55*54=2970",
"2970/30=99"
] |
Current State: 99:[9, 55, 63, 30], Operations: []
Exploring Operation: 63-9=54, Resulting Numbers: [55, 30, 54]
Generated Node #2: [55, 30, 54] from Operation: 63-9=54
Current State: 99:[55, 30, 54], Operations: ['63-9=54']
Exploring Operation: 55*54=2970, Resulting Numbers: [30, 2970]
Generated Node #3: [30, 2970] from Operation: 55*54=2970
Current State: 99:[30, 2970], Operations: ['63-9=54', '55*54=2970']
Exploring Operation: 2970/30=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4
|
Current State: 99:[9, 55, 63, 30], Operations: []
Exploring Operation: 55+63=118, Resulting Numbers: [9, 30, 118]
Generated Node #0,0: 99:[9, 30, 118] Operation: 55+63=118
Exploring Operation: 63-55=8, Resulting Numbers: [9, 30, 8]
Generated Node #0,1: 99:[9, 30, 8] Operation: 63-55=8
Exploring Operation: 63-30=33, Resulting Numbers: [9, 55, 33]
Generated Node #0,2: 99:[9, 55, 33] Operation: 63-30=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[9, 30, 8], Operations: ['63-55=8']
Exploring Operation: 9-8=1, Resulting Numbers: [30, 1]
Generated Node #0,1,0: 99:[30, 1] Operation: 9-8=1
Exploring Operation: 30+8=38, Resulting Numbers: [9, 38]
Generated Node #0,1,1: 99:[9, 38] Operation: 30+8=38
Exploring Operation: 9+30=39, Resulting Numbers: [8, 39]
Generated Node #0,1,2: 99:[8, 39] Operation: 9+30=39
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[30, 1], Operations: ['63-55=8', '9-8=1']
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[9, 38], Operations: ['63-55=8', '30+8=38']
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 9*38=342, Resulting Numbers: [342]
342,99 unequal: No Solution
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 99:[8, 39], Operations: ['63-55=8', '9+30=39']
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,99 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[9, 30, 118], Operations: ['55+63=118']
Exploring Operation: 9+30=39, Resulting Numbers: [118, 39]
Generated Node #0,0,0: 99:[118, 39] Operation: 9+30=39
Exploring Operation: 118-9=109, Resulting Numbers: [30, 109]
Generated Node #0,0,1: 99:[30, 109] Operation: 118-9=109
Exploring Operation: 118-30=88, Resulting Numbers: [9, 88]
Generated Node #0,0,2: 99:[9, 88] Operation: 118-30=88
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 99:[9, 88], Operations: ['55+63=118', '118-30=88']
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,99 unequal: No Solution
Exploring Operation: 9*88=792, Resulting Numbers: [792]
792,99 unequal: No Solution
Exploring Operation: 9+88=97, Resulting Numbers: [97]
97,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[30, 109], Operations: ['55+63=118', '118-9=109']
Exploring Operation: 30+109=139, Resulting Numbers: [139]
139,99 unequal: No Solution
Exploring Operation: 109-30=79, Resulting Numbers: [79]
79,99 unequal: No Solution
Exploring Operation: 30*109=3270, Resulting Numbers: [3270]
3270,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[118, 39], Operations: ['55+63=118', '9+30=39']
Exploring Operation: 118+39=157, Resulting Numbers: [157]
157,99 unequal: No Solution
Exploring Operation: 118-39=79, Resulting Numbers: [79]
79,99 unequal: No Solution
Exploring Operation: 118*39=4602, Resulting Numbers: [4602]
4602,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[9, 55, 33], Operations: ['63-30=33']
Exploring Operation: 55-33=22, Resulting Numbers: [9, 22]
Generated Node #0,2,0: 99:[9, 22] Operation: 55-33=22
Exploring Operation: 55-9=46, Resulting Numbers: [33, 46]
Generated Node #0,2,1: 99:[33, 46] Operation: 55-9=46
Exploring Operation: 55+33=88, Resulting Numbers: [9, 88]
Generated Node #0,2,2: 99:[9, 88] Operation: 55+33=88
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 99:[9, 22], Operations: ['63-30=33', '55-33=22']
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,99 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 99:[9, 88], Operations: ['63-30=33', '55+33=88']
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,99 unequal: No Solution
Exploring Operation: 9*88=792, Resulting Numbers: [792]
792,99 unequal: No Solution
Exploring Operation: 9+88=97, Resulting Numbers: [97]
97,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[33, 46], Operations: ['63-30=33', '55-9=46']
Exploring Operation: 33*46=1518, Resulting Numbers: [1518]
1518,99 unequal: No Solution
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 33+46=79, Resulting Numbers: [79]
79,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
40,
30,
35,
52
] | 77
|
[
"40-30=10",
"35+52=87",
"87-10=77"
] |
Current State: 77:[40, 30, 35, 52], Operations: []
Exploring Operation: 40-30=10, Resulting Numbers: [35, 52, 10]
Generated Node #2: [35, 52, 10] from Operation: 40-30=10
Current State: 77:[35, 52, 10], Operations: ['40-30=10']
Exploring Operation: 35+52=87, Resulting Numbers: [10, 87]
Generated Node #3: [10, 87] from Operation: 35+52=87
Current State: 77:[10, 87], Operations: ['40-30=10', '35+52=87']
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4
|
Current State: 77:[40, 30, 35, 52], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [30, 35, 12]
Generated Node #0,0: 77:[30, 35, 12] Operation: 52-40=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[30, 35, 12], Operations: ['52-40=12']
Exploring Operation: 35-30=5, Resulting Numbers: [12, 5]
Generated Node #0,0,0: 77:[12, 5] Operation: 35-30=5
Moving to Node #0,0,0
Current State: 77:[12, 5], Operations: ['52-40=12', '35-30=5']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
57,
80,
37,
77
] | 73
|
[
"57-37=20",
"80/20=4",
"77-4=73"
] |
Current State: 73:[57, 80, 37, 77], Operations: []
Exploring Operation: 57-37=20, Resulting Numbers: [80, 77, 20]
Generated Node #2: [80, 77, 20] from Operation: 57-37=20
Current State: 73:[80, 77, 20], Operations: ['57-37=20']
Exploring Operation: 80/20=4, Resulting Numbers: [77, 4]
Generated Node #3: [77, 4] from Operation: 80/20=4
Current State: 73:[77, 4], Operations: ['57-37=20', '80/20=4']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4
|
Current State: 73:[57, 80, 37, 77], Operations: []
Exploring Operation: 57+37=94, Resulting Numbers: [80, 77, 94]
Generated Node #0,0: 73:[80, 77, 94] Operation: 57+37=94
Exploring Operation: 80-37=43, Resulting Numbers: [57, 77, 43]
Generated Node #0,1: 73:[57, 77, 43] Operation: 80-37=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[80, 77, 94], Operations: ['57+37=94']
Exploring Operation: 94-80=14, Resulting Numbers: [77, 14]
Generated Node #0,0,0: 73:[77, 14] Operation: 94-80=14
Exploring Operation: 94-77=17, Resulting Numbers: [80, 17]
Generated Node #0,0,1: 73:[80, 17] Operation: 94-77=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[77, 14], Operations: ['57+37=94', '94-80=14']
Exploring Operation: 77-14=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 77+14=91, Resulting Numbers: [91]
91,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[80, 17], Operations: ['57+37=94', '94-77=17']
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 80+17=97, Resulting Numbers: [97]
97,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[57, 77, 43], Operations: ['80-37=43']
Exploring Operation: 57+43=100, Resulting Numbers: [77, 100]
Generated Node #0,1,0: 73:[77, 100] Operation: 57+43=100
Exploring Operation: 77-43=34, Resulting Numbers: [57, 34]
Generated Node #0,1,1: 73:[57, 34] Operation: 77-43=34
Moving to Node #0,1,0
Current State: 73:[77, 100], Operations: ['80-37=43', '57+43=100']
Exploring Operation: 77+100=177, Resulting Numbers: [177]
177,73 unequal: No Solution
Exploring Operation: 100-77=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[57, 34], Operations: ['80-37=43', '77-43=34']
Exploring Operation: 57+34=91, Resulting Numbers: [91]
91,73 unequal: No Solution
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,73 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
|
[
45,
72,
58,
90
] | 65
|
[
"90/45=2",
"72+58=130",
"130/2=65"
] |
Current State: 65:[45, 72, 58, 90], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [72, 58, 2]
Generated Node #2: [72, 58, 2] from Operation: 90/45=2
Current State: 65:[72, 58, 2], Operations: ['90/45=2']
Exploring Operation: 72+58=130, Resulting Numbers: [2, 130]
Generated Node #3: [2, 130] from Operation: 72+58=130
Current State: 65:[2, 130], Operations: ['90/45=2', '72+58=130']
Exploring Operation: 130/2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4
|
Current State: 65:[45, 72, 58, 90], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [72, 58, 2]
Generated Node #0,0: 65:[72, 58, 2] Operation: 90/45=2
Exploring Operation: 90-72=18, Resulting Numbers: [45, 58, 18]
Generated Node #0,1: 65:[45, 58, 18] Operation: 90-72=18
Exploring Operation: 58-45=13, Resulting Numbers: [72, 90, 13]
Generated Node #0,2: 65:[72, 90, 13] Operation: 58-45=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[72, 58, 2], Operations: ['90/45=2']
Exploring Operation: 58+2=60, Resulting Numbers: [72, 60]
Generated Node #0,0,0: 65:[72, 60] Operation: 58+2=60
Exploring Operation: 72-58=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 65:[2, 14] Operation: 72-58=14
Exploring Operation: 72-2=70, Resulting Numbers: [58, 70]
Generated Node #0,0,2: 65:[58, 70] Operation: 72-2=70
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[2, 14], Operations: ['90/45=2', '72-58=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[72, 60], Operations: ['90/45=2', '58+2=60']
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 72+60=132, Resulting Numbers: [132]
132,65 unequal: No Solution
Exploring Operation: 72*60=4320, Resulting Numbers: [4320]
4320,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[58, 70], Operations: ['90/45=2', '72-2=70']
Exploring Operation: 58+70=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 58*70=4060, Resulting Numbers: [4060]
4060,65 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[45, 58, 18], Operations: ['90-72=18']
Exploring Operation: 58-45=13, Resulting Numbers: [18, 13]
Generated Node #0,1,0: 65:[18, 13] Operation: 58-45=13
Exploring Operation: 45-18=27, Resulting Numbers: [58, 27]
Generated Node #0,1,1: 65:[58, 27] Operation: 45-18=27
Exploring Operation: 45+18=63, Resulting Numbers: [58, 63]
Generated Node #0,1,2: 65:[58, 63] Operation: 45+18=63
Moving to Node #0,1,0
Current State: 65:[18, 13], Operations: ['90-72=18', '58-45=13']
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[58, 63], Operations: ['90-72=18', '45+18=63']
Exploring Operation: 58+63=121, Resulting Numbers: [121]
121,65 unequal: No Solution
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 58*63=3654, Resulting Numbers: [3654]
3654,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[58, 27], Operations: ['90-72=18', '45-18=27']
Exploring Operation: 58*27=1566, Resulting Numbers: [1566]
1566,65 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 58+27=85, Resulting Numbers: [85]
85,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[72, 90, 13], Operations: ['58-45=13']
Exploring Operation: 90-13=77, Resulting Numbers: [72, 77]
Generated Node #0,2,0: 65:[72, 77] Operation: 90-13=77
Exploring Operation: 90-72=18, Resulting Numbers: [13, 18]
Generated Node #0,2,1: 65:[13, 18] Operation: 90-72=18
Exploring Operation: 72-13=59, Resulting Numbers: [90, 59]
Generated Node #0,2,2: 65:[90, 59] Operation: 72-13=59
Moving to Node #0,2,1
Current State: 65:[13, 18], Operations: ['58-45=13', '90-72=18']
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,65 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[72, 77], Operations: ['58-45=13', '90-13=77']
Exploring Operation: 72*77=5544, Resulting Numbers: [5544]
5544,65 unequal: No Solution
Exploring Operation: 72+77=149, Resulting Numbers: [149]
149,65 unequal: No Solution
Exploring Operation: 77-72=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[90, 59], Operations: ['58-45=13', '72-13=59']
Exploring Operation: 90*59=5310, Resulting Numbers: [5310]
5310,65 unequal: No Solution
Exploring Operation: 90+59=149, Resulting Numbers: [149]
149,65 unequal: No Solution
Exploring Operation: 90-59=31, Resulting Numbers: [31]
31,65 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
|
[
34,
99,
39,
23
] | 40
|
[
"99+39=138",
"138/23=6",
"34+6=40"
] |
Current State: 40:[34, 99, 39, 23], Operations: []
Exploring Operation: 99+39=138, Resulting Numbers: [34, 23, 138]
Generated Node #2: [34, 23, 138] from Operation: 99+39=138
Current State: 40:[34, 23, 138], Operations: ['99+39=138']
Exploring Operation: 138/23=6, Resulting Numbers: [34, 6]
Generated Node #3: [34, 6] from Operation: 138/23=6
Current State: 40:[34, 6], Operations: ['99+39=138', '138/23=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4
|
Current State: 40:[34, 99, 39, 23], Operations: []
Exploring Operation: 39-34=5, Resulting Numbers: [99, 23, 5]
Generated Node #0,0: 40:[99, 23, 5] Operation: 39-34=5
Exploring Operation: 99-39=60, Resulting Numbers: [34, 23, 60]
Generated Node #0,1: 40:[34, 23, 60] Operation: 99-39=60
Exploring Operation: 99-34=65, Resulting Numbers: [39, 23, 65]
Generated Node #0,2: 40:[39, 23, 65] Operation: 99-34=65
Exploring Operation: 34-23=11, Resulting Numbers: [99, 39, 11]
Generated Node #0,3: 40:[99, 39, 11] Operation: 34-23=11
Exploring Operation: 99-23=76, Resulting Numbers: [34, 39, 76]
Generated Node #0,4: 40:[34, 39, 76] Operation: 99-23=76
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[34, 23, 60], Operations: ['99-39=60']
Exploring Operation: 60-23=37, Resulting Numbers: [34, 37]
Generated Node #0,1,0: 40:[34, 37] Operation: 60-23=37
Exploring Operation: 60-34=26, Resulting Numbers: [23, 26]
Generated Node #0,1,1: 40:[23, 26] Operation: 60-34=26
Exploring Operation: 23+60=83, Resulting Numbers: [34, 83]
Generated Node #0,1,2: 40:[34, 83] Operation: 23+60=83
Exploring Operation: 34-23=11, Resulting Numbers: [60, 11]
Generated Node #0,1,3: 40:[60, 11] Operation: 34-23=11
Exploring Operation: 34+23=57, Resulting Numbers: [60, 57]
Generated Node #0,1,4: 40:[60, 57] Operation: 34+23=57
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 40:[34, 37], Operations: ['99-39=60', '60-23=37']
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,40 unequal: No Solution
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 40:[23, 26], Operations: ['99-39=60', '60-34=26']
Exploring Operation: 23+26=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 23*26=598, Resulting Numbers: [598]
598,40 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 40:[60, 11], Operations: ['99-39=60', '34-23=11']
Exploring Operation: 60*11=660, Resulting Numbers: [660]
660,40 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 40:[60, 57], Operations: ['99-39=60', '34+23=57']
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 60*57=3420, Resulting Numbers: [3420]
3420,40 unequal: No Solution
Exploring Operation: 60+57=117, Resulting Numbers: [117]
117,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 40:[34, 83], Operations: ['99-39=60', '23+60=83']
Exploring Operation: 34+83=117, Resulting Numbers: [117]
117,40 unequal: No Solution
Exploring Operation: 34*83=2822, Resulting Numbers: [2822]
2822,40 unequal: No Solution
Exploring Operation: 83-34=49, Resulting Numbers: [49]
49,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[39, 23, 65], Operations: ['99-34=65']
Exploring Operation: 65-39=26, Resulting Numbers: [23, 26]
Generated Node #0,2,0: 40:[23, 26] Operation: 65-39=26
Exploring Operation: 39-23=16, Resulting Numbers: [65, 16]
Generated Node #0,2,1: 40:[65, 16] Operation: 39-23=16
Exploring Operation: 39+23=62, Resulting Numbers: [65, 62]
Generated Node #0,2,2: 40:[65, 62] Operation: 39+23=62
Exploring Operation: 23+65=88, Resulting Numbers: [39, 88]
Generated Node #0,2,3: 40:[39, 88] Operation: 23+65=88
Exploring Operation: 65-23=42, Resulting Numbers: [39, 42]
Generated Node #0,2,4: 40:[39, 42] Operation: 65-23=42
Moving to Node #0,2,4
Current State: 40:[39, 42], Operations: ['99-34=65', '65-23=42']
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[23, 26], Operations: ['99-34=65', '65-39=26']
Exploring Operation: 23*26=598, Resulting Numbers: [598]
598,40 unequal: No Solution
Exploring Operation: 23+26=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[65, 16], Operations: ['99-34=65', '39-23=16']
Exploring Operation: 65*16=1040, Resulting Numbers: [1040]
1040,40 unequal: No Solution
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 65+16=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[65, 62], Operations: ['99-34=65', '39+23=62']
Exploring Operation: 65-62=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 65*62=4030, Resulting Numbers: [4030]
4030,40 unequal: No Solution
Exploring Operation: 65+62=127, Resulting Numbers: [127]
127,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[39, 88], Operations: ['99-34=65', '23+65=88']
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 39+88=127, Resulting Numbers: [127]
127,40 unequal: No Solution
Exploring Operation: 39*88=3432, Resulting Numbers: [3432]
3432,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 40:[34, 39, 76], Operations: ['99-23=76']
Exploring Operation: 39-34=5, Resulting Numbers: [76, 5]
Generated Node #0,4,0: 40:[76, 5] Operation: 39-34=5
Exploring Operation: 76-34=42, Resulting Numbers: [39, 42]
Generated Node #0,4,1: 40:[39, 42] Operation: 76-34=42
Exploring Operation: 76-39=37, Resulting Numbers: [34, 37]
Generated Node #0,4,2: 40:[34, 37] Operation: 76-39=37
Exploring Operation: 34+39=73, Resulting Numbers: [76, 73]
Generated Node #0,4,3: 40:[76, 73] Operation: 34+39=73
Exploring Operation: 34+76=110, Resulting Numbers: [39, 110]
Generated Node #0,4,4: 40:[39, 110] Operation: 34+76=110
Moving to Node #0,4,1
Current State: 40:[39, 42], Operations: ['99-23=76', '76-34=42']
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,40 unequal: No Solution
Moving to Node #0,4,2
Current State: 40:[34, 37], Operations: ['99-23=76', '76-39=37']
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,40 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,40 unequal: No Solution
Moving to Node #0,4,0
Current State: 40:[76, 5], Operations: ['99-23=76', '39-34=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,40 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,40 unequal: No Solution
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Moving to Node #0,4,3
Current State: 40:[76, 73], Operations: ['99-23=76', '34+39=73']
Exploring Operation: 76+73=149, Resulting Numbers: [149]
149,40 unequal: No Solution
Exploring Operation: 76-73=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 76*73=5548, Resulting Numbers: [5548]
5548,40 unequal: No Solution
Moving to Node #0,4,4
Current State: 40:[39, 110], Operations: ['99-23=76', '34+76=110']
Exploring Operation: 110-39=71, Resulting Numbers: [71]
71,40 unequal: No Solution
Exploring Operation: 39*110=4290, Resulting Numbers: [4290]
4290,40 unequal: No Solution
Exploring Operation: 39+110=149, Resulting Numbers: [149]
149,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[99, 39, 11], Operations: ['34-23=11']
Exploring Operation: 99/11=9, Resulting Numbers: [39, 9]
Generated Node #0,3,0: 40:[39, 9] Operation: 99/11=9
Exploring Operation: 99-11=88, Resulting Numbers: [39, 88]
Generated Node #0,3,1: 40:[39, 88] Operation: 99-11=88
Exploring Operation: 99-39=60, Resulting Numbers: [11, 60]
Generated Node #0,3,2: 40:[11, 60] Operation: 99-39=60
Exploring Operation: 39-11=28, Resulting Numbers: [99, 28]
Generated Node #0,3,3: 40:[99, 28] Operation: 39-11=28
Exploring Operation: 39+11=50, Resulting Numbers: [99, 50]
Generated Node #0,3,4: 40:[99, 50] Operation: 39+11=50
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 40:[39, 9], Operations: ['34-23=11', '99/11=9']
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,40 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 40:[11, 60], Operations: ['34-23=11', '99-39=60']
Exploring Operation: 11+60=71, Resulting Numbers: [71]
71,40 unequal: No Solution
Exploring Operation: 11*60=660, Resulting Numbers: [660]
660,40 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 40:[39, 88], Operations: ['34-23=11', '99-11=88']
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 39*88=3432, Resulting Numbers: [3432]
3432,40 unequal: No Solution
Exploring Operation: 39+88=127, Resulting Numbers: [127]
127,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 40:[99, 28], Operations: ['34-23=11', '39-11=28']
Exploring Operation: 99-28=71, Resulting Numbers: [71]
71,40 unequal: No Solution
Exploring Operation: 99+28=127, Resulting Numbers: [127]
127,40 unequal: No Solution
Exploring Operation: 99*28=2772, Resulting Numbers: [2772]
2772,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 40:[99, 50], Operations: ['34-23=11', '39+11=50']
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 99+50=149, Resulting Numbers: [149]
149,40 unequal: No Solution
Exploring Operation: 99*50=4950, Resulting Numbers: [4950]
4950,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[99, 23, 5], Operations: ['39-34=5']
Exploring Operation: 99-5=94, Resulting Numbers: [23, 94]
Generated Node #0,0,0: 40:[23, 94] Operation: 99-5=94
Exploring Operation: 23+5=28, Resulting Numbers: [99, 28]
Generated Node #0,0,1: 40:[99, 28] Operation: 23+5=28
Exploring Operation: 99+5=104, Resulting Numbers: [23, 104]
Generated Node #0,0,2: 40:[23, 104] Operation: 99+5=104
Exploring Operation: 99-23=76, Resulting Numbers: [5, 76]
Generated Node #0,0,3: 40:[5, 76] Operation: 99-23=76
Exploring Operation: 23-5=18, Resulting Numbers: [99, 18]
Generated Node #0,0,4: 40:[99, 18] Operation: 23-5=18
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 40:[5, 76], Operations: ['39-34=5', '99-23=76']
Exploring Operation: 5*76=380, Resulting Numbers: [380]
380,40 unequal: No Solution
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[23, 94], Operations: ['39-34=5', '99-5=94']
Exploring Operation: 94-23=71, Resulting Numbers: [71]
71,40 unequal: No Solution
Exploring Operation: 23+94=117, Resulting Numbers: [117]
117,40 unequal: No Solution
Exploring Operation: 23*94=2162, Resulting Numbers: [2162]
2162,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 40:[99, 18], Operations: ['39-34=5', '23-5=18']
Exploring Operation: 99-18=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 99*18=1782, Resulting Numbers: [1782]
1782,40 unequal: No Solution
Exploring Operation: 99+18=117, Resulting Numbers: [117]
117,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 40:[99, 28], Operations: ['39-34=5', '23+5=28']
Exploring Operation: 99-28=71, Resulting Numbers: [71]
71,40 unequal: No Solution
Exploring Operation: 99*28=2772, Resulting Numbers: [2772]
2772,40 unequal: No Solution
Exploring Operation: 99+28=127, Resulting Numbers: [127]
127,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 40:[23, 104], Operations: ['39-34=5', '99+5=104']
Exploring Operation: 23*104=2392, Resulting Numbers: [2392]
2392,40 unequal: No Solution
Exploring Operation: 104-23=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 23+104=127, Resulting Numbers: [127]
127,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
27,
39,
91,
93
] | 15
|
[
"93-91=2",
"27*2=54",
"54-39=15"
] |
Current State: 15:[27, 39, 91, 93], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [27, 39, 2]
Generated Node #2: [27, 39, 2] from Operation: 93-91=2
Current State: 15:[27, 39, 2], Operations: ['93-91=2']
Exploring Operation: 27*2=54, Resulting Numbers: [39, 54]
Generated Node #3: [39, 54] from Operation: 27*2=54
Current State: 15:[39, 54], Operations: ['93-91=2', '27*2=54']
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4
|
Current State: 15:[27, 39, 91, 93], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [27, 39, 2]
Generated Node #0,0: 15:[27, 39, 2] Operation: 93-91=2
Moving to Node #0,0
Current State: 15:[27, 39, 2], Operations: ['93-91=2']
Exploring Operation: 39-27=12, Resulting Numbers: [2, 12]
Generated Node #0,0,0: 15:[2, 12] Operation: 39-27=12
Moving to Node #0,0,0
Current State: 15:[2, 12], Operations: ['93-91=2', '39-27=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,15 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
21,
71,
92,
56
] | 98
|
[
"71-21=50",
"92+56=148",
"148-50=98"
] |
Current State: 98:[21, 71, 92, 56], Operations: []
Exploring Operation: 71-21=50, Resulting Numbers: [92, 56, 50]
Generated Node #2: [92, 56, 50] from Operation: 71-21=50
Current State: 98:[92, 56, 50], Operations: ['71-21=50']
Exploring Operation: 92+56=148, Resulting Numbers: [50, 148]
Generated Node #3: [50, 148] from Operation: 92+56=148
Current State: 98:[50, 148], Operations: ['71-21=50', '92+56=148']
Exploring Operation: 148-50=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4
|
Current State: 98:[21, 71, 92, 56], Operations: []
Exploring Operation: 71-56=15, Resulting Numbers: [21, 92, 15]
Generated Node #0,0: 98:[21, 92, 15] Operation: 71-56=15
Exploring Operation: 71-21=50, Resulting Numbers: [92, 56, 50]
Generated Node #0,1: 98:[92, 56, 50] Operation: 71-21=50
Exploring Operation: 56-21=35, Resulting Numbers: [71, 92, 35]
Generated Node #0,2: 98:[71, 92, 35] Operation: 56-21=35
Exploring Operation: 21+71=92, Resulting Numbers: [92, 56, 92]
Generated Node #0,3: 98:[92, 56, 92] Operation: 21+71=92
Exploring Operation: 92-71=21, Resulting Numbers: [21, 56, 21]
Generated Node #0,4: 98:[21, 56, 21] Operation: 92-71=21
Moving to Node #0,0
Current State: 98:[21, 92, 15], Operations: ['71-56=15']
Exploring Operation: 92-21=71, Resulting Numbers: [15, 71]
Generated Node #0,0,0: 98:[15, 71] Operation: 92-21=71
Exploring Operation: 21-15=6, Resulting Numbers: [92, 6]
Generated Node #0,0,1: 98:[92, 6] Operation: 21-15=6
Exploring Operation: 21+92=113, Resulting Numbers: [15, 113]
Generated Node #0,0,2: 98:[15, 113] Operation: 21+92=113
Exploring Operation: 21+15=36, Resulting Numbers: [92, 36]
Generated Node #0,0,3: 98:[92, 36] Operation: 21+15=36
Exploring Operation: 92+15=107, Resulting Numbers: [21, 107]
Generated Node #0,0,4: 98:[21, 107] Operation: 92+15=107
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[92, 6], Operations: ['71-56=15', '21-15=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[21, 71, 92, 56], Operations: []
Exploring Operation: 71-56=15, Resulting Numbers: [21, 92, 15]
Generated Node #0,0: 98:[21, 92, 15] Operation: 71-56=15
Moving to Node #0,0
Current State: 98:[21, 92, 15], Operations: ['71-56=15']
Exploring Operation: 21-15=6, Resulting Numbers: [92, 6]
Generated Node #0,0,1: 98:[92, 6] Operation: 21-15=6
Moving to Node #0,0,1
Current State: 98:[92, 6], Operations: ['71-56=15', '21-15=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_5
|
mult_heuristic
|
[
78,
73,
23,
60
] | 32
|
[
"78-73=5",
"60-23=37",
"37-5=32"
] |
Current State: 32:[78, 73, 23, 60], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [23, 60, 5]
Generated Node #2: [23, 60, 5] from Operation: 78-73=5
Current State: 32:[23, 60, 5], Operations: ['78-73=5']
Exploring Operation: 60-23=37, Resulting Numbers: [5, 37]
Generated Node #3: [5, 37] from Operation: 60-23=37
Current State: 32:[5, 37], Operations: ['78-73=5', '60-23=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4
|
Current State: 32:[78, 73, 23, 60], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [23, 60, 5]
Generated Node #0,0: 32:[23, 60, 5] Operation: 78-73=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[23, 60, 5], Operations: ['78-73=5']
Exploring Operation: 60-23=37, Resulting Numbers: [5, 37]
Generated Node #0,0,0: 32:[5, 37] Operation: 60-23=37
Moving to Node #0,0,0
Current State: 32:[5, 37], Operations: ['78-73=5', '60-23=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[78, 73, 23, 60], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [23, 60, 5]
Generated Node #0,0: 32:[23, 60, 5] Operation: 78-73=5
Moving to Node #0,0
Current State: 32:[23, 60, 5], Operations: ['78-73=5']
Exploring Operation: 60-23=37, Resulting Numbers: [5, 37]
Generated Node #0,0,0: 32:[5, 37] Operation: 60-23=37
Moving to Node #0,0,0
Current State: 32:[5, 37], Operations: ['78-73=5', '60-23=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
sum_heuristic
|
[
58,
94,
58,
3
] | 31
|
[
"58/58=1",
"94-1=93",
"93/3=31"
] |
Current State: 31:[58, 94, 58, 3], Operations: []
Exploring Operation: 58/58=1, Resulting Numbers: [94, 3, 1]
Generated Node #2: [94, 3, 1] from Operation: 58/58=1
Current State: 31:[94, 3, 1], Operations: ['58/58=1']
Exploring Operation: 94-1=93, Resulting Numbers: [3, 93]
Generated Node #3: [3, 93] from Operation: 94-1=93
Current State: 31:[3, 93], Operations: ['58/58=1', '94-1=93']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4
|
Current State: 31:[58, 94, 58, 3], Operations: []
Exploring Operation: 58-3=55, Resulting Numbers: [94, 58, 55]
Generated Node #0,0: 31:[94, 58, 55] Operation: 58-3=55
Exploring Operation: 94-58=36, Resulting Numbers: [58, 3, 36]
Generated Node #0,1: 31:[58, 3, 36] Operation: 94-58=36
Exploring Operation: 94-58=36, Resulting Numbers: [58, 3, 36]
Generated Node #0,2: 31:[58, 3, 36] Operation: 94-58=36
Moving to Node #0,1
Current State: 31:[58, 3, 36], Operations: ['94-58=36']
Exploring Operation: 58+3=61, Resulting Numbers: [36, 61]
Generated Node #0,1,0: 31:[36, 61] Operation: 58+3=61
Exploring Operation: 36-3=33, Resulting Numbers: [58, 33]
Generated Node #0,1,1: 31:[58, 33] Operation: 36-3=33
Exploring Operation: 58-3=55, Resulting Numbers: [36, 55]
Generated Node #0,1,2: 31:[36, 55] Operation: 58-3=55
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[58, 33], Operations: ['94-58=36', '36-3=33']
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 58*33=1914, Resulting Numbers: [1914]
1914,31 unequal: No Solution
Exploring Operation: 58+33=91, Resulting Numbers: [91]
91,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[36, 55], Operations: ['94-58=36', '58-3=55']
Exploring Operation: 36*55=1980, Resulting Numbers: [1980]
1980,31 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[36, 61], Operations: ['94-58=36', '58+3=61']
Exploring Operation: 36*61=2196, Resulting Numbers: [2196]
2196,31 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,31 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: 31:[58, 3, 36], Operations: ['94-58=36']
Exploring Operation: 58+3=61, Resulting Numbers: [36, 61]
Generated Node #0,2,0: 31:[36, 61] Operation: 58+3=61
Exploring Operation: 36-3=33, Resulting Numbers: [58, 33]
Generated Node #0,2,1: 31:[58, 33] Operation: 36-3=33
Exploring Operation: 58-3=55, Resulting Numbers: [36, 55]
Generated Node #0,2,2: 31:[36, 55] Operation: 58-3=55
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[58, 33], Operations: ['94-58=36', '36-3=33']
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 58*33=1914, Resulting Numbers: [1914]
1914,31 unequal: No Solution
Exploring Operation: 58+33=91, Resulting Numbers: [91]
91,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[36, 55], Operations: ['94-58=36', '58-3=55']
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,31 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 36*55=1980, Resulting Numbers: [1980]
1980,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[36, 61], Operations: ['94-58=36', '58+3=61']
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,31 unequal: No Solution
Exploring Operation: 36*61=2196, Resulting Numbers: [2196]
2196,31 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: 31:[94, 58, 55], Operations: ['58-3=55']
Exploring Operation: 58-55=3, Resulting Numbers: [94, 3]
Generated Node #0,0,0: 31:[94, 3] Operation: 58-55=3
Exploring Operation: 94-58=36, Resulting Numbers: [55, 36]
Generated Node #0,0,1: 31:[55, 36] Operation: 94-58=36
Exploring Operation: 94-55=39, Resulting Numbers: [58, 39]
Generated Node #0,0,2: 31:[58, 39] Operation: 94-55=39
Moving to Node #0,0,1
Current State: 31:[55, 36], Operations: ['58-3=55', '94-58=36']
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,31 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[58, 39], Operations: ['58-3=55', '94-55=39']
Exploring Operation: 58-39=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 58*39=2262, Resulting Numbers: [2262]
2262,31 unequal: No Solution
Exploring Operation: 58+39=97, Resulting Numbers: [97]
97,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[94, 3], Operations: ['58-3=55', '58-55=3']
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,31 unequal: No Solution
Exploring Operation: 94*3=282, Resulting Numbers: [282]
282,31 unequal: No Solution
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,31 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
70,
27,
12,
86
] | 10
|
[
"70-27=43",
"86/43=2",
"12-2=10"
] |
Current State: 10:[70, 27, 12, 86], Operations: []
Exploring Operation: 70-27=43, Resulting Numbers: [12, 86, 43]
Generated Node #2: [12, 86, 43] from Operation: 70-27=43
Current State: 10:[12, 86, 43], Operations: ['70-27=43']
Exploring Operation: 86/43=2, Resulting Numbers: [12, 2]
Generated Node #3: [12, 2] from Operation: 86/43=2
Current State: 10:[12, 2], Operations: ['70-27=43', '86/43=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4
|
Current State: 10:[70, 27, 12, 86], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [27, 12, 16]
Generated Node #0,0: 10:[27, 12, 16] Operation: 86-70=16
Exploring Operation: 70-27=43, Resulting Numbers: [12, 86, 43]
Generated Node #0,1: 10:[12, 86, 43] Operation: 70-27=43
Exploring Operation: 70-12=58, Resulting Numbers: [27, 86, 58]
Generated Node #0,2: 10:[27, 86, 58] Operation: 70-12=58
Exploring Operation: 86-27=59, Resulting Numbers: [70, 12, 59]
Generated Node #0,3: 10:[70, 12, 59] Operation: 86-27=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[27, 12, 16], Operations: ['86-70=16']
Exploring Operation: 27-12=15, Resulting Numbers: [16, 15]
Generated Node #0,0,0: 10:[16, 15] Operation: 27-12=15
Exploring Operation: 27+12=39, Resulting Numbers: [16, 39]
Generated Node #0,0,1: 10:[16, 39] Operation: 27+12=39
Exploring Operation: 27-16=11, Resulting Numbers: [12, 11]
Generated Node #0,0,2: 10:[12, 11] Operation: 27-16=11
Exploring Operation: 16-12=4, Resulting Numbers: [27, 4]
Generated Node #0,0,3: 10:[27, 4] Operation: 16-12=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 10:[12, 11], Operations: ['86-70=16', '27-16=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,10 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,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,0,0
Current State: 10:[16, 15], Operations: ['86-70=16', '27-12=15']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,10 unequal: No Solution
Exploring Operation: 16+15=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,0,3
Current State: 10:[27, 4], Operations: ['86-70=16', '16-12=4']
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,10 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 27+4=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,0,1
Current State: 10:[16, 39], Operations: ['86-70=16', '27+12=39']
Exploring Operation: 16*39=624, Resulting Numbers: [624]
624,10 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 16+39=55, Resulting Numbers: [55]
55,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,1
Current State: 10:[12, 86, 43], Operations: ['70-27=43']
Exploring Operation: 86-12=74, Resulting Numbers: [43, 74]
Generated Node #0,1,0: 10:[43, 74] Operation: 86-12=74
Exploring Operation: 86/43=2, Resulting Numbers: [12, 2]
Generated Node #0,1,1: 10:[12, 2] Operation: 86/43=2
Exploring Operation: 43-12=31, Resulting Numbers: [86, 31]
Generated Node #0,1,2: 10:[86, 31] Operation: 43-12=31
Exploring Operation: 86-43=43, Resulting Numbers: [12, 43]
Generated Node #0,1,3: 10:[12, 43] Operation: 86-43=43
Moving to Node #0,1,1
Current State: 10:[12, 2], Operations: ['70-27=43', '86/43=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[70, 27, 12, 86], Operations: []
Exploring Operation: 70-27=43, Resulting Numbers: [12, 86, 43]
Generated Node #0,1: 10:[12, 86, 43] Operation: 70-27=43
Moving to Node #0,1
Current State: 10:[12, 86, 43], Operations: ['70-27=43']
Exploring Operation: 86/43=2, Resulting Numbers: [12, 2]
Generated Node #0,1,1: 10:[12, 2] Operation: 86/43=2
Moving to Node #0,1,1
Current State: 10:[12, 2], Operations: ['70-27=43', '86/43=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958
|
hs_4
|
mult_heuristic
|
[
11,
16,
30,
51
] | 48
|
[
"11+16=27",
"51-30=21",
"27+21=48"
] |
Current State: 48:[11, 16, 30, 51], Operations: []
Exploring Operation: 11+16=27, Resulting Numbers: [30, 51, 27]
Generated Node #2: [30, 51, 27] from Operation: 11+16=27
Current State: 48:[30, 51, 27], Operations: ['11+16=27']
Exploring Operation: 51-30=21, Resulting Numbers: [27, 21]
Generated Node #3: [27, 21] from Operation: 51-30=21
Current State: 48:[27, 21], Operations: ['11+16=27', '51-30=21']
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4
|
Current State: 48:[11, 16, 30, 51], Operations: []
Exploring Operation: 30-11=19, Resulting Numbers: [16, 51, 19]
Generated Node #0,0: 48:[16, 51, 19] Operation: 30-11=19
Exploring Operation: 16+30=46, Resulting Numbers: [11, 51, 46]
Generated Node #0,1: 48:[11, 51, 46] Operation: 16+30=46
Exploring Operation: 51-30=21, Resulting Numbers: [11, 16, 21]
Generated Node #0,2: 48:[11, 16, 21] Operation: 51-30=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[11, 16, 21], Operations: ['51-30=21']
Exploring Operation: 16-11=5, Resulting Numbers: [21, 5]
Generated Node #0,2,0: 48:[21, 5] Operation: 16-11=5
Exploring Operation: 21-11=10, Resulting Numbers: [16, 10]
Generated Node #0,2,1: 48:[16, 10] Operation: 21-11=10
Exploring Operation: 21-16=5, Resulting Numbers: [11, 5]
Generated Node #0,2,2: 48:[11, 5] Operation: 21-16=5
Moving to Node #0,2,1
Current State: 48:[16, 10], Operations: ['51-30=21', '21-11=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[11, 5], Operations: ['51-30=21', '21-16=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[21, 5], Operations: ['51-30=21', '16-11=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[16, 51, 19], Operations: ['30-11=19']
Exploring Operation: 51-19=32, Resulting Numbers: [16, 32]
Generated Node #0,0,0: 48:[16, 32] Operation: 51-19=32
Exploring Operation: 19-16=3, Resulting Numbers: [51, 3]
Generated Node #0,0,1: 48:[51, 3] Operation: 19-16=3
Exploring Operation: 51-16=35, Resulting Numbers: [19, 35]
Generated Node #0,0,2: 48:[19, 35] Operation: 51-16=35
Moving to Node #0,0,1
Current State: 48:[51, 3], Operations: ['30-11=19', '19-16=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[11, 16, 30, 51], Operations: []
Exploring Operation: 30-11=19, Resulting Numbers: [16, 51, 19]
Generated Node #0,0: 48:[16, 51, 19] Operation: 30-11=19
Moving to Node #0,0
Current State: 48:[16, 51, 19], Operations: ['30-11=19']
Exploring Operation: 19-16=3, Resulting Numbers: [51, 3]
Generated Node #0,0,1: 48:[51, 3] Operation: 19-16=3
Moving to Node #0,0,1
Current State: 48:[51, 3], Operations: ['30-11=19', '19-16=3']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167
|
hs_3
|
sum_heuristic
|
[
44,
99,
21,
57
] | 88
|
[
"99-57=42",
"44*42=1848",
"1848/21=88"
] |
Current State: 88:[44, 99, 21, 57], Operations: []
Exploring Operation: 99-57=42, Resulting Numbers: [44, 21, 42]
Generated Node #2: [44, 21, 42] from Operation: 99-57=42
Current State: 88:[44, 21, 42], Operations: ['99-57=42']
Exploring Operation: 44*42=1848, Resulting Numbers: [21, 1848]
Generated Node #3: [21, 1848] from Operation: 44*42=1848
Current State: 88:[21, 1848], Operations: ['99-57=42', '44*42=1848']
Exploring Operation: 1848/21=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4
|
Current State: 88:[44, 99, 21, 57], Operations: []
Exploring Operation: 99-57=42, Resulting Numbers: [44, 21, 42]
Generated Node #0,0: 88:[44, 21, 42] Operation: 99-57=42
Exploring Operation: 57-21=36, Resulting Numbers: [44, 99, 36]
Generated Node #0,1: 88:[44, 99, 36] Operation: 57-21=36
Exploring Operation: 57-44=13, Resulting Numbers: [99, 21, 13]
Generated Node #0,2: 88:[99, 21, 13] Operation: 57-44=13
Exploring Operation: 21+57=78, Resulting Numbers: [44, 99, 78]
Generated Node #0,3: 88:[44, 99, 78] Operation: 21+57=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[44, 21, 42], Operations: ['99-57=42']
Exploring Operation: 44-21=23, Resulting Numbers: [42, 23]
Generated Node #0,0,0: 88:[42, 23] Operation: 44-21=23
Exploring Operation: 44-42=2, Resulting Numbers: [21, 2]
Generated Node #0,0,1: 88:[21, 2] Operation: 44-42=2
Exploring Operation: 42-21=21, Resulting Numbers: [44, 21]
Generated Node #0,0,2: 88:[44, 21] Operation: 42-21=21
Exploring Operation: 42/21=2, Resulting Numbers: [44, 2]
Generated Node #0,0,3: 88:[44, 2] Operation: 42/21=2
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 88:[44, 2], Operations: ['99-57=42', '42/21=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[44, 99, 21, 57], Operations: []
Exploring Operation: 99-57=42, Resulting Numbers: [44, 21, 42]
Generated Node #0,0: 88:[44, 21, 42] Operation: 99-57=42
Moving to Node #0,0
Current State: 88:[44, 21, 42], Operations: ['99-57=42']
Exploring Operation: 42/21=2, Resulting Numbers: [44, 2]
Generated Node #0,0,3: 88:[44, 2] Operation: 42/21=2
Moving to Node #0,0,3
Current State: 88:[44, 2], Operations: ['99-57=42', '42/21=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715
|
hs_4
|
sum_heuristic
|
[
15,
46,
27,
3
] | 92
|
[
"27+3=30",
"30/15=2",
"46*2=92"
] |
Current State: 92:[15, 46, 27, 3], Operations: []
Exploring Operation: 27+3=30, Resulting Numbers: [15, 46, 30]
Generated Node #2: [15, 46, 30] from Operation: 27+3=30
Current State: 92:[15, 46, 30], Operations: ['27+3=30']
Exploring Operation: 30/15=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 30/15=2
Current State: 92:[46, 2], Operations: ['27+3=30', '30/15=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4
|
Current State: 92:[15, 46, 27, 3], Operations: []
Exploring Operation: 15+27=42, Resulting Numbers: [46, 3, 42]
Generated Node #0,0: 92:[46, 3, 42] Operation: 15+27=42
Moving to Node #0,0
Current State: 92:[46, 3, 42], Operations: ['15+27=42']
Exploring Operation: 46-42=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 92:[3, 4] Operation: 46-42=4
Moving to Node #0,0,0
Current State: 92:[3, 4], Operations: ['15+27=42', '46-42=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
22,
41,
20,
3
] | 15
|
[
"41-20=21",
"21/3=7",
"22-7=15"
] |
Current State: 15:[22, 41, 20, 3], Operations: []
Exploring Operation: 41-20=21, Resulting Numbers: [22, 3, 21]
Generated Node #2: [22, 3, 21] from Operation: 41-20=21
Current State: 15:[22, 3, 21], Operations: ['41-20=21']
Exploring Operation: 21/3=7, Resulting Numbers: [22, 7]
Generated Node #3: [22, 7] from Operation: 21/3=7
Current State: 15:[22, 7], Operations: ['41-20=21', '21/3=7']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4
|
Current State: 15:[22, 41, 20, 3], Operations: []
Exploring Operation: 22-3=19, Resulting Numbers: [41, 20, 19]
Generated Node #0,0: 15:[41, 20, 19] Operation: 22-3=19
Exploring Operation: 22-20=2, Resulting Numbers: [41, 3, 2]
Generated Node #0,1: 15:[41, 3, 2] Operation: 22-20=2
Exploring Operation: 41-20=21, Resulting Numbers: [22, 3, 21]
Generated Node #0,2: 15:[22, 3, 21] Operation: 41-20=21
Exploring Operation: 41-22=19, Resulting Numbers: [20, 3, 19]
Generated Node #0,3: 15:[20, 3, 19] Operation: 41-22=19
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[20, 3, 19], Operations: ['41-22=19']
Exploring Operation: 20-19=1, Resulting Numbers: [3, 1]
Generated Node #0,3,0: 15:[3, 1] Operation: 20-19=1
Exploring Operation: 19-3=16, Resulting Numbers: [20, 16]
Generated Node #0,3,1: 15:[20, 16] Operation: 19-3=16
Exploring Operation: 20-3=17, Resulting Numbers: [19, 17]
Generated Node #0,3,2: 15:[19, 17] Operation: 20-3=17
Exploring Operation: 20+3=23, Resulting Numbers: [19, 23]
Generated Node #0,3,3: 15:[19, 23] Operation: 20+3=23
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 15:[3, 1], Operations: ['41-22=19', '20-19=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 15:[20, 16], Operations: ['41-22=19', '19-3=16']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 15:[19, 17], Operations: ['41-22=19', '20-3=17']
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,15 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 15:[19, 23], Operations: ['41-22=19', '20+3=23']
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 19*23=437, Resulting Numbers: [437]
437,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[22, 3, 21], Operations: ['41-20=21']
Exploring Operation: 21-3=18, Resulting Numbers: [22, 18]
Generated Node #0,2,0: 15:[22, 18] Operation: 21-3=18
Exploring Operation: 22-3=19, Resulting Numbers: [21, 19]
Generated Node #0,2,1: 15:[21, 19] Operation: 22-3=19
Exploring Operation: 22-21=1, Resulting Numbers: [3, 1]
Generated Node #0,2,2: 15:[3, 1] Operation: 22-21=1
Exploring Operation: 21/3=7, Resulting Numbers: [22, 7]
Generated Node #0,2,3: 15:[22, 7] Operation: 21/3=7
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 15:[3, 1], Operations: ['41-20=21', '22-21=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 15:[22, 7], Operations: ['41-20=21', '21/3=7']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[22, 41, 20, 3], Operations: []
Exploring Operation: 41-20=21, Resulting Numbers: [22, 3, 21]
Generated Node #0,2: 15:[22, 3, 21] Operation: 41-20=21
Moving to Node #0,2
Current State: 15:[22, 3, 21], Operations: ['41-20=21']
Exploring Operation: 21/3=7, Resulting Numbers: [22, 7]
Generated Node #0,2,3: 15:[22, 7] Operation: 21/3=7
Moving to Node #0,2,3
Current State: 15:[22, 7], Operations: ['41-20=21', '21/3=7']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486
|
hs_4
|
mult_heuristic
|
[
83,
48,
38,
19
] | 33
|
[
"83-48=35",
"38/19=2",
"35-2=33"
] |
Current State: 33:[83, 48, 38, 19], Operations: []
Exploring Operation: 83-48=35, Resulting Numbers: [38, 19, 35]
Generated Node #2: [38, 19, 35] from Operation: 83-48=35
Current State: 33:[38, 19, 35], Operations: ['83-48=35']
Exploring Operation: 38/19=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 38/19=2
Current State: 33:[35, 2], Operations: ['83-48=35', '38/19=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4
|
Current State: 33:[83, 48, 38, 19], Operations: []
Exploring Operation: 83-48=35, Resulting Numbers: [38, 19, 35]
Generated Node #0,0: 33:[38, 19, 35] Operation: 83-48=35
Exploring Operation: 83-38=45, Resulting Numbers: [48, 19, 45]
Generated Node #0,1: 33:[48, 19, 45] Operation: 83-38=45
Exploring Operation: 48-38=10, Resulting Numbers: [83, 19, 10]
Generated Node #0,2: 33:[83, 19, 10] Operation: 48-38=10
Exploring Operation: 83-19=64, Resulting Numbers: [48, 38, 64]
Generated Node #0,3: 33:[48, 38, 64] Operation: 83-19=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[38, 19, 35], Operations: ['83-48=35']
Exploring Operation: 38-35=3, Resulting Numbers: [19, 3]
Generated Node #0,0,0: 33:[19, 3] Operation: 38-35=3
Exploring Operation: 38-19=19, Resulting Numbers: [35, 19]
Generated Node #0,0,1: 33:[35, 19] Operation: 38-19=19
Exploring Operation: 38/19=2, Resulting Numbers: [35, 2]
Generated Node #0,0,2: 33:[35, 2] Operation: 38/19=2
Exploring Operation: 35-19=16, Resulting Numbers: [38, 16]
Generated Node #0,0,3: 33:[38, 16] Operation: 35-19=16
Moving to Node #0,0,2
Current State: 33:[35, 2], Operations: ['83-48=35', '38/19=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[83, 48, 38, 19], Operations: []
Exploring Operation: 83-48=35, Resulting Numbers: [38, 19, 35]
Generated Node #0,0: 33:[38, 19, 35] Operation: 83-48=35
Moving to Node #0,0
Current State: 33:[38, 19, 35], Operations: ['83-48=35']
Exploring Operation: 38/19=2, Resulting Numbers: [35, 2]
Generated Node #0,0,2: 33:[35, 2] Operation: 38/19=2
Moving to Node #0,0,2
Current State: 33:[35, 2], Operations: ['83-48=35', '38/19=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_4
|
mult_heuristic
|
[
3,
54,
95,
13
] | 18
|
[
"95-54=41",
"13+41=54",
"54/3=18"
] |
Current State: 18:[3, 54, 95, 13], Operations: []
Exploring Operation: 95-54=41, Resulting Numbers: [3, 13, 41]
Generated Node #2: [3, 13, 41] from Operation: 95-54=41
Current State: 18:[3, 13, 41], Operations: ['95-54=41']
Exploring Operation: 13+41=54, Resulting Numbers: [3, 54]
Generated Node #3: [3, 54] from Operation: 13+41=54
Current State: 18:[3, 54], Operations: ['95-54=41', '13+41=54']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4
|
Current State: 18:[3, 54, 95, 13], Operations: []
Exploring Operation: 95-54=41, Resulting Numbers: [3, 13, 41]
Generated Node #0,0: 18:[3, 13, 41] Operation: 95-54=41
Exploring Operation: 54/3=18, Resulting Numbers: [95, 13, 18]
Generated Node #0,1: 18:[95, 13, 18] Operation: 54/3=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[3, 13, 41], Operations: ['95-54=41']
Exploring Operation: 41-13=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 18:[3, 28] Operation: 41-13=28
Exploring Operation: 13-3=10, Resulting Numbers: [41, 10]
Generated Node #0,0,1: 18:[41, 10] Operation: 13-3=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[3, 28], Operations: ['95-54=41', '41-13=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,18 unequal: No Solution
No 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: 18:[41, 10], Operations: ['95-54=41', '13-3=10']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 41+10=51, Resulting Numbers: [51]
51,18 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: 18:[95, 13, 18], Operations: ['54/3=18']
Exploring Operation: 95-13=82, Resulting Numbers: [18, 82]
Generated Node #0,1,0: 18:[18, 82] Operation: 95-13=82
Exploring Operation: 95-18=77, Resulting Numbers: [13, 77]
Generated Node #0,1,1: 18:[13, 77] Operation: 95-18=77
Moving to Node #0,1,1
Current State: 18:[13, 77], Operations: ['54/3=18', '95-18=77']
Exploring Operation: 13+77=90, Resulting Numbers: [90]
90,18 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[18, 82], Operations: ['54/3=18', '95-13=82']
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 18+82=100, Resulting Numbers: [100]
100,18 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
|
[
92,
87,
48,
68
] | 15
|
[
"92-87=5",
"68-48=20",
"20-5=15"
] |
Current State: 15:[92, 87, 48, 68], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [48, 68, 5]
Generated Node #2: [48, 68, 5] from Operation: 92-87=5
Current State: 15:[48, 68, 5], Operations: ['92-87=5']
Exploring Operation: 68-48=20, Resulting Numbers: [5, 20]
Generated Node #3: [5, 20] from Operation: 68-48=20
Current State: 15:[5, 20], Operations: ['92-87=5', '68-48=20']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4
|
Current State: 15:[92, 87, 48, 68], Operations: []
Exploring Operation: 92-68=24, Resulting Numbers: [87, 48, 24]
Generated Node #0,0: 15:[87, 48, 24] Operation: 92-68=24
Exploring Operation: 92-87=5, Resulting Numbers: [48, 68, 5]
Generated Node #0,1: 15:[48, 68, 5] Operation: 92-87=5
Moving to Node #0,1
Current State: 15:[48, 68, 5], Operations: ['92-87=5']
Exploring Operation: 68-48=20, Resulting Numbers: [5, 20]
Generated Node #0,1,0: 15:[5, 20] Operation: 68-48=20
Exploring Operation: 48-5=43, Resulting Numbers: [68, 43]
Generated Node #0,1,1: 15:[68, 43] Operation: 48-5=43
Moving to Node #0,0
Current State: 15:[87, 48, 24], Operations: ['92-68=24']
Exploring Operation: 48/24=2, Resulting Numbers: [87, 2]
Generated Node #0,0,0: 15:[87, 2] Operation: 48/24=2
Exploring Operation: 87-48=39, Resulting Numbers: [24, 39]
Generated Node #0,0,1: 15:[24, 39] Operation: 87-48=39
Moving to Node #0,1,0
Current State: 15:[5, 20], Operations: ['92-87=5', '68-48=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[92, 87, 48, 68], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [48, 68, 5]
Generated Node #0,1: 15:[48, 68, 5] Operation: 92-87=5
Moving to Node #0,1
Current State: 15:[48, 68, 5], Operations: ['92-87=5']
Exploring Operation: 68-48=20, Resulting Numbers: [5, 20]
Generated Node #0,1,0: 15:[5, 20] Operation: 68-48=20
Moving to Node #0,1,0
Current State: 15:[5, 20], Operations: ['92-87=5', '68-48=20']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.989583
|
hs_2
|
sum_heuristic
|
[
20,
28,
5,
41
] | 34
|
[
"20/5=4",
"28/4=7",
"41-7=34"
] |
Current State: 34:[20, 28, 5, 41], Operations: []
Exploring Operation: 20/5=4, Resulting Numbers: [28, 41, 4]
Generated Node #2: [28, 41, 4] from Operation: 20/5=4
Current State: 34:[28, 41, 4], Operations: ['20/5=4']
Exploring Operation: 28/4=7, Resulting Numbers: [41, 7]
Generated Node #3: [41, 7] from Operation: 28/4=7
Current State: 34:[41, 7], Operations: ['20/5=4', '28/4=7']
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4
|
Current State: 34:[20, 28, 5, 41], Operations: []
Exploring Operation: 41-28=13, Resulting Numbers: [20, 5, 13]
Generated Node #0,0: 34:[20, 5, 13] Operation: 41-28=13
Exploring Operation: 28+5=33, Resulting Numbers: [20, 41, 33]
Generated Node #0,1: 34:[20, 41, 33] Operation: 28+5=33
Moving to Node #0,0
Current State: 34:[20, 5, 13], Operations: ['41-28=13']
Exploring Operation: 20+13=33, Resulting Numbers: [5, 33]
Generated Node #0,0,0: 34:[5, 33] Operation: 20+13=33
Exploring Operation: 5+13=18, Resulting Numbers: [20, 18]
Generated Node #0,0,1: 34:[20, 18] Operation: 5+13=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[5, 33], Operations: ['41-28=13', '20+13=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[20, 18], Operations: ['41-28=13', '5+13=18']
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 34:[20, 41, 33], Operations: ['28+5=33']
Exploring Operation: 41-33=8, Resulting Numbers: [20, 8]
Generated Node #0,1,0: 34:[20, 8] Operation: 41-33=8
Exploring Operation: 41-20=21, Resulting Numbers: [33, 21]
Generated Node #0,1,1: 34:[33, 21] Operation: 41-20=21
Moving to Node #0,1,1
Current State: 34:[33, 21], Operations: ['28+5=33', '41-20=21']
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[20, 8], Operations: ['28+5=33', '41-33=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,34 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
83,
2,
77,
66
] | 69
|
[
"83-77=6",
"6/2=3",
"66+3=69"
] |
Current State: 69:[83, 2, 77, 66], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [2, 66, 6]
Generated Node #2: [2, 66, 6] from Operation: 83-77=6
Current State: 69:[2, 66, 6], Operations: ['83-77=6']
Exploring Operation: 6/2=3, Resulting Numbers: [66, 3]
Generated Node #3: [66, 3] from Operation: 6/2=3
Current State: 69:[66, 3], Operations: ['83-77=6', '6/2=3']
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4
|
Current State: 69:[83, 2, 77, 66], Operations: []
Exploring Operation: 2+66=68, Resulting Numbers: [83, 77, 68]
Generated Node #0,0: 69:[83, 77, 68] Operation: 2+66=68
Exploring Operation: 77-2=75, Resulting Numbers: [83, 66, 75]
Generated Node #0,1: 69:[83, 66, 75] Operation: 77-2=75
Exploring Operation: 83-66=17, Resulting Numbers: [2, 77, 17]
Generated Node #0,2: 69:[2, 77, 17] Operation: 83-66=17
Exploring Operation: 83-77=6, Resulting Numbers: [2, 66, 6]
Generated Node #0,3: 69:[2, 66, 6] Operation: 83-77=6
Exploring Operation: 83-2=81, Resulting Numbers: [77, 66, 81]
Generated Node #0,4: 69:[77, 66, 81] Operation: 83-2=81
Moving to Node #0,3
Current State: 69:[2, 66, 6], Operations: ['83-77=6']
Exploring Operation: 6/2=3, Resulting Numbers: [66, 3]
Generated Node #0,3,0: 69:[66, 3] Operation: 6/2=3
Exploring Operation: 2+66=68, Resulting Numbers: [6, 68]
Generated Node #0,3,1: 69:[6, 68] Operation: 2+66=68
Exploring Operation: 66+6=72, Resulting Numbers: [2, 72]
Generated Node #0,3,2: 69:[2, 72] Operation: 66+6=72
Exploring Operation: 6-2=4, Resulting Numbers: [66, 4]
Generated Node #0,3,3: 69:[66, 4] Operation: 6-2=4
Exploring Operation: 66-2=64, Resulting Numbers: [6, 64]
Generated Node #0,3,4: 69:[6, 64] Operation: 66-2=64
Moving to Node #0,2
Current State: 69:[2, 77, 17], Operations: ['83-66=17']
Exploring Operation: 77-17=60, Resulting Numbers: [2, 60]
Generated Node #0,2,0: 69:[2, 60] Operation: 77-17=60
Exploring Operation: 2+77=79, Resulting Numbers: [17, 79]
Generated Node #0,2,1: 69:[17, 79] Operation: 2+77=79
Exploring Operation: 2+17=19, Resulting Numbers: [77, 19]
Generated Node #0,2,2: 69:[77, 19] Operation: 2+17=19
Exploring Operation: 77-2=75, Resulting Numbers: [17, 75]
Generated Node #0,2,3: 69:[17, 75] Operation: 77-2=75
Exploring Operation: 17-2=15, Resulting Numbers: [77, 15]
Generated Node #0,2,4: 69:[77, 15] Operation: 17-2=15
Moving to Node #0,0
Current State: 69:[83, 77, 68], Operations: ['2+66=68']
Exploring Operation: 83-68=15, Resulting Numbers: [77, 15]
Generated Node #0,0,0: 69:[77, 15] Operation: 83-68=15
Exploring Operation: 77-68=9, Resulting Numbers: [83, 9]
Generated Node #0,0,1: 69:[83, 9] Operation: 77-68=9
Exploring Operation: 83+68=151, Resulting Numbers: [77, 151]
Generated Node #0,0,2: 69:[77, 151] Operation: 83+68=151
Exploring Operation: 77+68=145, Resulting Numbers: [83, 145]
Generated Node #0,0,3: 69:[83, 145] Operation: 77+68=145
Exploring Operation: 83-77=6, Resulting Numbers: [68, 6]
Generated Node #0,0,4: 69:[68, 6] Operation: 83-77=6
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 69:[68, 6], Operations: ['2+66=68', '83-77=6']
Exploring Operation: 68*6=408, Resulting Numbers: [408]
408,69 unequal: No Solution
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,69 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[77, 15], Operations: ['2+66=68', '83-68=15']
Exploring Operation: 77+15=92, Resulting Numbers: [92]
92,69 unequal: No Solution
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 77*15=1155, Resulting Numbers: [1155]
1155,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[83, 9], Operations: ['2+66=68', '77-68=9']
Exploring Operation: 83*9=747, Resulting Numbers: [747]
747,69 unequal: No Solution
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,69 unequal: No Solution
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[77, 151], Operations: ['2+66=68', '83+68=151']
Exploring Operation: 77*151=11627, Resulting Numbers: [11627]
11627,69 unequal: No Solution
Exploring Operation: 77+151=228, Resulting Numbers: [228]
228,69 unequal: No Solution
Exploring Operation: 151-77=74, Resulting Numbers: [74]
74,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 69:[83, 145], Operations: ['2+66=68', '77+68=145']
Exploring Operation: 83+145=228, Resulting Numbers: [228]
228,69 unequal: No Solution
Exploring Operation: 145-83=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 83*145=12035, Resulting Numbers: [12035]
12035,69 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: 69:[83, 66, 75], Operations: ['77-2=75']
Exploring Operation: 66+75=141, Resulting Numbers: [83, 141]
Generated Node #0,1,0: 69:[83, 141] Operation: 66+75=141
Exploring Operation: 83-66=17, Resulting Numbers: [75, 17]
Generated Node #0,1,1: 69:[75, 17] Operation: 83-66=17
Exploring Operation: 75-66=9, Resulting Numbers: [83, 9]
Generated Node #0,1,2: 69:[83, 9] Operation: 75-66=9
Exploring Operation: 83+66=149, Resulting Numbers: [75, 149]
Generated Node #0,1,3: 69:[75, 149] Operation: 83+66=149
Exploring Operation: 83-75=8, Resulting Numbers: [66, 8]
Generated Node #0,1,4: 69:[66, 8] Operation: 83-75=8
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 69:[66, 8], Operations: ['77-2=75', '83-75=8']
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 66*8=528, Resulting Numbers: [528]
528,69 unequal: No Solution
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,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:[75, 17], Operations: ['77-2=75', '83-66=17']
Exploring Operation: 75*17=1275, Resulting Numbers: [1275]
1275,69 unequal: No Solution
Exploring Operation: 75+17=92, Resulting Numbers: [92]
92,69 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,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:[83, 9], Operations: ['77-2=75', '75-66=9']
Exploring Operation: 83*9=747, Resulting Numbers: [747]
747,69 unequal: No Solution
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,69 unequal: No Solution
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,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,0
Current State: 69:[83, 141], Operations: ['77-2=75', '66+75=141']
Exploring Operation: 83+141=224, Resulting Numbers: [224]
224,69 unequal: No Solution
Exploring Operation: 141-83=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 83*141=11703, Resulting Numbers: [11703]
11703,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,3
Current State: 69:[75, 149], Operations: ['77-2=75', '83+66=149']
Exploring Operation: 75*149=11175, Resulting Numbers: [11175]
11175,69 unequal: No Solution
Exploring Operation: 149-75=74, Resulting Numbers: [74]
74,69 unequal: No Solution
Exploring Operation: 75+149=224, Resulting Numbers: [224]
224,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 69:[77, 66, 81], Operations: ['83-2=81']
Exploring Operation: 81-66=15, Resulting Numbers: [77, 15]
Generated Node #0,4,0: 69:[77, 15] Operation: 81-66=15
Exploring Operation: 81-77=4, Resulting Numbers: [66, 4]
Generated Node #0,4,1: 69:[66, 4] Operation: 81-77=4
Exploring Operation: 77-66=11, Resulting Numbers: [81, 11]
Generated Node #0,4,2: 69:[81, 11] Operation: 77-66=11
Exploring Operation: 66+81=147, Resulting Numbers: [77, 147]
Generated Node #0,4,3: 69:[77, 147] Operation: 66+81=147
Exploring Operation: 77+66=143, Resulting Numbers: [81, 143]
Generated Node #0,4,4: 69:[81, 143] Operation: 77+66=143
Moving to Node #0,3,0
Current State: 69:[66, 3], Operations: ['83-77=6', '6/2=3']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 66*3=198, Resulting Numbers: [198]
198,69 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,69 unequal: No Solution
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[83, 2, 77, 66], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [2, 66, 6]
Generated Node #0,3: 69:[2, 66, 6] Operation: 83-77=6
Moving to Node #0,3
Current State: 69:[2, 66, 6], Operations: ['83-77=6']
Exploring Operation: 6/2=3, Resulting Numbers: [66, 3]
Generated Node #0,3,0: 69:[66, 3] Operation: 6/2=3
Moving to Node #0,3,0
Current State: 69:[66, 3], Operations: ['83-77=6', '6/2=3']
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.940972
|
hs_5
|
mult_heuristic
|
[
48,
4,
46,
58
] | 29
|
[
"48-4=44",
"46-44=2",
"58/2=29"
] |
Current State: 29:[48, 4, 46, 58], Operations: []
Exploring Operation: 48-4=44, Resulting Numbers: [46, 58, 44]
Generated Node #2: [46, 58, 44] from Operation: 48-4=44
Current State: 29:[46, 58, 44], Operations: ['48-4=44']
Exploring Operation: 46-44=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 46-44=2
Current State: 29:[58, 2], Operations: ['48-4=44', '46-44=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4
|
Current State: 29:[48, 4, 46, 58], Operations: []
Exploring Operation: 48-4=44, Resulting Numbers: [46, 58, 44]
Generated Node #0,0: 29:[46, 58, 44] Operation: 48-4=44
Moving to Node #0,0
Current State: 29:[46, 58, 44], Operations: ['48-4=44']
Exploring Operation: 58-46=12, Resulting Numbers: [44, 12]
Generated Node #0,0,0: 29:[44, 12] Operation: 58-46=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[44, 12], Operations: ['48-4=44', '58-46=12']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,29 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,
91,
12
] | 93
|
[
"62+91=153",
"5*12=60",
"153-60=93"
] |
Current State: 93:[62, 5, 91, 12], Operations: []
Exploring Operation: 62+91=153, Resulting Numbers: [5, 12, 153]
Generated Node #2: [5, 12, 153] from Operation: 62+91=153
Current State: 93:[5, 12, 153], Operations: ['62+91=153']
Exploring Operation: 5*12=60, Resulting Numbers: [153, 60]
Generated Node #3: [153, 60] from Operation: 5*12=60
Current State: 93:[153, 60], Operations: ['62+91=153', '5*12=60']
Exploring Operation: 153-60=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4
|
Current State: 93:[62, 5, 91, 12], Operations: []
Exploring Operation: 62+5=67, Resulting Numbers: [91, 12, 67]
Generated Node #0,0: 93:[91, 12, 67] Operation: 62+5=67
Exploring Operation: 91-62=29, Resulting Numbers: [5, 12, 29]
Generated Node #0,1: 93:[5, 12, 29] Operation: 91-62=29
Exploring Operation: 62-12=50, Resulting Numbers: [5, 91, 50]
Generated Node #0,2: 93:[5, 91, 50] Operation: 62-12=50
Exploring Operation: 62+12=74, Resulting Numbers: [5, 91, 74]
Generated Node #0,3: 93:[5, 91, 74] Operation: 62+12=74
Moving to Node #0,1
Current State: 93:[5, 12, 29], Operations: ['91-62=29']
Exploring Operation: 5+29=34, Resulting Numbers: [12, 34]
Generated Node #0,1,0: 93:[12, 34] Operation: 5+29=34
Exploring Operation: 5+12=17, Resulting Numbers: [29, 17]
Generated Node #0,1,1: 93:[29, 17] Operation: 5+12=17
Exploring Operation: 12-5=7, Resulting Numbers: [29, 7]
Generated Node #0,1,2: 93:[29, 7] Operation: 12-5=7
Exploring Operation: 12+29=41, Resulting Numbers: [5, 41]
Generated Node #0,1,3: 93:[5, 41] Operation: 12+29=41
Moving to Node #0,3
Current State: 93:[5, 91, 74], Operations: ['62+12=74']
Exploring Operation: 5+74=79, Resulting Numbers: [91, 79]
Generated Node #0,3,0: 93:[91, 79] Operation: 5+74=79
Exploring Operation: 91-74=17, Resulting Numbers: [5, 17]
Generated Node #0,3,1: 93:[5, 17] Operation: 91-74=17
Exploring Operation: 91-5=86, Resulting Numbers: [74, 86]
Generated Node #0,3,2: 93:[74, 86] Operation: 91-5=86
Exploring Operation: 5+91=96, Resulting Numbers: [74, 96]
Generated Node #0,3,3: 93:[74, 96] Operation: 5+91=96
Moving to Node #0,2
Current State: 93:[5, 91, 50], Operations: ['62-12=50']
Exploring Operation: 91-50=41, Resulting Numbers: [5, 41]
Generated Node #0,2,0: 93:[5, 41] Operation: 91-50=41
Exploring Operation: 5+91=96, Resulting Numbers: [50, 96]
Generated Node #0,2,1: 93:[50, 96] Operation: 5+91=96
Exploring Operation: 50-5=45, Resulting Numbers: [91, 45]
Generated Node #0,2,2: 93:[91, 45] Operation: 50-5=45
Exploring Operation: 50/5=10, Resulting Numbers: [91, 10]
Generated Node #0,2,3: 93:[91, 10] Operation: 50/5=10
Moving to Node #0,0
Current State: 93:[91, 12, 67], Operations: ['62+5=67']
Exploring Operation: 91-67=24, Resulting Numbers: [12, 24]
Generated Node #0,0,0: 93:[12, 24] Operation: 91-67=24
Exploring Operation: 91+12=103, Resulting Numbers: [67, 103]
Generated Node #0,0,1: 93:[67, 103] Operation: 91+12=103
Exploring Operation: 67-12=55, Resulting Numbers: [91, 55]
Generated Node #0,0,2: 93:[91, 55] Operation: 67-12=55
Exploring Operation: 12+67=79, Resulting Numbers: [91, 79]
Generated Node #0,0,3: 93:[91, 79] Operation: 12+67=79
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[12, 24], Operations: ['62+5=67', '91-67=24']
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 12*24=288, Resulting Numbers: [288]
288,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[91, 79], Operations: ['62+5=67', '12+67=79']
Exploring Operation: 91*79=7189, Resulting Numbers: [7189]
7189,93 unequal: No Solution
Exploring Operation: 91+79=170, Resulting Numbers: [170]
170,93 unequal: No Solution
Exploring Operation: 91-79=12, Resulting Numbers: [12]
12,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[91, 55], Operations: ['62+5=67', '67-12=55']
Exploring Operation: 91*55=5005, Resulting Numbers: [5005]
5005,93 unequal: No Solution
Exploring Operation: 91+55=146, Resulting Numbers: [146]
146,93 unequal: No Solution
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[67, 103], Operations: ['62+5=67', '91+12=103']
Exploring Operation: 103-67=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 67*103=6901, Resulting Numbers: [6901]
6901,93 unequal: No Solution
Exploring Operation: 67+103=170, Resulting Numbers: [170]
170,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 93:[29, 7], Operations: ['91-62=29', '12-5=7']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,93 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Moving to Node #0,2,3
Current State: 93:[91, 10], Operations: ['62-12=50', '50/5=10']
Exploring Operation: 91-10=81, Resulting Numbers: [81]
81,93 unequal: No Solution
Exploring Operation: 91*10=910, Resulting Numbers: [910]
910,93 unequal: No Solution
Exploring Operation: 91+10=101, Resulting Numbers: [101]
101,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[5, 41], Operations: ['91-62=29', '12+29=41']
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,93 unequal: No Solution
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[5, 41], Operations: ['62-12=50', '91-50=41']
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,93 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[12, 34], Operations: ['91-62=29', '5+29=34']
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,93 unequal: No Solution
Exploring Operation: 12*34=408, Resulting Numbers: [408]
408,93 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Moving to Node #0,3,1
Current State: 93:[5, 17], Operations: ['62+12=74', '91-74=17']
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[91, 45], Operations: ['62-12=50', '50-5=45']
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,93 unequal: No Solution
Exploring Operation: 91+45=136, Resulting Numbers: [136]
136,93 unequal: No Solution
Exploring Operation: 91*45=4095, Resulting Numbers: [4095]
4095,93 unequal: No Solution
Moving to Node #0,3,0
Current State: 93:[91, 79], Operations: ['62+12=74', '5+74=79']
Exploring Operation: 91*79=7189, Resulting Numbers: [7189]
7189,93 unequal: No Solution
Exploring Operation: 91+79=170, Resulting Numbers: [170]
170,93 unequal: No Solution
Exploring Operation: 91-79=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[29, 17], Operations: ['91-62=29', '5+12=17']
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,93 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,93 unequal: No Solution
Moving to Node #0,3,3
Current State: 93:[74, 96], Operations: ['62+12=74', '5+91=96']
Exploring Operation: 74+96=170, Resulting Numbers: [170]
170,93 unequal: No Solution
Exploring Operation: 96-74=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Exploring Operation: 74*96=7104, Resulting Numbers: [7104]
7104,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[50, 96], Operations: ['62-12=50', '5+91=96']
Exploring Operation: 50+96=146, Resulting Numbers: [146]
146,93 unequal: No Solution
Exploring Operation: 50*96=4800, Resulting Numbers: [4800]
4800,93 unequal: No Solution
Exploring Operation: 96-50=46, Resulting Numbers: [46]
46,93 unequal: No Solution
Moving to Node #0,3,2
Current State: 93:[74, 86], Operations: ['62+12=74', '91-5=86']
Exploring Operation: 86-74=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 74+86=160, Resulting Numbers: [160]
160,93 unequal: No Solution
Exploring Operation: 74*86=6364, Resulting Numbers: [6364]
6364,93 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
36,
80,
34,
48
] | 18
|
[
"80-34=46",
"48-46=2",
"36/2=18"
] |
Current State: 18:[36, 80, 34, 48], Operations: []
Exploring Operation: 80-34=46, Resulting Numbers: [36, 48, 46]
Generated Node #2: [36, 48, 46] from Operation: 80-34=46
Current State: 18:[36, 48, 46], Operations: ['80-34=46']
Exploring Operation: 48-46=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 48-46=2
Current State: 18:[36, 2], Operations: ['80-34=46', '48-46=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4
|
Current State: 18:[36, 80, 34, 48], Operations: []
Exploring Operation: 80-36=44, Resulting Numbers: [34, 48, 44]
Generated Node #0,0: 18:[34, 48, 44] Operation: 80-36=44
Exploring Operation: 80-48=32, Resulting Numbers: [36, 34, 32]
Generated Node #0,1: 18:[36, 34, 32] Operation: 80-48=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[36, 34, 32], Operations: ['80-48=32']
Exploring Operation: 36-32=4, Resulting Numbers: [34, 4]
Generated Node #0,1,0: 18:[34, 4] Operation: 36-32=4
Exploring Operation: 36-34=2, Resulting Numbers: [32, 2]
Generated Node #0,1,1: 18:[32, 2] Operation: 36-34=2
Moving to Node #0,1,1
Current State: 18:[32, 2], Operations: ['80-48=32', '36-34=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[34, 4], Operations: ['80-48=32', '36-32=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[34, 48, 44], Operations: ['80-36=44']
Exploring Operation: 48-34=14, Resulting Numbers: [44, 14]
Generated Node #0,0,0: 18:[44, 14] Operation: 48-34=14
Exploring Operation: 48-44=4, Resulting Numbers: [34, 4]
Generated Node #0,0,1: 18:[34, 4] Operation: 48-44=4
Moving to Node #0,0,1
Current State: 18:[34, 4], Operations: ['80-36=44', '48-44=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[44, 14], Operations: ['80-36=44', '48-34=14']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 44+14=58, Resulting Numbers: [58]
58,18 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
|
[
78,
24,
37,
37
] | 28
|
[
"78+24=102",
"37+37=74",
"102-74=28"
] |
Current State: 28:[78, 24, 37, 37], Operations: []
Exploring Operation: 78+24=102, Resulting Numbers: [37, 37, 102]
Generated Node #2: [37, 37, 102] from Operation: 78+24=102
Current State: 28:[37, 37, 102], Operations: ['78+24=102']
Exploring Operation: 37+37=74, Resulting Numbers: [102, 74]
Generated Node #3: [102, 74] from Operation: 37+37=74
Current State: 28:[102, 74], Operations: ['78+24=102', '37+37=74']
Exploring Operation: 102-74=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4
|
Current State: 28:[78, 24, 37, 37], Operations: []
Exploring Operation: 78-37=41, Resulting Numbers: [24, 37, 41]
Generated Node #0,0: 28:[24, 37, 41] Operation: 78-37=41
Exploring Operation: 78-37=41, Resulting Numbers: [24, 37, 41]
Generated Node #0,1: 28:[24, 37, 41] Operation: 78-37=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[24, 37, 41], Operations: ['78-37=41']
Exploring Operation: 41-24=17, Resulting Numbers: [37, 17]
Generated Node #0,0,0: 28:[37, 17] Operation: 41-24=17
Exploring Operation: 41-37=4, Resulting Numbers: [24, 4]
Generated Node #0,0,1: 28:[24, 4] Operation: 41-37=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[24, 4], Operations: ['78-37=41', '41-37=4']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[78, 24, 37, 37], Operations: []
Exploring Operation: 78-37=41, Resulting Numbers: [24, 37, 41]
Generated Node #0,0: 28:[24, 37, 41] Operation: 78-37=41
Moving to Node #0,0
Current State: 28:[24, 37, 41], Operations: ['78-37=41']
Exploring Operation: 41-37=4, Resulting Numbers: [24, 4]
Generated Node #0,0,1: 28:[24, 4] Operation: 41-37=4
Moving to Node #0,0,1
Current State: 28:[24, 4], Operations: ['78-37=41', '41-37=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
mult_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.