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 |
|---|---|---|---|---|---|---|---|---|
[
57,
75,
13,
13
] | 75 | [
"13-13=0",
"57*0=0",
"75+0=75"
] | Current State: 75:[57, 75, 13, 13], Operations: []
Exploring Operation: 13-13=0, Resulting Numbers: [57, 75, 0]
Generated Node #2: [57, 75, 0] from Operation: 13-13=0
Current State: 75:[57, 75, 0], Operations: ['13-13=0']
Exploring Operation: 57*0=0, Resulting Numbers: [75, 0]
Generated Node #3: [75, 0] from Operation: 57*0=0
Current State: 75:[75, 0], Operations: ['13-13=0', '57*0=0']
Exploring Operation: 75+0=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[57, 75, 13, 13], Operations: []
Exploring Operation: 13/13=1, Resulting Numbers: [57, 75, 1]
Generated Node #0,0: 75:[57, 75, 1] Operation: 13/13=1
Exploring Operation: 75-57=18, Resulting Numbers: [13, 13, 18]
Generated Node #0,1: 75:[13, 13, 18] Operation: 75-57=18
Exploring Operation: 57+13=70, Resulting Numbers: [75, 13, 70]
Generated Node #0,2: 75:[75, 13, 70] Operation: 57+13=70
Exploring Operation: 13+13=26, Resulting Numbers: [57, 75, 26]
Generated Node #0,3: 75:[57, 75, 26] Operation: 13+13=26
Exploring Operation: 57+13=70, Resulting Numbers: [75, 13, 70]
Generated Node #0,4: 75:[75, 13, 70] Operation: 57+13=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[13, 13, 18], Operations: ['75-57=18']
Exploring Operation: 13/13=1, Resulting Numbers: [18, 1]
Generated Node #0,1,0: 75:[18, 1] Operation: 13/13=1
Exploring Operation: 18-13=5, Resulting Numbers: [13, 5]
Generated Node #0,1,1: 75:[13, 5] Operation: 18-13=5
Exploring Operation: 13+13=26, Resulting Numbers: [18, 26]
Generated Node #0,1,2: 75:[18, 26] Operation: 13+13=26
Exploring Operation: 13-13=0, Resulting Numbers: [18, 0]
Generated Node #0,1,3: 75:[18, 0] Operation: 13-13=0
Exploring Operation: 18-13=5, Resulting Numbers: [13, 5]
Generated Node #0,1,4: 75:[13, 5] Operation: 18-13=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[13, 5], Operations: ['75-57=18', '18-13=5']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 75:[13, 5], Operations: ['75-57=18', '18-13=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 75:[18, 26], Operations: ['75-57=18', '13+13=26']
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[18, 1], Operations: ['75-57=18', '13/13=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,75 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 75:[18, 0], Operations: ['75-57=18', '13-13=0']
Exploring Operation: 18*0=0, Resulting Numbers: [0]
0,75 unequal: No Solution
Exploring Operation: 18+0=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 18-0=18, Resulting Numbers: [18]
18,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[75, 13, 70], Operations: ['57+13=70']
Exploring Operation: 75-13=62, Resulting Numbers: [70, 62]
Generated Node #0,2,0: 75:[70, 62] Operation: 75-13=62
Exploring Operation: 13+70=83, Resulting Numbers: [75, 83]
Generated Node #0,2,1: 75:[75, 83] Operation: 13+70=83
Exploring Operation: 75+13=88, Resulting Numbers: [70, 88]
Generated Node #0,2,2: 75:[70, 88] Operation: 75+13=88
Exploring Operation: 75-70=5, Resulting Numbers: [13, 5]
Generated Node #0,2,3: 75:[13, 5] Operation: 75-70=5
Exploring Operation: 70-13=57, Resulting Numbers: [75, 57]
Generated Node #0,2,4: 75:[75, 57] Operation: 70-13=57
Moving to Node #0,2,3
Current State: 75:[13, 5], Operations: ['57+13=70', '75-70=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[75, 83], Operations: ['57+13=70', '13+70=83']
Exploring Operation: 75*83=6225, Resulting Numbers: [6225]
6225,75 unequal: No Solution
Exploring Operation: 75+83=158, Resulting Numbers: [158]
158,75 unequal: No Solution
Exploring Operation: 83-75=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[70, 62], Operations: ['57+13=70', '75-13=62']
Exploring Operation: 70+62=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Exploring Operation: 70*62=4340, Resulting Numbers: [4340]
4340,75 unequal: No Solution
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[70, 88], Operations: ['57+13=70', '75+13=88']
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 70*88=6160, Resulting Numbers: [6160]
6160,75 unequal: No Solution
Exploring Operation: 70+88=158, Resulting Numbers: [158]
158,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[75, 57], Operations: ['57+13=70', '70-13=57']
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 75+57=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Exploring Operation: 75*57=4275, Resulting Numbers: [4275]
4275,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[75, 13, 70], Operations: ['57+13=70']
Exploring Operation: 70-13=57, Resulting Numbers: [75, 57]
Generated Node #0,4,0: 75:[75, 57] Operation: 70-13=57
Exploring Operation: 75-70=5, Resulting Numbers: [13, 5]
Generated Node #0,4,1: 75:[13, 5] Operation: 75-70=5
Exploring Operation: 75+13=88, Resulting Numbers: [70, 88]
Generated Node #0,4,2: 75:[70, 88] Operation: 75+13=88
Exploring Operation: 13+70=83, Resulting Numbers: [75, 83]
Generated Node #0,4,3: 75:[75, 83] Operation: 13+70=83
Exploring Operation: 75-13=62, Resulting Numbers: [70, 62]
Generated Node #0,4,4: 75:[70, 62] Operation: 75-13=62
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 75:[13, 5], Operations: ['57+13=70', '75-70=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 75:[75, 83], Operations: ['57+13=70', '13+70=83']
Exploring Operation: 83-75=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 75*83=6225, Resulting Numbers: [6225]
6225,75 unequal: No Solution
Exploring Operation: 75+83=158, Resulting Numbers: [158]
158,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 75:[75, 57], Operations: ['57+13=70', '70-13=57']
Exploring Operation: 75+57=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Exploring Operation: 75*57=4275, Resulting Numbers: [4275]
4275,75 unequal: No Solution
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 75:[70, 88], Operations: ['57+13=70', '75+13=88']
Exploring Operation: 70+88=158, Resulting Numbers: [158]
158,75 unequal: No Solution
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 70*88=6160, Resulting Numbers: [6160]
6160,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 75:[70, 62], Operations: ['57+13=70', '75-13=62']
Exploring Operation: 70*62=4340, Resulting Numbers: [4340]
4340,75 unequal: No Solution
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 70+62=132, Resulting Numbers: [132]
132,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[57, 75, 26], Operations: ['13+13=26']
Exploring Operation: 75+26=101, Resulting Numbers: [57, 101]
Generated Node #0,3,0: 75:[57, 101] Operation: 75+26=101
Exploring Operation: 75-26=49, Resulting Numbers: [57, 49]
Generated Node #0,3,1: 75:[57, 49] Operation: 75-26=49
Exploring Operation: 57-26=31, Resulting Numbers: [75, 31]
Generated Node #0,3,2: 75:[75, 31] Operation: 57-26=31
Exploring Operation: 57+26=83, Resulting Numbers: [75, 83]
Generated Node #0,3,3: 75:[75, 83] Operation: 57+26=83
Exploring Operation: 75-57=18, Resulting Numbers: [26, 18]
Generated Node #0,3,4: 75:[26, 18] Operation: 75-57=18
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 75:[26, 18], Operations: ['13+13=26', '75-57=18']
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 75:[75, 31], Operations: ['13+13=26', '57-26=31']
Exploring Operation: 75+31=106, Resulting Numbers: [106]
106,75 unequal: No Solution
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 75*31=2325, Resulting Numbers: [2325]
2325,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 75:[75, 83], Operations: ['13+13=26', '57+26=83']
Exploring Operation: 75+83=158, Resulting Numbers: [158]
158,75 unequal: No Solution
Exploring Operation: 83-75=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 75*83=6225, Resulting Numbers: [6225]
6225,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 75:[57, 49], Operations: ['13+13=26', '75-26=49']
Exploring Operation: 57+49=106, Resulting Numbers: [106]
106,75 unequal: No Solution
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 57*49=2793, Resulting Numbers: [2793]
2793,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 75:[57, 101], Operations: ['13+13=26', '75+26=101']
Exploring Operation: 101-57=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 57+101=158, Resulting Numbers: [158]
158,75 unequal: No Solution
Exploring Operation: 57*101=5757, Resulting Numbers: [5757]
5757,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[57, 75, 1], Operations: ['13/13=1']
Exploring Operation: 57*1=57, Resulting Numbers: [75, 57]
Generated Node #0,0,0: 75:[75, 57] Operation: 57*1=57
Exploring Operation: 75-57=18, Resulting Numbers: [1, 18]
Generated Node #0,0,1: 75:[1, 18] Operation: 75-57=18
Exploring Operation: 75*1=75, Resulting Numbers: [57, 75]
Generated Node #0,0,2: 75:[57, 75] Operation: 75*1=75
Exploring Operation: 57/1=57, Resulting Numbers: [75, 57]
Generated Node #0,0,3: 75:[75, 57] Operation: 57/1=57
Exploring Operation: 57+1=58, Resulting Numbers: [75, 58]
Generated Node #0,0,4: 75:[75, 58] Operation: 57+1=58
Moving to Node #0,0,1
Current State: 75:[1, 18], Operations: ['13/13=1', '75-57=18']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,75 unequal: No Solution
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Moving to Node #0,0,4
Current State: 75:[75, 58], Operations: ['13/13=1', '57+1=58']
Exploring Operation: 75*58=4350, Resulting Numbers: [4350]
4350,75 unequal: No Solution
Exploring Operation: 75+58=133, Resulting Numbers: [133]
133,75 unequal: No Solution
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[75, 57], Operations: ['13/13=1', '57*1=57']
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 75*57=4275, Resulting Numbers: [4275]
4275,75 unequal: No Solution
Exploring Operation: 75+57=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[57, 75], Operations: ['13/13=1', '75*1=75']
Exploring Operation: 57+75=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Exploring Operation: 57*75=4275, Resulting Numbers: [4275]
4275,75 unequal: No Solution
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[75, 57], Operations: ['13/13=1', '57/1=57']
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 75*57=4275, Resulting Numbers: [4275]
4275,75 unequal: No Solution
Exploring Operation: 75+57=132, Resulting Numbers: [132]
132,75 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 |
[
90,
85,
77,
93
] | 11 | [
"90-85=5",
"93-77=16",
"16-5=11"
] | Current State: 11:[90, 85, 77, 93], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [77, 93, 5]
Generated Node #2: [77, 93, 5] from Operation: 90-85=5
Current State: 11:[77, 93, 5], Operations: ['90-85=5']
Exploring Operation: 93-77=16, Resulting Numbers: [5, 16]
Generated Node #3: [5, 16] from Operation: 93-77=16
Current State: 11:[5, 16], Operations: ['90-85=5', '93-77=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[90, 85, 77, 93], Operations: []
Exploring Operation: 93-85=8, Resulting Numbers: [90, 77, 8]
Generated Node #0,0: 11:[90, 77, 8] Operation: 93-85=8
Exploring Operation: 93-90=3, Resulting Numbers: [85, 77, 3]
Generated Node #0,1: 11:[85, 77, 3] Operation: 93-90=3
Exploring Operation: 90-85=5, Resulting Numbers: [77, 93, 5]
Generated Node #0,2: 11:[77, 93, 5] Operation: 90-85=5
Exploring Operation: 90-77=13, Resulting Numbers: [85, 93, 13]
Generated Node #0,3: 11:[85, 93, 13] Operation: 90-77=13
Moving to Node #0,0
Current State: 11:[90, 77, 8], Operations: ['93-85=8']
Exploring Operation: 90-8=82, Resulting Numbers: [77, 82]
Generated Node #0,0,0: 11:[77, 82] Operation: 90-8=82
Exploring Operation: 90-77=13, Resulting Numbers: [8, 13]
Generated Node #0,0,1: 11:[8, 13] Operation: 90-77=13
Exploring Operation: 77-8=69, Resulting Numbers: [90, 69]
Generated Node #0,0,2: 11:[90, 69] Operation: 77-8=69
Exploring Operation: 90+8=98, Resulting Numbers: [77, 98]
Generated Node #0,0,3: 11:[77, 98] Operation: 90+8=98
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[8, 13], Operations: ['93-85=8', '90-77=13']
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,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,0,0
Current State: 11:[77, 82], Operations: ['93-85=8', '90-8=82']
Exploring Operation: 77*82=6314, Resulting Numbers: [6314]
6314,11 unequal: No Solution
Exploring Operation: 77+82=159, Resulting Numbers: [159]
159,11 unequal: No Solution
Exploring Operation: 82-77=5, Resulting Numbers: [5]
5,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,0,2
Current State: 11:[90, 69], Operations: ['93-85=8', '77-8=69']
Exploring Operation: 90+69=159, Resulting Numbers: [159]
159,11 unequal: No Solution
Exploring Operation: 90-69=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 90*69=6210, Resulting Numbers: [6210]
6210,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,0,3
Current State: 11:[77, 98], Operations: ['93-85=8', '90+8=98']
Exploring Operation: 77+98=175, Resulting Numbers: [175]
175,11 unequal: No Solution
Exploring Operation: 77*98=7546, Resulting Numbers: [7546]
7546,11 unequal: No Solution
Exploring Operation: 98-77=21, Resulting Numbers: [21]
21,11 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: 11:[85, 77, 3], Operations: ['93-90=3']
Exploring Operation: 77-3=74, Resulting Numbers: [85, 74]
Generated Node #0,1,0: 11:[85, 74] Operation: 77-3=74
Exploring Operation: 85-3=82, Resulting Numbers: [77, 82]
Generated Node #0,1,1: 11:[77, 82] Operation: 85-3=82
Exploring Operation: 85-77=8, Resulting Numbers: [3, 8]
Generated Node #0,1,2: 11:[3, 8] Operation: 85-77=8
Exploring Operation: 85+3=88, Resulting Numbers: [77, 88]
Generated Node #0,1,3: 11:[77, 88] Operation: 85+3=88
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[3, 8], Operations: ['93-90=3', '85-77=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[90, 85, 77, 93], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [85, 77, 3]
Generated Node #0,1: 11:[85, 77, 3] Operation: 93-90=3
Moving to Node #0,1
Current State: 11:[85, 77, 3], Operations: ['93-90=3']
Exploring Operation: 85-77=8, Resulting Numbers: [3, 8]
Generated Node #0,1,2: 11:[3, 8] Operation: 85-77=8
Moving to Node #0,1,2
Current State: 11:[3, 8], Operations: ['93-90=3', '85-77=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
23,
77,
80,
7
] | 62 | [
"80-77=3",
"23*3=69",
"69-7=62"
] | Current State: 62:[23, 77, 80, 7], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [23, 7, 3]
Generated Node #2: [23, 7, 3] from Operation: 80-77=3
Current State: 62:[23, 7, 3], Operations: ['80-77=3']
Exploring Operation: 23*3=69, Resulting Numbers: [7, 69]
Generated Node #3: [7, 69] from Operation: 23*3=69
Current State: 62:[7, 69], Operations: ['80-77=3', '23*3=69']
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[23, 77, 80, 7], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [23, 7, 3]
Generated Node #0,0: 62:[23, 7, 3] Operation: 80-77=3
Exploring Operation: 77-23=54, Resulting Numbers: [80, 7, 54]
Generated Node #0,1: 62:[80, 7, 54] Operation: 77-23=54
Exploring Operation: 80-23=57, Resulting Numbers: [77, 7, 57]
Generated Node #0,2: 62:[77, 7, 57] Operation: 80-23=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[23, 7, 3], Operations: ['80-77=3']
Exploring Operation: 23+3=26, Resulting Numbers: [7, 26]
Generated Node #0,0,0: 62:[7, 26] Operation: 23+3=26
Exploring Operation: 23+7=30, Resulting Numbers: [3, 30]
Generated Node #0,0,1: 62:[3, 30] Operation: 23+7=30
Exploring Operation: 7-3=4, Resulting Numbers: [23, 4]
Generated Node #0,0,2: 62:[23, 4] Operation: 7-3=4
Moving to Node #0,0,1
Current State: 62:[3, 30], Operations: ['80-77=3', '23+7=30']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[7, 26], Operations: ['80-77=3', '23+3=26']
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,62 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[23, 4], Operations: ['80-77=3', '7-3=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,62 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[77, 7, 57], Operations: ['80-23=57']
Exploring Operation: 77-7=70, Resulting Numbers: [57, 70]
Generated Node #0,2,0: 62:[57, 70] Operation: 77-7=70
Exploring Operation: 77-57=20, Resulting Numbers: [7, 20]
Generated Node #0,2,1: 62:[7, 20] Operation: 77-57=20
Exploring Operation: 77/7=11, Resulting Numbers: [57, 11]
Generated Node #0,2,2: 62:[57, 11] Operation: 77/7=11
Moving to Node #0,2,0
Current State: 62:[57, 70], Operations: ['80-23=57', '77-7=70']
Exploring Operation: 70-57=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Exploring Operation: 57*70=3990, Resulting Numbers: [3990]
3990,62 unequal: No Solution
Exploring Operation: 57+70=127, Resulting Numbers: [127]
127,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[57, 11], Operations: ['80-23=57', '77/7=11']
Exploring Operation: 57+11=68, Resulting Numbers: [68]
68,62 unequal: No Solution
Exploring Operation: 57*11=627, Resulting Numbers: [627]
627,62 unequal: No Solution
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[7, 20], Operations: ['80-23=57', '77-57=20']
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,62 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,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
Current State: 62:[80, 7, 54], Operations: ['77-23=54']
Exploring Operation: 80-54=26, Resulting Numbers: [7, 26]
Generated Node #0,1,0: 62:[7, 26] Operation: 80-54=26
Exploring Operation: 80-7=73, Resulting Numbers: [54, 73]
Generated Node #0,1,1: 62:[54, 73] Operation: 80-7=73
Exploring Operation: 7+54=61, Resulting Numbers: [80, 61]
Generated Node #0,1,2: 62:[80, 61] Operation: 7+54=61
Moving to Node #0,1,0
Current State: 62:[7, 26], Operations: ['77-23=54', '80-54=26']
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,62 unequal: No Solution
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[54, 73], Operations: ['77-23=54', '80-7=73']
Exploring Operation: 54*73=3942, Resulting Numbers: [3942]
3942,62 unequal: No Solution
Exploring Operation: 54+73=127, Resulting Numbers: [127]
127,62 unequal: No Solution
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[80, 61], Operations: ['77-23=54', '7+54=61']
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 80*61=4880, Resulting Numbers: [4880]
4880,62 unequal: No Solution
Exploring Operation: 80+61=141, Resulting Numbers: [141]
141,62 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 |
[
63,
46,
71,
45
] | 99 | [
"63-46=17",
"71+45=116",
"116-17=99"
] | Current State: 99:[63, 46, 71, 45], Operations: []
Exploring Operation: 63-46=17, Resulting Numbers: [71, 45, 17]
Generated Node #2: [71, 45, 17] from Operation: 63-46=17
Current State: 99:[71, 45, 17], Operations: ['63-46=17']
Exploring Operation: 71+45=116, Resulting Numbers: [17, 116]
Generated Node #3: [17, 116] from Operation: 71+45=116
Current State: 99:[17, 116], Operations: ['63-46=17', '71+45=116']
Exploring Operation: 116-17=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[63, 46, 71, 45], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [46, 45, 8]
Generated Node #0,0: 99:[46, 45, 8] Operation: 71-63=8
Exploring Operation: 63-46=17, Resulting Numbers: [71, 45, 17]
Generated Node #0,1: 99:[71, 45, 17] Operation: 63-46=17
Moving to Node #0,0
Current State: 99:[46, 45, 8], Operations: ['71-63=8']
Exploring Operation: 46-45=1, Resulting Numbers: [8, 1]
Generated Node #0,0,0: 99:[8, 1] Operation: 46-45=1
Exploring Operation: 46+45=91, Resulting Numbers: [8, 91]
Generated Node #0,0,1: 99:[8, 91] Operation: 46+45=91
Moving to Node #0,1
Current State: 99:[71, 45, 17], Operations: ['63-46=17']
Exploring Operation: 71+45=116, Resulting Numbers: [17, 116]
Generated Node #0,1,0: 99:[17, 116] Operation: 71+45=116
Exploring Operation: 71-45=26, Resulting Numbers: [17, 26]
Generated Node #0,1,1: 99:[17, 26] Operation: 71-45=26
Moving to Node #0,0,0
Current State: 99:[8, 1], Operations: ['71-63=8', '46-45=1']
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[8, 91], Operations: ['71-63=8', '46+45=91']
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,99 unequal: No Solution
Exploring Operation: 8+91=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[63, 46, 71, 45], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [46, 45, 8]
Generated Node #0,0: 99:[46, 45, 8] Operation: 71-63=8
Moving to Node #0,0
Current State: 99:[46, 45, 8], Operations: ['71-63=8']
Exploring Operation: 46+45=91, Resulting Numbers: [8, 91]
Generated Node #0,0,1: 99:[8, 91] Operation: 46+45=91
Moving to Node #0,0,1
Current State: 99:[8, 91], Operations: ['71-63=8', '46+45=91']
Exploring Operation: 8+91=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.987847 | hs_2 | sum_heuristic |
[
33,
16,
4,
95
] | 28 | [
"33-16=17",
"95+17=112",
"112/4=28"
] | Current State: 28:[33, 16, 4, 95], Operations: []
Exploring Operation: 33-16=17, Resulting Numbers: [4, 95, 17]
Generated Node #2: [4, 95, 17] from Operation: 33-16=17
Current State: 28:[4, 95, 17], Operations: ['33-16=17']
Exploring Operation: 95+17=112, Resulting Numbers: [4, 112]
Generated Node #3: [4, 112] from Operation: 95+17=112
Current State: 28:[4, 112], Operations: ['33-16=17', '95+17=112']
Exploring Operation: 112/4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[33, 16, 4, 95], Operations: []
Exploring Operation: 95-33=62, Resulting Numbers: [16, 4, 62]
Generated Node #0,0: 28:[16, 4, 62] Operation: 95-33=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[16, 4, 62], Operations: ['95-33=62']
Exploring Operation: 62-16=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 28:[4, 46] Operation: 62-16=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[4, 46], Operations: ['95-33=62', '62-16=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
14,
44,
2,
62
] | 94 | [
"44-14=30",
"2+62=64",
"30+64=94"
] | Current State: 94:[14, 44, 2, 62], Operations: []
Exploring Operation: 44-14=30, Resulting Numbers: [2, 62, 30]
Generated Node #2: [2, 62, 30] from Operation: 44-14=30
Current State: 94:[2, 62, 30], Operations: ['44-14=30']
Exploring Operation: 2+62=64, Resulting Numbers: [30, 64]
Generated Node #3: [30, 64] from Operation: 2+62=64
Current State: 94:[30, 64], Operations: ['44-14=30', '2+62=64']
Exploring Operation: 30+64=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[14, 44, 2, 62], Operations: []
Exploring Operation: 44+62=106, Resulting Numbers: [14, 2, 106]
Generated Node #0,0: 94:[14, 2, 106] Operation: 44+62=106
Exploring Operation: 14+62=76, Resulting Numbers: [44, 2, 76]
Generated Node #0,1: 94:[44, 2, 76] Operation: 14+62=76
Exploring Operation: 62-14=48, Resulting Numbers: [44, 2, 48]
Generated Node #0,2: 94:[44, 2, 48] Operation: 62-14=48
Exploring Operation: 14+44=58, Resulting Numbers: [2, 62, 58]
Generated Node #0,3: 94:[2, 62, 58] Operation: 14+44=58
Exploring Operation: 14/2=7, Resulting Numbers: [44, 62, 7]
Generated Node #0,4: 94:[44, 62, 7] Operation: 14/2=7
Moving to Node #0,2
Current State: 94:[44, 2, 48], Operations: ['62-14=48']
Exploring Operation: 48-44=4, Resulting Numbers: [2, 4]
Generated Node #0,2,0: 94:[2, 4] Operation: 48-44=4
Exploring Operation: 44+2=46, Resulting Numbers: [48, 46]
Generated Node #0,2,1: 94:[48, 46] Operation: 44+2=46
Exploring Operation: 2*48=96, Resulting Numbers: [44, 96]
Generated Node #0,2,2: 94:[44, 96] Operation: 2*48=96
Exploring Operation: 44+48=92, Resulting Numbers: [2, 92]
Generated Node #0,2,3: 94:[2, 92] Operation: 44+48=92
Exploring Operation: 48-2=46, Resulting Numbers: [44, 46]
Generated Node #0,2,4: 94:[44, 46] Operation: 48-2=46
Moving to Node #0,1
Current State: 94:[44, 2, 76], Operations: ['14+62=76']
Exploring Operation: 44+2=46, Resulting Numbers: [76, 46]
Generated Node #0,1,0: 94:[76, 46] Operation: 44+2=46
Exploring Operation: 2+76=78, Resulting Numbers: [44, 78]
Generated Node #0,1,1: 94:[44, 78] Operation: 2+76=78
Exploring Operation: 44-2=42, Resulting Numbers: [76, 42]
Generated Node #0,1,2: 94:[76, 42] Operation: 44-2=42
Exploring Operation: 76-44=32, Resulting Numbers: [2, 32]
Generated Node #0,1,3: 94:[2, 32] Operation: 76-44=32
Exploring Operation: 76/2=38, Resulting Numbers: [44, 38]
Generated Node #0,1,4: 94:[44, 38] Operation: 76/2=38
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 94:[44, 38], Operations: ['14+62=76', '76/2=38']
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,94 unequal: No Solution
Exploring Operation: 44*38=1672, Resulting Numbers: [1672]
1672,94 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 94:[2, 32], Operations: ['14+62=76', '76-44=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[76, 46], Operations: ['14+62=76', '44+2=46']
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,94 unequal: No Solution
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[44, 78], Operations: ['14+62=76', '2+76=78']
Exploring Operation: 44+78=122, Resulting Numbers: [122]
122,94 unequal: No Solution
Exploring Operation: 44*78=3432, Resulting Numbers: [3432]
3432,94 unequal: No Solution
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[76, 42], Operations: ['14+62=76', '44-2=42']
Exploring Operation: 76*42=3192, Resulting Numbers: [3192]
3192,94 unequal: No Solution
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 76+42=118, Resulting Numbers: [118]
118,94 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: 94:[44, 62, 7], Operations: ['14/2=7']
Exploring Operation: 44+62=106, Resulting Numbers: [7, 106]
Generated Node #0,4,0: 94:[7, 106] Operation: 44+62=106
Exploring Operation: 44+7=51, Resulting Numbers: [62, 51]
Generated Node #0,4,1: 94:[62, 51] Operation: 44+7=51
Exploring Operation: 44-7=37, Resulting Numbers: [62, 37]
Generated Node #0,4,2: 94:[62, 37] Operation: 44-7=37
Exploring Operation: 62-44=18, Resulting Numbers: [7, 18]
Generated Node #0,4,3: 94:[7, 18] Operation: 62-44=18
Exploring Operation: 62-7=55, Resulting Numbers: [44, 55]
Generated Node #0,4,4: 94:[44, 55] Operation: 62-7=55
Moving to Node #0,0
Current State: 94:[14, 2, 106], Operations: ['44+62=106']
Exploring Operation: 106-14=92, Resulting Numbers: [2, 92]
Generated Node #0,0,0: 94:[2, 92] Operation: 106-14=92
Exploring Operation: 106/2=53, Resulting Numbers: [14, 53]
Generated Node #0,0,1: 94:[14, 53] Operation: 106/2=53
Exploring Operation: 106-2=104, Resulting Numbers: [14, 104]
Generated Node #0,0,2: 94:[14, 104] Operation: 106-2=104
Exploring Operation: 14-2=12, Resulting Numbers: [106, 12]
Generated Node #0,0,3: 94:[106, 12] Operation: 14-2=12
Exploring Operation: 14/2=7, Resulting Numbers: [106, 7]
Generated Node #0,0,4: 94:[106, 7] Operation: 14/2=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[2, 92], Operations: ['44+62=106', '106-14=92']
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[14, 44, 2, 62], Operations: []
Exploring Operation: 44+62=106, Resulting Numbers: [14, 2, 106]
Generated Node #0,0: 94:[14, 2, 106] Operation: 44+62=106
Moving to Node #0,0
Current State: 94:[14, 2, 106], Operations: ['44+62=106']
Exploring Operation: 106-14=92, Resulting Numbers: [2, 92]
Generated Node #0,0,0: 94:[2, 92] Operation: 106-14=92
Moving to Node #0,0,0
Current State: 94:[2, 92], Operations: ['44+62=106', '106-14=92']
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_5 | sum_heuristic |
[
20,
70,
72,
59
] | 37 | [
"70-20=50",
"72-59=13",
"50-13=37"
] | Current State: 37:[20, 70, 72, 59], Operations: []
Exploring Operation: 70-20=50, Resulting Numbers: [72, 59, 50]
Generated Node #2: [72, 59, 50] from Operation: 70-20=50
Current State: 37:[72, 59, 50], Operations: ['70-20=50']
Exploring Operation: 72-59=13, Resulting Numbers: [50, 13]
Generated Node #3: [50, 13] from Operation: 72-59=13
Current State: 37:[50, 13], Operations: ['70-20=50', '72-59=13']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[20, 70, 72, 59], Operations: []
Exploring Operation: 72-59=13, Resulting Numbers: [20, 70, 13]
Generated Node #0,0: 37:[20, 70, 13] Operation: 72-59=13
Exploring Operation: 72-20=52, Resulting Numbers: [70, 59, 52]
Generated Node #0,1: 37:[70, 59, 52] Operation: 72-20=52
Exploring Operation: 59-20=39, Resulting Numbers: [70, 72, 39]
Generated Node #0,2: 37:[70, 72, 39] Operation: 59-20=39
Exploring Operation: 70-20=50, Resulting Numbers: [72, 59, 50]
Generated Node #0,3: 37:[72, 59, 50] Operation: 70-20=50
Exploring Operation: 72-70=2, Resulting Numbers: [20, 59, 2]
Generated Node #0,4: 37:[20, 59, 2] Operation: 72-70=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[70, 59, 52], Operations: ['72-20=52']
Exploring Operation: 70+59=129, Resulting Numbers: [52, 129]
Generated Node #0,1,0: 37:[52, 129] Operation: 70+59=129
Exploring Operation: 70+52=122, Resulting Numbers: [59, 122]
Generated Node #0,1,1: 37:[59, 122] Operation: 70+52=122
Exploring Operation: 70-52=18, Resulting Numbers: [59, 18]
Generated Node #0,1,2: 37:[59, 18] Operation: 70-52=18
Exploring Operation: 59-52=7, Resulting Numbers: [70, 7]
Generated Node #0,1,3: 37:[70, 7] Operation: 59-52=7
Exploring Operation: 70-59=11, Resulting Numbers: [52, 11]
Generated Node #0,1,4: 37:[52, 11] Operation: 70-59=11
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[59, 18], Operations: ['72-20=52', '70-52=18']
Exploring Operation: 59*18=1062, Resulting Numbers: [1062]
1062,37 unequal: No Solution
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,37 unequal: No Solution
No 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: 37:[52, 11], Operations: ['72-20=52', '70-59=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,37 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,37 unequal: No Solution
No 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: 37:[70, 7], Operations: ['72-20=52', '59-52=7']
Exploring Operation: 70*7=490, Resulting Numbers: [490]
490,37 unequal: No Solution
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,37 unequal: No Solution
No 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: 37:[52, 129], Operations: ['72-20=52', '70+59=129']
Exploring Operation: 52*129=6708, Resulting Numbers: [6708]
6708,37 unequal: No Solution
Exploring Operation: 129-52=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 52+129=181, Resulting Numbers: [181]
181,37 unequal: No Solution
No 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: 37:[59, 122], Operations: ['72-20=52', '70+52=122']
Exploring Operation: 59*122=7198, Resulting Numbers: [7198]
7198,37 unequal: No Solution
Exploring Operation: 122-59=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Exploring Operation: 59+122=181, Resulting Numbers: [181]
181,37 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: 37:[70, 72, 39], Operations: ['59-20=39']
Exploring Operation: 72-70=2, Resulting Numbers: [39, 2]
Generated Node #0,2,0: 37:[39, 2] Operation: 72-70=2
Exploring Operation: 70+72=142, Resulting Numbers: [39, 142]
Generated Node #0,2,1: 37:[39, 142] Operation: 70+72=142
Exploring Operation: 70+39=109, Resulting Numbers: [72, 109]
Generated Node #0,2,2: 37:[72, 109] Operation: 70+39=109
Exploring Operation: 70-39=31, Resulting Numbers: [72, 31]
Generated Node #0,2,3: 37:[72, 31] Operation: 70-39=31
Exploring Operation: 72-39=33, Resulting Numbers: [70, 33]
Generated Node #0,2,4: 37:[70, 33] Operation: 72-39=33
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 37:[39, 2], Operations: ['59-20=39', '72-70=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,37 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,37 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[20, 70, 72, 59], Operations: []
Exploring Operation: 59-20=39, Resulting Numbers: [70, 72, 39]
Generated Node #0,2: 37:[70, 72, 39] Operation: 59-20=39
Moving to Node #0,2
Current State: 37:[70, 72, 39], Operations: ['59-20=39']
Exploring Operation: 72-70=2, Resulting Numbers: [39, 2]
Generated Node #0,2,0: 37:[39, 2] Operation: 72-70=2
Moving to Node #0,2,0
Current State: 37:[39, 2], Operations: ['59-20=39', '72-70=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
50,
49,
3,
32
] | 93 | [
"50-49=1",
"32-1=31",
"3*31=93"
] | Current State: 93:[50, 49, 3, 32], Operations: []
Exploring Operation: 50-49=1, Resulting Numbers: [3, 32, 1]
Generated Node #2: [3, 32, 1] from Operation: 50-49=1
Current State: 93:[3, 32, 1], Operations: ['50-49=1']
Exploring Operation: 32-1=31, Resulting Numbers: [3, 31]
Generated Node #3: [3, 31] from Operation: 32-1=31
Current State: 93:[3, 31], Operations: ['50-49=1', '32-1=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[50, 49, 3, 32], Operations: []
Exploring Operation: 50+32=82, Resulting Numbers: [49, 3, 82]
Generated Node #0,0: 93:[49, 3, 82] Operation: 50+32=82
Exploring Operation: 50-49=1, Resulting Numbers: [3, 32, 1]
Generated Node #0,1: 93:[3, 32, 1] Operation: 50-49=1
Exploring Operation: 50+49=99, Resulting Numbers: [3, 32, 99]
Generated Node #0,2: 93:[3, 32, 99] Operation: 50+49=99
Exploring Operation: 49+32=81, Resulting Numbers: [50, 3, 81]
Generated Node #0,3: 93:[50, 3, 81] Operation: 49+32=81
Exploring Operation: 50-32=18, Resulting Numbers: [49, 3, 18]
Generated Node #0,4: 93:[49, 3, 18] Operation: 50-32=18
Moving to Node #0,1
Current State: 93:[3, 32, 1], Operations: ['50-49=1']
Exploring Operation: 3/1=3, Resulting Numbers: [32, 3]
Generated Node #0,1,0: 93:[32, 3] Operation: 3/1=3
Exploring Operation: 32/1=32, Resulting Numbers: [3, 32]
Generated Node #0,1,1: 93:[3, 32] Operation: 32/1=32
Exploring Operation: 3*1=3, Resulting Numbers: [32, 3]
Generated Node #0,1,2: 93:[32, 3] Operation: 3*1=3
Exploring Operation: 32-1=31, Resulting Numbers: [3, 31]
Generated Node #0,1,3: 93:[3, 31] Operation: 32-1=31
Exploring Operation: 32*1=32, Resulting Numbers: [3, 32]
Generated Node #0,1,4: 93:[3, 32] Operation: 32*1=32
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 93:[3, 31], Operations: ['50-49=1', '32-1=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[50, 49, 3, 32], Operations: []
Exploring Operation: 50-49=1, Resulting Numbers: [3, 32, 1]
Generated Node #0,1: 93:[3, 32, 1] Operation: 50-49=1
Moving to Node #0,1
Current State: 93:[3, 32, 1], Operations: ['50-49=1']
Exploring Operation: 32-1=31, Resulting Numbers: [3, 31]
Generated Node #0,1,3: 93:[3, 31] Operation: 32-1=31
Moving to Node #0,1,3
Current State: 93:[3, 31], Operations: ['50-49=1', '32-1=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
9,
67,
15,
66
] | 72 | [
"9+66=75",
"75/15=5",
"67+5=72"
] | Current State: 72:[9, 67, 15, 66], Operations: []
Exploring Operation: 9+66=75, Resulting Numbers: [67, 15, 75]
Generated Node #2: [67, 15, 75] from Operation: 9+66=75
Current State: 72:[67, 15, 75], Operations: ['9+66=75']
Exploring Operation: 75/15=5, Resulting Numbers: [67, 5]
Generated Node #3: [67, 5] from Operation: 75/15=5
Current State: 72:[67, 5], Operations: ['9+66=75', '75/15=5']
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[9, 67, 15, 66], Operations: []
Exploring Operation: 67-66=1, Resulting Numbers: [9, 15, 1]
Generated Node #0,0: 72:[9, 15, 1] Operation: 67-66=1
Exploring Operation: 9+15=24, Resulting Numbers: [67, 66, 24]
Generated Node #0,1: 72:[67, 66, 24] Operation: 9+15=24
Exploring Operation: 9+67=76, Resulting Numbers: [15, 66, 76]
Generated Node #0,2: 72:[15, 66, 76] Operation: 9+67=76
Exploring Operation: 15-9=6, Resulting Numbers: [67, 66, 6]
Generated Node #0,3: 72:[67, 66, 6] Operation: 15-9=6
Exploring Operation: 9+66=75, Resulting Numbers: [67, 15, 75]
Generated Node #0,4: 72:[67, 15, 75] Operation: 9+66=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[9, 15, 1], Operations: ['67-66=1']
Exploring Operation: 15-1=14, Resulting Numbers: [9, 14]
Generated Node #0,0,0: 72:[9, 14] Operation: 15-1=14
Exploring Operation: 9*1=9, Resulting Numbers: [15, 9]
Generated Node #0,0,1: 72:[15, 9] Operation: 9*1=9
Exploring Operation: 9+15=24, Resulting Numbers: [1, 24]
Generated Node #0,0,2: 72:[1, 24] Operation: 9+15=24
Exploring Operation: 15-9=6, Resulting Numbers: [1, 6]
Generated Node #0,0,3: 72:[1, 6] Operation: 15-9=6
Exploring Operation: 15+1=16, Resulting Numbers: [9, 16]
Generated Node #0,0,4: 72:[9, 16] Operation: 15+1=16
Moving to Node #0,0,2
Current State: 72:[1, 24], Operations: ['67-66=1', '9+15=24']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 1*24=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Moving to Node #0,0,3
Current State: 72:[1, 6], Operations: ['67-66=1', '15-9=6']
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[9, 14], Operations: ['67-66=1', '15-1=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,72 unequal: No Solution
Moving to Node #0,0,4
Current State: 72:[9, 16], Operations: ['67-66=1', '15+1=16']
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,72 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[15, 9], Operations: ['67-66=1', '9*1=9']
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,72 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,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:[67, 66, 24], Operations: ['9+15=24']
Exploring Operation: 66-24=42, Resulting Numbers: [67, 42]
Generated Node #0,1,0: 72:[67, 42] Operation: 66-24=42
Exploring Operation: 67+24=91, Resulting Numbers: [66, 91]
Generated Node #0,1,1: 72:[66, 91] Operation: 67+24=91
Exploring Operation: 66+24=90, Resulting Numbers: [67, 90]
Generated Node #0,1,2: 72:[67, 90] Operation: 66+24=90
Exploring Operation: 67-66=1, Resulting Numbers: [24, 1]
Generated Node #0,1,3: 72:[24, 1] Operation: 67-66=1
Exploring Operation: 67-24=43, Resulting Numbers: [66, 43]
Generated Node #0,1,4: 72:[66, 43] Operation: 67-24=43
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 72:[24, 1], Operations: ['9+15=24', '67-66=1']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[67, 42], Operations: ['9+15=24', '66-24=42']
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Exploring Operation: 67*42=2814, Resulting Numbers: [2814]
2814,72 unequal: No Solution
Exploring Operation: 67+42=109, Resulting Numbers: [109]
109,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 72:[66, 43], Operations: ['9+15=24', '67-24=43']
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 66*43=2838, Resulting Numbers: [2838]
2838,72 unequal: No Solution
Exploring Operation: 66+43=109, Resulting Numbers: [109]
109,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 72:[67, 90], Operations: ['9+15=24', '66+24=90']
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 67*90=6030, Resulting Numbers: [6030]
6030,72 unequal: No Solution
Exploring Operation: 67+90=157, Resulting Numbers: [157]
157,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[66, 91], Operations: ['9+15=24', '67+24=91']
Exploring Operation: 66+91=157, Resulting Numbers: [157]
157,72 unequal: No Solution
Exploring Operation: 66*91=6006, Resulting Numbers: [6006]
6006,72 unequal: No Solution
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 72:[67, 66, 6], Operations: ['15-9=6']
Exploring Operation: 67+6=73, Resulting Numbers: [66, 73]
Generated Node #0,3,0: 72:[66, 73] Operation: 67+6=73
Exploring Operation: 67-6=61, Resulting Numbers: [66, 61]
Generated Node #0,3,1: 72:[66, 61] Operation: 67-6=61
Exploring Operation: 67-66=1, Resulting Numbers: [6, 1]
Generated Node #0,3,2: 72:[6, 1] Operation: 67-66=1
Exploring Operation: 66+6=72, Resulting Numbers: [67, 72]
Generated Node #0,3,3: 72:[67, 72] Operation: 66+6=72
Exploring Operation: 66/6=11, Resulting Numbers: [67, 11]
Generated Node #0,3,4: 72:[67, 11] Operation: 66/6=11
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 72:[6, 1], Operations: ['15-9=6', '67-66=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 72:[67, 72], Operations: ['15-9=6', '66+6=72']
Exploring Operation: 72-67=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 67*72=4824, Resulting Numbers: [4824]
4824,72 unequal: No Solution
Exploring Operation: 67+72=139, Resulting Numbers: [139]
139,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 72:[67, 11], Operations: ['15-9=6', '66/6=11']
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Exploring Operation: 67*11=737, Resulting Numbers: [737]
737,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 72:[66, 73], Operations: ['15-9=6', '67+6=73']
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 66*73=4818, Resulting Numbers: [4818]
4818,72 unequal: No Solution
Exploring Operation: 66+73=139, Resulting Numbers: [139]
139,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 72:[66, 61], Operations: ['15-9=6', '67-6=61']
Exploring Operation: 66-61=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 66*61=4026, Resulting Numbers: [4026]
4026,72 unequal: No Solution
Exploring Operation: 66+61=127, Resulting Numbers: [127]
127,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 72:[67, 15, 75], Operations: ['9+66=75']
Exploring Operation: 75-15=60, Resulting Numbers: [67, 60]
Generated Node #0,4,0: 72:[67, 60] Operation: 75-15=60
Exploring Operation: 67-15=52, Resulting Numbers: [75, 52]
Generated Node #0,4,1: 72:[75, 52] Operation: 67-15=52
Exploring Operation: 67+15=82, Resulting Numbers: [75, 82]
Generated Node #0,4,2: 72:[75, 82] Operation: 67+15=82
Exploring Operation: 75/15=5, Resulting Numbers: [67, 5]
Generated Node #0,4,3: 72:[67, 5] Operation: 75/15=5
Exploring Operation: 75-67=8, Resulting Numbers: [15, 8]
Generated Node #0,4,4: 72:[15, 8] Operation: 75-67=8
Moving to Node #0,4,4
Current State: 72:[15, 8], Operations: ['9+66=75', '75-67=8']
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,72 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Moving to Node #0,4,3
Current State: 72:[67, 5], Operations: ['9+66=75', '75/15=5']
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[9, 67, 15, 66], Operations: []
Exploring Operation: 9+66=75, Resulting Numbers: [67, 15, 75]
Generated Node #0,4: 72:[67, 15, 75] Operation: 9+66=75
Moving to Node #0,4
Current State: 72:[67, 15, 75], Operations: ['9+66=75']
Exploring Operation: 75/15=5, Resulting Numbers: [67, 5]
Generated Node #0,4,3: 72:[67, 5] Operation: 75/15=5
Moving to Node #0,4,3
Current State: 72:[67, 5], Operations: ['9+66=75', '75/15=5']
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.928819 | hs_5 | mult_heuristic |
[
39,
65,
52,
21
] | 42 | [
"39+65=104",
"104/52=2",
"21*2=42"
] | Current State: 42:[39, 65, 52, 21], Operations: []
Exploring Operation: 39+65=104, Resulting Numbers: [52, 21, 104]
Generated Node #2: [52, 21, 104] from Operation: 39+65=104
Current State: 42:[52, 21, 104], Operations: ['39+65=104']
Exploring Operation: 104/52=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 104/52=2
Current State: 42:[21, 2], Operations: ['39+65=104', '104/52=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[39, 65, 52, 21], Operations: []
Exploring Operation: 65-52=13, Resulting Numbers: [39, 21, 13]
Generated Node #0,0: 42:[39, 21, 13] Operation: 65-52=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[39, 21, 13], Operations: ['65-52=13']
Exploring Operation: 39/13=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 42:[21, 3] Operation: 39/13=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[21, 3], Operations: ['65-52=13', '39/13=3']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
53,
15,
13,
28
] | 83 | [
"53+15=68",
"28-13=15",
"68+15=83"
] | Current State: 83:[53, 15, 13, 28], Operations: []
Exploring Operation: 53+15=68, Resulting Numbers: [13, 28, 68]
Generated Node #2: [13, 28, 68] from Operation: 53+15=68
Current State: 83:[13, 28, 68], Operations: ['53+15=68']
Exploring Operation: 28-13=15, Resulting Numbers: [68, 15]
Generated Node #3: [68, 15] from Operation: 28-13=15
Current State: 83:[68, 15], Operations: ['53+15=68', '28-13=15']
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[53, 15, 13, 28], Operations: []
Exploring Operation: 53+15=68, Resulting Numbers: [13, 28, 68]
Generated Node #0,0: 83:[13, 28, 68] Operation: 53+15=68
Exploring Operation: 53+28=81, Resulting Numbers: [15, 13, 81]
Generated Node #0,1: 83:[15, 13, 81] Operation: 53+28=81
Exploring Operation: 53+13=66, Resulting Numbers: [15, 28, 66]
Generated Node #0,2: 83:[15, 28, 66] Operation: 53+13=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[13, 28, 68], Operations: ['53+15=68']
Exploring Operation: 13+28=41, Resulting Numbers: [68, 41]
Generated Node #0,0,0: 83:[68, 41] Operation: 13+28=41
Exploring Operation: 13+68=81, Resulting Numbers: [28, 81]
Generated Node #0,0,1: 83:[28, 81] Operation: 13+68=81
Exploring Operation: 28-13=15, Resulting Numbers: [68, 15]
Generated Node #0,0,2: 83:[68, 15] Operation: 28-13=15
Moving to Node #0,0,0
Current State: 83:[68, 41], Operations: ['53+15=68', '13+28=41']
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,83 unequal: No Solution
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,83 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[28, 81], Operations: ['53+15=68', '13+68=81']
Exploring Operation: 28*81=2268, Resulting Numbers: [2268]
2268,83 unequal: No Solution
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 28+81=109, Resulting Numbers: [109]
109,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[68, 15], Operations: ['53+15=68', '28-13=15']
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[53, 15, 13, 28], Operations: []
Exploring Operation: 53+15=68, Resulting Numbers: [13, 28, 68]
Generated Node #0,0: 83:[13, 28, 68] Operation: 53+15=68
Moving to Node #0,0
Current State: 83:[13, 28, 68], Operations: ['53+15=68']
Exploring Operation: 28-13=15, Resulting Numbers: [68, 15]
Generated Node #0,0,2: 83:[68, 15] Operation: 28-13=15
Moving to Node #0,0,2
Current State: 83:[68, 15], Operations: ['53+15=68', '28-13=15']
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
44,
1,
28,
95
] | 78 | [
"44+1=45",
"28+95=123",
"123-45=78"
] | Current State: 78:[44, 1, 28, 95], Operations: []
Exploring Operation: 44+1=45, Resulting Numbers: [28, 95, 45]
Generated Node #2: [28, 95, 45] from Operation: 44+1=45
Current State: 78:[28, 95, 45], Operations: ['44+1=45']
Exploring Operation: 28+95=123, Resulting Numbers: [45, 123]
Generated Node #3: [45, 123] from Operation: 28+95=123
Current State: 78:[45, 123], Operations: ['44+1=45', '28+95=123']
Exploring Operation: 123-45=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[44, 1, 28, 95], Operations: []
Exploring Operation: 95-44=51, Resulting Numbers: [1, 28, 51]
Generated Node #0,0: 78:[1, 28, 51] Operation: 95-44=51
Exploring Operation: 44-28=16, Resulting Numbers: [1, 95, 16]
Generated Node #0,1: 78:[1, 95, 16] Operation: 44-28=16
Exploring Operation: 95-28=67, Resulting Numbers: [44, 1, 67]
Generated Node #0,2: 78:[44, 1, 67] Operation: 95-28=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[1, 28, 51], Operations: ['95-44=51']
Exploring Operation: 28-1=27, Resulting Numbers: [51, 27]
Generated Node #0,0,0: 78:[51, 27] Operation: 28-1=27
Exploring Operation: 51-28=23, Resulting Numbers: [1, 23]
Generated Node #0,0,1: 78:[1, 23] Operation: 51-28=23
Exploring Operation: 28+51=79, Resulting Numbers: [1, 79]
Generated Node #0,0,2: 78:[1, 79] Operation: 28+51=79
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 78:[1, 79], Operations: ['95-44=51', '28+51=79']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,78 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[44, 1, 28, 95], Operations: []
Exploring Operation: 95-44=51, Resulting Numbers: [1, 28, 51]
Generated Node #0,0: 78:[1, 28, 51] Operation: 95-44=51
Moving to Node #0,0
Current State: 78:[1, 28, 51], Operations: ['95-44=51']
Exploring Operation: 28+51=79, Resulting Numbers: [1, 79]
Generated Node #0,0,2: 78:[1, 79] Operation: 28+51=79
Moving to Node #0,0,2
Current State: 78:[1, 79], Operations: ['95-44=51', '28+51=79']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
90,
2,
55,
71
] | 72 | [
"90-2=88",
"71-55=16",
"88-16=72"
] | Current State: 72:[90, 2, 55, 71], Operations: []
Exploring Operation: 90-2=88, Resulting Numbers: [55, 71, 88]
Generated Node #2: [55, 71, 88] from Operation: 90-2=88
Current State: 72:[55, 71, 88], Operations: ['90-2=88']
Exploring Operation: 71-55=16, Resulting Numbers: [88, 16]
Generated Node #3: [88, 16] from Operation: 71-55=16
Current State: 72:[88, 16], Operations: ['90-2=88', '71-55=16']
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[90, 2, 55, 71], Operations: []
Exploring Operation: 90-71=19, Resulting Numbers: [2, 55, 19]
Generated Node #0,0: 72:[2, 55, 19] Operation: 90-71=19
Exploring Operation: 71-55=16, Resulting Numbers: [90, 2, 16]
Generated Node #0,1: 72:[90, 2, 16] Operation: 71-55=16
Exploring Operation: 90-55=35, Resulting Numbers: [2, 71, 35]
Generated Node #0,2: 72:[2, 71, 35] Operation: 90-55=35
Exploring Operation: 90/2=45, Resulting Numbers: [55, 71, 45]
Generated Node #0,3: 72:[55, 71, 45] Operation: 90/2=45
Moving to Node #0,2
Current State: 72:[2, 71, 35], Operations: ['90-55=35']
Exploring Operation: 2+71=73, Resulting Numbers: [35, 73]
Generated Node #0,2,0: 72:[35, 73] Operation: 2+71=73
Exploring Operation: 71-35=36, Resulting Numbers: [2, 36]
Generated Node #0,2,1: 72:[2, 36] Operation: 71-35=36
Exploring Operation: 2+35=37, Resulting Numbers: [71, 37]
Generated Node #0,2,2: 72:[71, 37] Operation: 2+35=37
Exploring Operation: 2*35=70, Resulting Numbers: [71, 70]
Generated Node #0,2,3: 72:[71, 70] Operation: 2*35=70
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 72:[2, 36], Operations: ['90-55=35', '71-35=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[90, 2, 55, 71], Operations: []
Exploring Operation: 90-55=35, Resulting Numbers: [2, 71, 35]
Generated Node #0,2: 72:[2, 71, 35] Operation: 90-55=35
Moving to Node #0,2
Current State: 72:[2, 71, 35], Operations: ['90-55=35']
Exploring Operation: 71-35=36, Resulting Numbers: [2, 36]
Generated Node #0,2,1: 72:[2, 36] Operation: 71-35=36
Moving to Node #0,2,1
Current State: 72:[2, 36], Operations: ['90-55=35', '71-35=36']
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
57,
15,
75,
72
] | 19 | [
"75-57=18",
"72/18=4",
"15+4=19"
] | Current State: 19:[57, 15, 75, 72], Operations: []
Exploring Operation: 75-57=18, Resulting Numbers: [15, 72, 18]
Generated Node #2: [15, 72, 18] from Operation: 75-57=18
Current State: 19:[15, 72, 18], Operations: ['75-57=18']
Exploring Operation: 72/18=4, Resulting Numbers: [15, 4]
Generated Node #3: [15, 4] from Operation: 72/18=4
Current State: 19:[15, 4], Operations: ['75-57=18', '72/18=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[57, 15, 75, 72], Operations: []
Exploring Operation: 72-57=15, Resulting Numbers: [15, 75, 15]
Generated Node #0,0: 19:[15, 75, 15] Operation: 72-57=15
Exploring Operation: 75-72=3, Resulting Numbers: [57, 15, 3]
Generated Node #0,1: 19:[57, 15, 3] Operation: 75-72=3
Exploring Operation: 75/15=5, Resulting Numbers: [57, 72, 5]
Generated Node #0,2: 19:[57, 72, 5] Operation: 75/15=5
Exploring Operation: 57-15=42, Resulting Numbers: [75, 72, 42]
Generated Node #0,3: 19:[75, 72, 42] Operation: 57-15=42
Exploring Operation: 75-57=18, Resulting Numbers: [15, 72, 18]
Generated Node #0,4: 19:[15, 72, 18] Operation: 75-57=18
Moving to Node #0,1
Current State: 19:[57, 15, 3], Operations: ['75-72=3']
Exploring Operation: 15+3=18, Resulting Numbers: [57, 18]
Generated Node #0,1,0: 19:[57, 18] Operation: 15+3=18
Exploring Operation: 57/3=19, Resulting Numbers: [15, 19]
Generated Node #0,1,1: 19:[15, 19] Operation: 57/3=19
Exploring Operation: 57+3=60, Resulting Numbers: [15, 60]
Generated Node #0,1,2: 19:[15, 60] Operation: 57+3=60
Exploring Operation: 57-15=42, Resulting Numbers: [3, 42]
Generated Node #0,1,3: 19:[3, 42] Operation: 57-15=42
Exploring Operation: 57-3=54, Resulting Numbers: [15, 54]
Generated Node #0,1,4: 19:[15, 54] Operation: 57-3=54
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[15, 19], Operations: ['75-72=3', '57/3=19']
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,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:[57, 18], Operations: ['75-72=3', '15+3=18']
Exploring Operation: 57*18=1026, Resulting Numbers: [1026]
1026,19 unequal: No Solution
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,19 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,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,3
Current State: 19:[3, 42], Operations: ['75-72=3', '57-15=42']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 3*42=126, Resulting Numbers: [126]
126,19 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,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,4
Current State: 19:[15, 54], Operations: ['75-72=3', '57-3=54']
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 15*54=810, Resulting Numbers: [810]
810,19 unequal: No Solution
Exploring Operation: 15+54=69, Resulting Numbers: [69]
69,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:[15, 60], Operations: ['75-72=3', '57+3=60']
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,19 unequal: No Solution
Exploring Operation: 15*60=900, Resulting Numbers: [900]
900,19 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: 19:[15, 72, 18], Operations: ['75-57=18']
Exploring Operation: 72-15=57, Resulting Numbers: [18, 57]
Generated Node #0,4,0: 19:[18, 57] Operation: 72-15=57
Exploring Operation: 72-18=54, Resulting Numbers: [15, 54]
Generated Node #0,4,1: 19:[15, 54] Operation: 72-18=54
Exploring Operation: 72/18=4, Resulting Numbers: [15, 4]
Generated Node #0,4,2: 19:[15, 4] Operation: 72/18=4
Exploring Operation: 15+72=87, Resulting Numbers: [18, 87]
Generated Node #0,4,3: 19:[18, 87] Operation: 15+72=87
Exploring Operation: 15+18=33, Resulting Numbers: [72, 33]
Generated Node #0,4,4: 19:[72, 33] Operation: 15+18=33
Moving to Node #0,0
Current State: 19:[15, 75, 15], Operations: ['72-57=15']
Exploring Operation: 75-15=60, Resulting Numbers: [15, 60]
Generated Node #0,0,0: 19:[15, 60] Operation: 75-15=60
Exploring Operation: 75/15=5, Resulting Numbers: [15, 5]
Generated Node #0,0,1: 19:[15, 5] Operation: 75/15=5
Exploring Operation: 75/15=5, Resulting Numbers: [15, 5]
Generated Node #0,0,2: 19:[15, 5] Operation: 75/15=5
Exploring Operation: 75-15=60, Resulting Numbers: [15, 60]
Generated Node #0,0,3: 19:[15, 60] Operation: 75-15=60
Exploring Operation: 15+15=30, Resulting Numbers: [75, 30]
Generated Node #0,0,4: 19:[75, 30] Operation: 15+15=30
Moving to Node #0,2
Current State: 19:[57, 72, 5], Operations: ['75/15=5']
Exploring Operation: 57-5=52, Resulting Numbers: [72, 52]
Generated Node #0,2,0: 19:[72, 52] Operation: 57-5=52
Exploring Operation: 72+5=77, Resulting Numbers: [57, 77]
Generated Node #0,2,1: 19:[57, 77] Operation: 72+5=77
Exploring Operation: 57+5=62, Resulting Numbers: [72, 62]
Generated Node #0,2,2: 19:[72, 62] Operation: 57+5=62
Exploring Operation: 72-57=15, Resulting Numbers: [5, 15]
Generated Node #0,2,3: 19:[5, 15] Operation: 72-57=15
Exploring Operation: 72-5=67, Resulting Numbers: [57, 67]
Generated Node #0,2,4: 19:[57, 67] Operation: 72-5=67
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 19:[5, 15], Operations: ['75/15=5', '72-57=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,19 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,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:[72, 52], Operations: ['75/15=5', '57-5=52']
Exploring Operation: 72*52=3744, Resulting Numbers: [3744]
3744,19 unequal: No Solution
Exploring Operation: 72+52=124, Resulting Numbers: [124]
124,19 unequal: No Solution
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,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,4
Current State: 19:[57, 67], Operations: ['75/15=5', '72-5=67']
Exploring Operation: 57*67=3819, Resulting Numbers: [3819]
3819,19 unequal: No Solution
Exploring Operation: 57+67=124, Resulting Numbers: [124]
124,19 unequal: No Solution
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,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,1
Current State: 19:[57, 77], Operations: ['75/15=5', '72+5=77']
Exploring Operation: 77-57=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 57*77=4389, Resulting Numbers: [4389]
4389,19 unequal: No Solution
Exploring Operation: 57+77=134, Resulting Numbers: [134]
134,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:[72, 62], Operations: ['75/15=5', '57+5=62']
Exploring Operation: 72+62=134, Resulting Numbers: [134]
134,19 unequal: No Solution
Exploring Operation: 72*62=4464, Resulting Numbers: [4464]
4464,19 unequal: No Solution
Exploring Operation: 72-62=10, Resulting Numbers: [10]
10,19 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: 19:[75, 72, 42], Operations: ['57-15=42']
Exploring Operation: 75+72=147, Resulting Numbers: [42, 147]
Generated Node #0,3,0: 19:[42, 147] Operation: 75+72=147
Exploring Operation: 75-72=3, Resulting Numbers: [42, 3]
Generated Node #0,3,1: 19:[42, 3] Operation: 75-72=3
Exploring Operation: 72-42=30, Resulting Numbers: [75, 30]
Generated Node #0,3,2: 19:[75, 30] Operation: 72-42=30
Exploring Operation: 75-42=33, Resulting Numbers: [72, 33]
Generated Node #0,3,3: 19:[72, 33] Operation: 75-42=33
Exploring Operation: 75+42=117, Resulting Numbers: [72, 117]
Generated Node #0,3,4: 19:[72, 117] Operation: 75+42=117
Moving to Node #0,0,1
Current State: 19:[15, 5], Operations: ['72-57=15', '75/15=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[15, 5], Operations: ['72-57=15', '75/15=5']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,19 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Moving to Node #0,4,2
Current State: 19:[15, 4], Operations: ['75-57=18', '72/18=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[57, 15, 75, 72], Operations: []
Exploring Operation: 75-57=18, Resulting Numbers: [15, 72, 18]
Generated Node #0,4: 19:[15, 72, 18] Operation: 75-57=18
Moving to Node #0,4
Current State: 19:[15, 72, 18], Operations: ['75-57=18']
Exploring Operation: 72/18=4, Resulting Numbers: [15, 4]
Generated Node #0,4,2: 19:[15, 4] Operation: 72/18=4
Moving to Node #0,4,2
Current State: 19:[15, 4], Operations: ['75-57=18', '72/18=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.932292 | hs_5 | sum_heuristic |
[
11,
73,
2,
15
] | 92 | [
"73-11=62",
"2*15=30",
"62+30=92"
] | Current State: 92:[11, 73, 2, 15], Operations: []
Exploring Operation: 73-11=62, Resulting Numbers: [2, 15, 62]
Generated Node #2: [2, 15, 62] from Operation: 73-11=62
Current State: 92:[2, 15, 62], Operations: ['73-11=62']
Exploring Operation: 2*15=30, Resulting Numbers: [62, 30]
Generated Node #3: [62, 30] from Operation: 2*15=30
Current State: 92:[62, 30], Operations: ['73-11=62', '2*15=30']
Exploring Operation: 62+30=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[11, 73, 2, 15], Operations: []
Exploring Operation: 73+15=88, Resulting Numbers: [11, 2, 88]
Generated Node #0,0: 92:[11, 2, 88] Operation: 73+15=88
Moving to Node #0,0
Current State: 92:[11, 2, 88], Operations: ['73+15=88']
Exploring Operation: 88/11=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 92:[2, 8] Operation: 88/11=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[2, 8], Operations: ['73+15=88', '88/11=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,92 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 |
[
28,
3,
77,
29
] | 94 | [
"28+29=57",
"3*57=171",
"171-77=94"
] | Current State: 94:[28, 3, 77, 29], Operations: []
Exploring Operation: 28+29=57, Resulting Numbers: [3, 77, 57]
Generated Node #2: [3, 77, 57] from Operation: 28+29=57
Current State: 94:[3, 77, 57], Operations: ['28+29=57']
Exploring Operation: 3*57=171, Resulting Numbers: [77, 171]
Generated Node #3: [77, 171] from Operation: 3*57=171
Current State: 94:[77, 171], Operations: ['28+29=57', '3*57=171']
Exploring Operation: 171-77=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[28, 3, 77, 29], Operations: []
Exploring Operation: 77-29=48, Resulting Numbers: [28, 3, 48]
Generated Node #0,0: 94:[28, 3, 48] Operation: 77-29=48
Exploring Operation: 77-28=49, Resulting Numbers: [3, 29, 49]
Generated Node #0,1: 94:[3, 29, 49] Operation: 77-28=49
Exploring Operation: 28+29=57, Resulting Numbers: [3, 77, 57]
Generated Node #0,2: 94:[3, 77, 57] Operation: 28+29=57
Exploring Operation: 29-28=1, Resulting Numbers: [3, 77, 1]
Generated Node #0,3: 94:[3, 77, 1] Operation: 29-28=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[3, 77, 1], Operations: ['29-28=1']
Exploring Operation: 77+1=78, Resulting Numbers: [3, 78]
Generated Node #0,3,0: 94:[3, 78] Operation: 77+1=78
Exploring Operation: 3*1=3, Resulting Numbers: [77, 3]
Generated Node #0,3,1: 94:[77, 3] Operation: 3*1=3
Exploring Operation: 3-1=2, Resulting Numbers: [77, 2]
Generated Node #0,3,2: 94:[77, 2] Operation: 3-1=2
Exploring Operation: 3+77=80, Resulting Numbers: [1, 80]
Generated Node #0,3,3: 94:[1, 80] Operation: 3+77=80
Moving to Node #0,3,3
Current State: 94:[1, 80], Operations: ['29-28=1', '3+77=80']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Exploring Operation: 1*80=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 1+80=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[77, 2], Operations: ['29-28=1', '3-1=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[3, 78], Operations: ['29-28=1', '77+1=78']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,94 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[77, 3], Operations: ['29-28=1', '3*1=3']
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,94 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,94 unequal: No Solution
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[28, 3, 48], Operations: ['77-29=48']
Exploring Operation: 28*3=84, Resulting Numbers: [48, 84]
Generated Node #0,0,0: 94:[48, 84] Operation: 28*3=84
Exploring Operation: 48-28=20, Resulting Numbers: [3, 20]
Generated Node #0,0,1: 94:[3, 20] Operation: 48-28=20
Exploring Operation: 28+48=76, Resulting Numbers: [3, 76]
Generated Node #0,0,2: 94:[3, 76] Operation: 28+48=76
Exploring Operation: 28+3=31, Resulting Numbers: [48, 31]
Generated Node #0,0,3: 94:[48, 31] Operation: 28+3=31
Moving to Node #0,0,0
Current State: 94:[48, 84], Operations: ['77-29=48', '28*3=84']
Exploring Operation: 48*84=4032, Resulting Numbers: [4032]
4032,94 unequal: No Solution
Exploring Operation: 48+84=132, Resulting Numbers: [132]
132,94 unequal: No Solution
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[48, 31], Operations: ['77-29=48', '28+3=31']
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Exploring Operation: 48*31=1488, Resulting Numbers: [1488]
1488,94 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[3, 76], Operations: ['77-29=48', '28+48=76']
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Exploring Operation: 3*76=228, Resulting Numbers: [228]
228,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[3, 20], Operations: ['77-29=48', '48-28=20']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,94 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[3, 29, 49], Operations: ['77-28=49']
Exploring Operation: 29+49=78, Resulting Numbers: [3, 78]
Generated Node #0,1,0: 94:[3, 78] Operation: 29+49=78
Exploring Operation: 3*29=87, Resulting Numbers: [49, 87]
Generated Node #0,1,1: 94:[49, 87] Operation: 3*29=87
Exploring Operation: 3+29=32, Resulting Numbers: [49, 32]
Generated Node #0,1,2: 94:[49, 32] Operation: 3+29=32
Exploring Operation: 49-3=46, Resulting Numbers: [29, 46]
Generated Node #0,1,3: 94:[29, 46] Operation: 49-3=46
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[49, 87], Operations: ['77-28=49', '3*29=87']
Exploring Operation: 49*87=4263, Resulting Numbers: [4263]
4263,94 unequal: No Solution
Exploring Operation: 87-49=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 49+87=136, Resulting Numbers: [136]
136,94 unequal: No Solution
No 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: 94:[3, 78], Operations: ['77-28=49', '29+49=78']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,94 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,94 unequal: No Solution
No 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: 94:[49, 32], Operations: ['77-28=49', '3+29=32']
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,94 unequal: No Solution
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,94 unequal: No Solution
No 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: 94:[29, 46], Operations: ['77-28=49', '49-3=46']
Exploring Operation: 29+46=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Exploring Operation: 29*46=1334, Resulting Numbers: [1334]
1334,94 unequal: No Solution
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,94 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: 94:[3, 77, 57], Operations: ['28+29=57']
Exploring Operation: 3+77=80, Resulting Numbers: [57, 80]
Generated Node #0,2,0: 94:[57, 80] Operation: 3+77=80
Exploring Operation: 57-3=54, Resulting Numbers: [77, 54]
Generated Node #0,2,1: 94:[77, 54] Operation: 57-3=54
Exploring Operation: 77-3=74, Resulting Numbers: [57, 74]
Generated Node #0,2,2: 94:[57, 74] Operation: 77-3=74
Exploring Operation: 77-57=20, Resulting Numbers: [3, 20]
Generated Node #0,2,3: 94:[3, 20] Operation: 77-57=20
Moving to Node #0,2,3
Current State: 94:[3, 20], Operations: ['28+29=57', '77-57=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[77, 54], Operations: ['28+29=57', '57-3=54']
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 77+54=131, Resulting Numbers: [131]
131,94 unequal: No Solution
Exploring Operation: 77*54=4158, Resulting Numbers: [4158]
4158,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[57, 80], Operations: ['28+29=57', '3+77=80']
Exploring Operation: 80-57=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 57*80=4560, Resulting Numbers: [4560]
4560,94 unequal: No Solution
Exploring Operation: 57+80=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[57, 74], Operations: ['28+29=57', '77-3=74']
Exploring Operation: 57*74=4218, Resulting Numbers: [4218]
4218,94 unequal: No Solution
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,94 unequal: No Solution
Exploring Operation: 57+74=131, Resulting Numbers: [131]
131,94 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 |
[
99,
56,
48,
4
] | 95 | [
"99-56=43",
"48+4=52",
"43+52=95"
] | Current State: 95:[99, 56, 48, 4], Operations: []
Exploring Operation: 99-56=43, Resulting Numbers: [48, 4, 43]
Generated Node #2: [48, 4, 43] from Operation: 99-56=43
Current State: 95:[48, 4, 43], Operations: ['99-56=43']
Exploring Operation: 48+4=52, Resulting Numbers: [43, 52]
Generated Node #3: [43, 52] from Operation: 48+4=52
Current State: 95:[43, 52], Operations: ['99-56=43', '48+4=52']
Exploring Operation: 43+52=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[99, 56, 48, 4], Operations: []
Exploring Operation: 48/4=12, Resulting Numbers: [99, 56, 12]
Generated Node #0,0: 95:[99, 56, 12] Operation: 48/4=12
Exploring Operation: 56-48=8, Resulting Numbers: [99, 4, 8]
Generated Node #0,1: 95:[99, 4, 8] Operation: 56-48=8
Exploring Operation: 56/4=14, Resulting Numbers: [99, 48, 14]
Generated Node #0,2: 95:[99, 48, 14] Operation: 56/4=14
Exploring Operation: 56+48=104, Resulting Numbers: [99, 4, 104]
Generated Node #0,3: 95:[99, 4, 104] Operation: 56+48=104
Exploring Operation: 99-56=43, Resulting Numbers: [48, 4, 43]
Generated Node #0,4: 95:[48, 4, 43] Operation: 99-56=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[99, 4, 8], Operations: ['56-48=8']
Exploring Operation: 99-4=95, Resulting Numbers: [8, 95]
Generated Node #0,1,0: 95:[8, 95] Operation: 99-4=95
Exploring Operation: 8/4=2, Resulting Numbers: [99, 2]
Generated Node #0,1,1: 95:[99, 2] Operation: 8/4=2
Exploring Operation: 99-8=91, Resulting Numbers: [4, 91]
Generated Node #0,1,2: 95:[4, 91] Operation: 99-8=91
Exploring Operation: 8-4=4, Resulting Numbers: [99, 4]
Generated Node #0,1,3: 95:[99, 4] Operation: 8-4=4
Exploring Operation: 99+4=103, Resulting Numbers: [8, 103]
Generated Node #0,1,4: 95:[8, 103] Operation: 99+4=103
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[8, 95], Operations: ['56-48=8', '99-4=95']
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,95 unequal: No Solution
Exploring Operation: 8*95=760, Resulting Numbers: [760]
760,95 unequal: No Solution
Exploring Operation: 8+95=103, Resulting Numbers: [103]
103,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,1,2
Current State: 95:[4, 91], Operations: ['56-48=8', '99-8=91']
Exploring Operation: 4+91=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[99, 56, 48, 4], Operations: []
Exploring Operation: 56-48=8, Resulting Numbers: [99, 4, 8]
Generated Node #0,1: 95:[99, 4, 8] Operation: 56-48=8
Moving to Node #0,1
Current State: 95:[99, 4, 8], Operations: ['56-48=8']
Exploring Operation: 99-8=91, Resulting Numbers: [4, 91]
Generated Node #0,1,2: 95:[4, 91] Operation: 99-8=91
Moving to Node #0,1,2
Current State: 95:[4, 91], Operations: ['56-48=8', '99-8=91']
Exploring Operation: 4+91=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
17,
36,
94,
12
] | 74 | [
"94-17=77",
"36/12=3",
"77-3=74"
] | Current State: 74:[17, 36, 94, 12], Operations: []
Exploring Operation: 94-17=77, Resulting Numbers: [36, 12, 77]
Generated Node #2: [36, 12, 77] from Operation: 94-17=77
Current State: 74:[36, 12, 77], Operations: ['94-17=77']
Exploring Operation: 36/12=3, Resulting Numbers: [77, 3]
Generated Node #3: [77, 3] from Operation: 36/12=3
Current State: 74:[77, 3], Operations: ['94-17=77', '36/12=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[17, 36, 94, 12], Operations: []
Exploring Operation: 17-12=5, Resulting Numbers: [36, 94, 5]
Generated Node #0,0: 74:[36, 94, 5] Operation: 17-12=5
Exploring Operation: 17+12=29, Resulting Numbers: [36, 94, 29]
Generated Node #0,1: 74:[36, 94, 29] Operation: 17+12=29
Exploring Operation: 36/12=3, Resulting Numbers: [17, 94, 3]
Generated Node #0,2: 74:[17, 94, 3] Operation: 36/12=3
Exploring Operation: 94-17=77, Resulting Numbers: [36, 12, 77]
Generated Node #0,3: 74:[36, 12, 77] Operation: 94-17=77
Exploring Operation: 94-12=82, Resulting Numbers: [17, 36, 82]
Generated Node #0,4: 74:[17, 36, 82] Operation: 94-12=82
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[36, 12, 77], Operations: ['94-17=77']
Exploring Operation: 77-12=65, Resulting Numbers: [36, 65]
Generated Node #0,3,0: 74:[36, 65] Operation: 77-12=65
Exploring Operation: 77-36=41, Resulting Numbers: [12, 41]
Generated Node #0,3,1: 74:[12, 41] Operation: 77-36=41
Exploring Operation: 36-12=24, Resulting Numbers: [77, 24]
Generated Node #0,3,2: 74:[77, 24] Operation: 36-12=24
Exploring Operation: 36+12=48, Resulting Numbers: [77, 48]
Generated Node #0,3,3: 74:[77, 48] Operation: 36+12=48
Exploring Operation: 36/12=3, Resulting Numbers: [77, 3]
Generated Node #0,3,4: 74:[77, 3] Operation: 36/12=3
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 74:[77, 3], Operations: ['94-17=77', '36/12=3']
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,74 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[17, 36, 94, 12], Operations: []
Exploring Operation: 94-17=77, Resulting Numbers: [36, 12, 77]
Generated Node #0,3: 74:[36, 12, 77] Operation: 94-17=77
Moving to Node #0,3
Current State: 74:[36, 12, 77], Operations: ['94-17=77']
Exploring Operation: 36/12=3, Resulting Numbers: [77, 3]
Generated Node #0,3,4: 74:[77, 3] Operation: 36/12=3
Moving to Node #0,3,4
Current State: 74:[77, 3], Operations: ['94-17=77', '36/12=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
80,
3,
69,
86
] | 100 | [
"80+3=83",
"86-69=17",
"83+17=100"
] | Current State: 100:[80, 3, 69, 86], Operations: []
Exploring Operation: 80+3=83, Resulting Numbers: [69, 86, 83]
Generated Node #2: [69, 86, 83] from Operation: 80+3=83
Current State: 100:[69, 86, 83], Operations: ['80+3=83']
Exploring Operation: 86-69=17, Resulting Numbers: [83, 17]
Generated Node #3: [83, 17] from Operation: 86-69=17
Current State: 100:[83, 17], Operations: ['80+3=83', '86-69=17']
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[80, 3, 69, 86], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [80, 86, 23]
Generated Node #0,0: 100:[80, 86, 23] Operation: 69/3=23
Exploring Operation: 86-80=6, Resulting Numbers: [3, 69, 6]
Generated Node #0,1: 100:[3, 69, 6] Operation: 86-80=6
Exploring Operation: 80-69=11, Resulting Numbers: [3, 86, 11]
Generated Node #0,2: 100:[3, 86, 11] Operation: 80-69=11
Exploring Operation: 86-69=17, Resulting Numbers: [80, 3, 17]
Generated Node #0,3: 100:[80, 3, 17] Operation: 86-69=17
Moving to Node #0,2
Current State: 100:[3, 86, 11], Operations: ['80-69=11']
Exploring Operation: 86+11=97, Resulting Numbers: [3, 97]
Generated Node #0,2,0: 100:[3, 97] Operation: 86+11=97
Exploring Operation: 86-3=83, Resulting Numbers: [11, 83]
Generated Node #0,2,1: 100:[11, 83] Operation: 86-3=83
Exploring Operation: 3+86=89, Resulting Numbers: [11, 89]
Generated Node #0,2,2: 100:[11, 89] Operation: 3+86=89
Exploring Operation: 11-3=8, Resulting Numbers: [86, 8]
Generated Node #0,2,3: 100:[86, 8] Operation: 11-3=8
Moving to Node #0,1
Current State: 100:[3, 69, 6], Operations: ['86-80=6']
Exploring Operation: 6/3=2, Resulting Numbers: [69, 2]
Generated Node #0,1,0: 100:[69, 2] Operation: 6/3=2
Exploring Operation: 69-6=63, Resulting Numbers: [3, 63]
Generated Node #0,1,1: 100:[3, 63] Operation: 69-6=63
Exploring Operation: 69/3=23, Resulting Numbers: [6, 23]
Generated Node #0,1,2: 100:[6, 23] Operation: 69/3=23
Exploring Operation: 69-3=66, Resulting Numbers: [6, 66]
Generated Node #0,1,3: 100:[6, 66] Operation: 69-3=66
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[6, 23], Operations: ['86-80=6', '69/3=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,100 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[3, 63], Operations: ['86-80=6', '69-6=63']
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,100 unequal: No Solution
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,100 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 100:[6, 66], Operations: ['86-80=6', '69-3=66']
Exploring Operation: 6*66=396, Resulting Numbers: [396]
396,100 unequal: No Solution
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,100 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[69, 2], Operations: ['86-80=6', '6/3=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,100 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,100 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,100 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: 100:[80, 3, 17], Operations: ['86-69=17']
Exploring Operation: 3+17=20, Resulting Numbers: [80, 20]
Generated Node #0,3,0: 100:[80, 20] Operation: 3+17=20
Exploring Operation: 80+17=97, Resulting Numbers: [3, 97]
Generated Node #0,3,1: 100:[3, 97] Operation: 80+17=97
Exploring Operation: 80-17=63, Resulting Numbers: [3, 63]
Generated Node #0,3,2: 100:[3, 63] Operation: 80-17=63
Exploring Operation: 80+3=83, Resulting Numbers: [17, 83]
Generated Node #0,3,3: 100:[17, 83] Operation: 80+3=83
Moving to Node #0,0
Current State: 100:[80, 86, 23], Operations: ['69/3=23']
Exploring Operation: 86+23=109, Resulting Numbers: [80, 109]
Generated Node #0,0,0: 100:[80, 109] Operation: 86+23=109
Exploring Operation: 86-80=6, Resulting Numbers: [23, 6]
Generated Node #0,0,1: 100:[23, 6] Operation: 86-80=6
Exploring Operation: 80-23=57, Resulting Numbers: [86, 57]
Generated Node #0,0,2: 100:[86, 57] Operation: 80-23=57
Exploring Operation: 80+23=103, Resulting Numbers: [86, 103]
Generated Node #0,0,3: 100:[86, 103] Operation: 80+23=103
Moving to Node #0,0,1
Current State: 100:[23, 6], Operations: ['69/3=23', '86-80=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,100 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,100 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[3, 97], Operations: ['80-69=11', '86+11=97']
Exploring Operation: 3*97=291, Resulting Numbers: [291]
291,100 unequal: No Solution
Exploring Operation: 3+97=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[80, 3, 69, 86], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [3, 86, 11]
Generated Node #0,2: 100:[3, 86, 11] Operation: 80-69=11
Moving to Node #0,2
Current State: 100:[3, 86, 11], Operations: ['80-69=11']
Exploring Operation: 86+11=97, Resulting Numbers: [3, 97]
Generated Node #0,2,0: 100:[3, 97] Operation: 86+11=97
Moving to Node #0,2,0
Current State: 100:[3, 97], Operations: ['80-69=11', '86+11=97']
Exploring Operation: 3+97=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.962674 | hs_4 | sum_heuristic |
[
18,
74,
94,
84
] | 14 | [
"74+94=168",
"84+168=252",
"252/18=14"
] | Current State: 14:[18, 74, 94, 84], Operations: []
Exploring Operation: 74+94=168, Resulting Numbers: [18, 84, 168]
Generated Node #2: [18, 84, 168] from Operation: 74+94=168
Current State: 14:[18, 84, 168], Operations: ['74+94=168']
Exploring Operation: 84+168=252, Resulting Numbers: [18, 252]
Generated Node #3: [18, 252] from Operation: 84+168=252
Current State: 14:[18, 252], Operations: ['74+94=168', '84+168=252']
Exploring Operation: 252/18=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[18, 74, 94, 84], Operations: []
Exploring Operation: 94-84=10, Resulting Numbers: [18, 74, 10]
Generated Node #0,0: 14:[18, 74, 10] Operation: 94-84=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[18, 74, 10], Operations: ['94-84=10']
Exploring Operation: 74-18=56, Resulting Numbers: [10, 56]
Generated Node #0,0,0: 14:[10, 56] Operation: 74-18=56
Moving to Node #0,0,0
Current State: 14:[10, 56], Operations: ['94-84=10', '74-18=56']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,14 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 |
[
97,
39,
74,
2
] | 21 | [
"97-39=58",
"74/2=37",
"58-37=21"
] | Current State: 21:[97, 39, 74, 2], Operations: []
Exploring Operation: 97-39=58, Resulting Numbers: [74, 2, 58]
Generated Node #2: [74, 2, 58] from Operation: 97-39=58
Current State: 21:[74, 2, 58], Operations: ['97-39=58']
Exploring Operation: 74/2=37, Resulting Numbers: [58, 37]
Generated Node #3: [58, 37] from Operation: 74/2=37
Current State: 21:[58, 37], Operations: ['97-39=58', '74/2=37']
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[97, 39, 74, 2], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [97, 39, 37]
Generated Node #0,0: 21:[97, 39, 37] Operation: 74/2=37
Exploring Operation: 97-2=95, Resulting Numbers: [39, 74, 95]
Generated Node #0,1: 21:[39, 74, 95] Operation: 97-2=95
Exploring Operation: 74-39=35, Resulting Numbers: [97, 2, 35]
Generated Node #0,2: 21:[97, 2, 35] Operation: 74-39=35
Exploring Operation: 97-39=58, Resulting Numbers: [74, 2, 58]
Generated Node #0,3: 21:[74, 2, 58] Operation: 97-39=58
Exploring Operation: 97-74=23, Resulting Numbers: [39, 2, 23]
Generated Node #0,4: 21:[39, 2, 23] Operation: 97-74=23
Start Sub Search at level 1: Moving to Node #0,4
Current State: 21:[39, 2, 23], Operations: ['97-74=23']
Exploring Operation: 39-23=16, Resulting Numbers: [2, 16]
Generated Node #0,4,0: 21:[2, 16] Operation: 39-23=16
Exploring Operation: 2+23=25, Resulting Numbers: [39, 25]
Generated Node #0,4,1: 21:[39, 25] Operation: 2+23=25
Exploring Operation: 39+2=41, Resulting Numbers: [23, 41]
Generated Node #0,4,2: 21:[23, 41] Operation: 39+2=41
Exploring Operation: 39-2=37, Resulting Numbers: [23, 37]
Generated Node #0,4,3: 21:[23, 37] Operation: 39-2=37
Exploring Operation: 23-2=21, Resulting Numbers: [39, 21]
Generated Node #0,4,4: 21:[39, 21] Operation: 23-2=21
Moving to Node #0,4,0
Current State: 21:[2, 16], Operations: ['97-74=23', '39-23=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Moving to Node #0,4,4
Current State: 21:[39, 21], Operations: ['97-74=23', '23-2=21']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 39+21=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 39*21=819, Resulting Numbers: [819]
819,21 unequal: No Solution
Moving to Node #0,4,3
Current State: 21:[23, 37], Operations: ['97-74=23', '39-2=37']
Exploring Operation: 23+37=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 23*37=851, Resulting Numbers: [851]
851,21 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Moving to Node #0,4,1
Current State: 21:[39, 25], Operations: ['97-74=23', '2+23=25']
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,21 unequal: No Solution
Moving to Node #0,4,2
Current State: 21:[23, 41], Operations: ['97-74=23', '39+2=41']
Exploring Operation: 23*41=943, Resulting Numbers: [943]
943,21 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,21 unequal: No Solution
No 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: 21:[97, 2, 35], Operations: ['74-39=35']
Exploring Operation: 97-35=62, Resulting Numbers: [2, 62]
Generated Node #0,2,0: 21:[2, 62] Operation: 97-35=62
Exploring Operation: 35-2=33, Resulting Numbers: [97, 33]
Generated Node #0,2,1: 21:[97, 33] Operation: 35-2=33
Exploring Operation: 97-2=95, Resulting Numbers: [35, 95]
Generated Node #0,2,2: 21:[35, 95] Operation: 97-2=95
Exploring Operation: 97+2=99, Resulting Numbers: [35, 99]
Generated Node #0,2,3: 21:[35, 99] Operation: 97+2=99
Exploring Operation: 2+35=37, Resulting Numbers: [97, 37]
Generated Node #0,2,4: 21:[97, 37] Operation: 2+35=37
Moving to Node #0,2,0
Current State: 21:[2, 62], Operations: ['74-39=35', '97-35=62']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,21 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[35, 95], Operations: ['74-39=35', '97-2=95']
Exploring Operation: 95-35=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 35*95=3325, Resulting Numbers: [3325]
3325,21 unequal: No Solution
Exploring Operation: 35+95=130, Resulting Numbers: [130]
130,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[97, 33], Operations: ['74-39=35', '35-2=33']
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 97*33=3201, Resulting Numbers: [3201]
3201,21 unequal: No Solution
Exploring Operation: 97+33=130, Resulting Numbers: [130]
130,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[35, 99], Operations: ['74-39=35', '97+2=99']
Exploring Operation: 35+99=134, Resulting Numbers: [134]
134,21 unequal: No Solution
Exploring Operation: 99-35=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 35*99=3465, Resulting Numbers: [3465]
3465,21 unequal: No Solution
Moving to Node #0,2,4
Current State: 21:[97, 37], Operations: ['74-39=35', '2+35=37']
Exploring Operation: 97*37=3589, Resulting Numbers: [3589]
3589,21 unequal: No Solution
Exploring Operation: 97-37=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 97+37=134, Resulting Numbers: [134]
134,21 unequal: No Solution
No 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: 21:[74, 2, 58], Operations: ['97-39=58']
Exploring Operation: 74-2=72, Resulting Numbers: [58, 72]
Generated Node #0,3,0: 21:[58, 72] Operation: 74-2=72
Exploring Operation: 58/2=29, Resulting Numbers: [74, 29]
Generated Node #0,3,1: 21:[74, 29] Operation: 58/2=29
Exploring Operation: 58-2=56, Resulting Numbers: [74, 56]
Generated Node #0,3,2: 21:[74, 56] Operation: 58-2=56
Exploring Operation: 74-58=16, Resulting Numbers: [2, 16]
Generated Node #0,3,3: 21:[2, 16] Operation: 74-58=16
Exploring Operation: 74/2=37, Resulting Numbers: [58, 37]
Generated Node #0,3,4: 21:[58, 37] Operation: 74/2=37
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 21:[2, 16], Operations: ['97-39=58', '74-58=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,21 unequal: No Solution
No 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: 21:[58, 37], Operations: ['97-39=58', '74/2=37']
Exploring Operation: 58*37=2146, Resulting Numbers: [2146]
2146,21 unequal: No Solution
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[97, 39, 74, 2], Operations: []
Exploring Operation: 97-39=58, Resulting Numbers: [74, 2, 58]
Generated Node #0,3: 21:[74, 2, 58] Operation: 97-39=58
Moving to Node #0,3
Current State: 21:[74, 2, 58], Operations: ['97-39=58']
Exploring Operation: 74/2=37, Resulting Numbers: [58, 37]
Generated Node #0,3,4: 21:[58, 37] Operation: 74/2=37
Moving to Node #0,3,4
Current State: 21:[58, 37], Operations: ['97-39=58', '74/2=37']
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.946181 | hs_5 | mult_heuristic |
[
50,
17,
39,
80
] | 57 | [
"39+80=119",
"119/17=7",
"50+7=57"
] | Current State: 57:[50, 17, 39, 80], Operations: []
Exploring Operation: 39+80=119, Resulting Numbers: [50, 17, 119]
Generated Node #2: [50, 17, 119] from Operation: 39+80=119
Current State: 57:[50, 17, 119], Operations: ['39+80=119']
Exploring Operation: 119/17=7, Resulting Numbers: [50, 7]
Generated Node #3: [50, 7] from Operation: 119/17=7
Current State: 57:[50, 7], Operations: ['39+80=119', '119/17=7']
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[50, 17, 39, 80], Operations: []
Exploring Operation: 80-50=30, Resulting Numbers: [17, 39, 30]
Generated Node #0,0: 57:[17, 39, 30] Operation: 80-50=30
Exploring Operation: 80-39=41, Resulting Numbers: [50, 17, 41]
Generated Node #0,1: 57:[50, 17, 41] Operation: 80-39=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[50, 17, 41], Operations: ['80-39=41']
Exploring Operation: 50-41=9, Resulting Numbers: [17, 9]
Generated Node #0,1,0: 57:[17, 9] Operation: 50-41=9
Exploring Operation: 17+41=58, Resulting Numbers: [50, 58]
Generated Node #0,1,1: 57:[50, 58] Operation: 17+41=58
Moving to Node #0,1,0
Current State: 57:[17, 9], Operations: ['80-39=41', '50-41=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[50, 58], Operations: ['80-39=41', '17+41=58']
Exploring Operation: 58-50=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 50+58=108, Resulting Numbers: [108]
108,57 unequal: No Solution
No 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: 57:[17, 39, 30], Operations: ['80-50=30']
Exploring Operation: 39-30=9, Resulting Numbers: [17, 9]
Generated Node #0,0,0: 57:[17, 9] Operation: 39-30=9
Exploring Operation: 17+39=56, Resulting Numbers: [30, 56]
Generated Node #0,0,1: 57:[30, 56] Operation: 17+39=56
Moving to Node #0,0,0
Current State: 57:[17, 9], Operations: ['80-50=30', '39-30=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[30, 56], Operations: ['80-50=30', '17+39=56']
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,57 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 |
[
76,
61,
99,
50
] | 39 | [
"76*50=3800",
"61+3800=3861",
"3861/99=39"
] | Current State: 39:[76, 61, 99, 50], Operations: []
Exploring Operation: 76*50=3800, Resulting Numbers: [61, 99, 3800]
Generated Node #2: [61, 99, 3800] from Operation: 76*50=3800
Current State: 39:[61, 99, 3800], Operations: ['76*50=3800']
Exploring Operation: 61+3800=3861, Resulting Numbers: [99, 3861]
Generated Node #3: [99, 3861] from Operation: 61+3800=3861
Current State: 39:[99, 3861], Operations: ['76*50=3800', '61+3800=3861']
Exploring Operation: 3861/99=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[76, 61, 99, 50], Operations: []
Exploring Operation: 99-76=23, Resulting Numbers: [61, 50, 23]
Generated Node #0,0: 39:[61, 50, 23] Operation: 99-76=23
Exploring Operation: 99-61=38, Resulting Numbers: [76, 50, 38]
Generated Node #0,1: 39:[76, 50, 38] Operation: 99-61=38
Exploring Operation: 99-50=49, Resulting Numbers: [76, 61, 49]
Generated Node #0,2: 39:[76, 61, 49] Operation: 99-50=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[61, 50, 23], Operations: ['99-76=23']
Exploring Operation: 50-23=27, Resulting Numbers: [61, 27]
Generated Node #0,0,0: 39:[61, 27] Operation: 50-23=27
Exploring Operation: 61-23=38, Resulting Numbers: [50, 38]
Generated Node #0,0,1: 39:[50, 38] Operation: 61-23=38
Exploring Operation: 61-50=11, Resulting Numbers: [23, 11]
Generated Node #0,0,2: 39:[23, 11] Operation: 61-50=11
Moving to Node #0,0,1
Current State: 39:[50, 38], Operations: ['99-76=23', '61-23=38']
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,39 unequal: No Solution
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[23, 11], Operations: ['99-76=23', '61-50=11']
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,39 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[61, 27], Operations: ['99-76=23', '50-23=27']
Exploring Operation: 61+27=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Exploring Operation: 61*27=1647, Resulting Numbers: [1647]
1647,39 unequal: No Solution
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,39 unequal: No Solution
No 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: 39:[76, 50, 38], Operations: ['99-61=38']
Exploring Operation: 76-50=26, Resulting Numbers: [38, 26]
Generated Node #0,1,0: 39:[38, 26] Operation: 76-50=26
Exploring Operation: 76/38=2, Resulting Numbers: [50, 2]
Generated Node #0,1,1: 39:[50, 2] Operation: 76/38=2
Exploring Operation: 76-38=38, Resulting Numbers: [50, 38]
Generated Node #0,1,2: 39:[50, 38] Operation: 76-38=38
Moving to Node #0,1,1
Current State: 39:[50, 2], Operations: ['99-61=38', '76/38=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[50, 38], Operations: ['99-61=38', '76-38=38']
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,39 unequal: No Solution
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[38, 26], Operations: ['99-61=38', '76-50=26']
Exploring Operation: 38+26=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 38*26=988, Resulting Numbers: [988]
988,39 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,39 unequal: No Solution
No 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: 39:[76, 61, 49], Operations: ['99-50=49']
Exploring Operation: 76-49=27, Resulting Numbers: [61, 27]
Generated Node #0,2,0: 39:[61, 27] Operation: 76-49=27
Exploring Operation: 61-49=12, Resulting Numbers: [76, 12]
Generated Node #0,2,1: 39:[76, 12] Operation: 61-49=12
Exploring Operation: 76-61=15, Resulting Numbers: [49, 15]
Generated Node #0,2,2: 39:[49, 15] Operation: 76-61=15
Moving to Node #0,2,2
Current State: 39:[49, 15], Operations: ['99-50=49', '76-61=15']
Exploring Operation: 49*15=735, Resulting Numbers: [735]
735,39 unequal: No Solution
Exploring Operation: 49+15=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[61, 27], Operations: ['99-50=49', '76-49=27']
Exploring Operation: 61*27=1647, Resulting Numbers: [1647]
1647,39 unequal: No Solution
Exploring Operation: 61+27=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[76, 12], Operations: ['99-50=49', '61-49=12']
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,39 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 |
[
28,
14,
1,
28
] | 42 | [
"28-14=14",
"1*28=28",
"14+28=42"
] | Current State: 42:[28, 14, 1, 28], Operations: []
Exploring Operation: 28-14=14, Resulting Numbers: [1, 14]
Generated Node #2: [1, 14] from Operation: 28-14=14
Current State: 42:[1, 14], Operations: ['28-14=14']
Exploring Operation: 1*28=28, Resulting Numbers: [14, 28]
Generated Node #3: [14, 28] from Operation: 1*28=28
Current State: 42:[14, 28], Operations: ['28-14=14', '1*28=28']
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[28, 14, 1, 28], Operations: []
Exploring Operation: 28/28=1, Resulting Numbers: [14, 1, 1]
Generated Node #0,0: 42:[14, 1, 1] Operation: 28/28=1
Moving to Node #0,0
Current State: 42:[14, 1, 1], Operations: ['28/28=1']
Exploring Operation: 1+1=2, Resulting Numbers: [14, 2]
Generated Node #0,0,0: 42:[14, 2] Operation: 1+1=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[14, 2], Operations: ['28/28=1', '1+1=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
41,
63,
5
] | 81 | [
"63-41=22",
"5+22=27",
"3*27=81"
] | Current State: 81:[3, 41, 63, 5], Operations: []
Exploring Operation: 63-41=22, Resulting Numbers: [3, 5, 22]
Generated Node #2: [3, 5, 22] from Operation: 63-41=22
Current State: 81:[3, 5, 22], Operations: ['63-41=22']
Exploring Operation: 5+22=27, Resulting Numbers: [3, 27]
Generated Node #3: [3, 27] from Operation: 5+22=27
Current State: 81:[3, 27], Operations: ['63-41=22', '5+22=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[3, 41, 63, 5], Operations: []
Exploring Operation: 63-41=22, Resulting Numbers: [3, 5, 22]
Generated Node #0,0: 81:[3, 5, 22] Operation: 63-41=22
Exploring Operation: 41+63=104, Resulting Numbers: [3, 5, 104]
Generated Node #0,1: 81:[3, 5, 104] Operation: 41+63=104
Exploring Operation: 63/3=21, Resulting Numbers: [41, 5, 21]
Generated Node #0,2: 81:[41, 5, 21] Operation: 63/3=21
Moving to Node #0,0
Current State: 81:[3, 5, 22], Operations: ['63-41=22']
Exploring Operation: 3+22=25, Resulting Numbers: [5, 25]
Generated Node #0,0,0: 81:[5, 25] Operation: 3+22=25
Exploring Operation: 3+5=8, Resulting Numbers: [22, 8]
Generated Node #0,0,1: 81:[22, 8] Operation: 3+5=8
Exploring Operation: 5+22=27, Resulting Numbers: [3, 27]
Generated Node #0,0,2: 81:[3, 27] Operation: 5+22=27
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[3, 27], Operations: ['63-41=22', '5+22=27']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[3, 41, 63, 5], Operations: []
Exploring Operation: 63-41=22, Resulting Numbers: [3, 5, 22]
Generated Node #0,0: 81:[3, 5, 22] Operation: 63-41=22
Moving to Node #0,0
Current State: 81:[3, 5, 22], Operations: ['63-41=22']
Exploring Operation: 5+22=27, Resulting Numbers: [3, 27]
Generated Node #0,0,2: 81:[3, 27] Operation: 5+22=27
Moving to Node #0,0,2
Current State: 81:[3, 27], Operations: ['63-41=22', '5+22=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
66,
80,
80,
99
] | 40 | [
"80*99=7920",
"7920/66=120",
"120-80=40"
] | Current State: 40:[66, 80, 80, 99], Operations: []
Exploring Operation: 80*99=7920, Resulting Numbers: [66, 7920]
Generated Node #2: [66, 7920] from Operation: 80*99=7920
Current State: 40:[66, 7920], Operations: ['80*99=7920']
Exploring Operation: 7920/66=120, Resulting Numbers: [120]
120,40 equal: Goal Reached
Exploring Operation: 120-80=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[66, 80, 80, 99], Operations: []
Exploring Operation: 99-80=19, Resulting Numbers: [66, 80, 19]
Generated Node #0,0: 40:[66, 80, 19] Operation: 99-80=19
Moving to Node #0,0
Current State: 40:[66, 80, 19], Operations: ['99-80=19']
Exploring Operation: 80-66=14, Resulting Numbers: [19, 14]
Generated Node #0,0,0: 40:[19, 14] Operation: 80-66=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[19, 14], Operations: ['99-80=19', '80-66=14']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
80,
56,
84,
14
] | 59 | [
"56/14=4",
"84/4=21",
"80-21=59"
] | Current State: 59:[80, 56, 84, 14], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [80, 84, 4]
Generated Node #2: [80, 84, 4] from Operation: 56/14=4
Current State: 59:[80, 84, 4], Operations: ['56/14=4']
Exploring Operation: 84/4=21, Resulting Numbers: [80, 21]
Generated Node #3: [80, 21] from Operation: 84/4=21
Current State: 59:[80, 21], Operations: ['56/14=4', '84/4=21']
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[80, 56, 84, 14], Operations: []
Exploring Operation: 80-14=66, Resulting Numbers: [56, 84, 66]
Generated Node #0,0: 59:[56, 84, 66] Operation: 80-14=66
Exploring Operation: 80+14=94, Resulting Numbers: [56, 84, 94]
Generated Node #0,1: 59:[56, 84, 94] Operation: 80+14=94
Exploring Operation: 84-14=70, Resulting Numbers: [80, 56, 70]
Generated Node #0,2: 59:[80, 56, 70] Operation: 84-14=70
Exploring Operation: 56+14=70, Resulting Numbers: [80, 84, 70]
Generated Node #0,3: 59:[80, 84, 70] Operation: 56+14=70
Moving to Node #0,0
Current State: 59:[56, 84, 66], Operations: ['80-14=66']
Exploring Operation: 84-66=18, Resulting Numbers: [56, 18]
Generated Node #0,0,0: 59:[56, 18] Operation: 84-66=18
Exploring Operation: 56+84=140, Resulting Numbers: [66, 140]
Generated Node #0,0,1: 59:[66, 140] Operation: 56+84=140
Exploring Operation: 84-56=28, Resulting Numbers: [66, 28]
Generated Node #0,0,2: 59:[66, 28] Operation: 84-56=28
Exploring Operation: 66-56=10, Resulting Numbers: [84, 10]
Generated Node #0,0,3: 59:[84, 10] Operation: 66-56=10
Moving to Node #0,2
Current State: 59:[80, 56, 70], Operations: ['84-14=70']
Exploring Operation: 70-56=14, Resulting Numbers: [80, 14]
Generated Node #0,2,0: 59:[80, 14] Operation: 70-56=14
Exploring Operation: 80+56=136, Resulting Numbers: [70, 136]
Generated Node #0,2,1: 59:[70, 136] Operation: 80+56=136
Exploring Operation: 80-70=10, Resulting Numbers: [56, 10]
Generated Node #0,2,2: 59:[56, 10] Operation: 80-70=10
Exploring Operation: 80-56=24, Resulting Numbers: [70, 24]
Generated Node #0,2,3: 59:[70, 24] Operation: 80-56=24
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 59:[70, 24], Operations: ['84-14=70', '80-56=24']
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 70*24=1680, Resulting Numbers: [1680]
1680,59 unequal: No Solution
Exploring Operation: 70+24=94, Resulting Numbers: [94]
94,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,2,2
Current State: 59:[56, 10], Operations: ['84-14=70', '80-70=10']
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,59 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,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,2,0
Current State: 59:[80, 14], Operations: ['84-14=70', '70-56=14']
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,59 unequal: No Solution
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 80*14=1120, Resulting Numbers: [1120]
1120,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,2,1
Current State: 59:[70, 136], Operations: ['84-14=70', '80+56=136']
Exploring Operation: 70*136=9520, Resulting Numbers: [9520]
9520,59 unequal: No Solution
Exploring Operation: 70+136=206, Resulting Numbers: [206]
206,59 unequal: No Solution
Exploring Operation: 136-70=66, Resulting Numbers: [66]
66,59 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: 59:[80, 84, 70], Operations: ['56+14=70']
Exploring Operation: 80+84=164, Resulting Numbers: [70, 164]
Generated Node #0,3,0: 59:[70, 164] Operation: 80+84=164
Exploring Operation: 84-80=4, Resulting Numbers: [70, 4]
Generated Node #0,3,1: 59:[70, 4] Operation: 84-80=4
Exploring Operation: 80-70=10, Resulting Numbers: [84, 10]
Generated Node #0,3,2: 59:[84, 10] Operation: 80-70=10
Exploring Operation: 84-70=14, Resulting Numbers: [80, 14]
Generated Node #0,3,3: 59:[80, 14] Operation: 84-70=14
Moving to Node #0,1
Current State: 59:[56, 84, 94], Operations: ['80+14=94']
Exploring Operation: 94-84=10, Resulting Numbers: [56, 10]
Generated Node #0,1,0: 59:[56, 10] Operation: 94-84=10
Exploring Operation: 94-56=38, Resulting Numbers: [84, 38]
Generated Node #0,1,1: 59:[84, 38] Operation: 94-56=38
Exploring Operation: 84-56=28, Resulting Numbers: [94, 28]
Generated Node #0,1,2: 59:[94, 28] Operation: 84-56=28
Exploring Operation: 56+84=140, Resulting Numbers: [94, 140]
Generated Node #0,1,3: 59:[94, 140] Operation: 56+84=140
Moving to Node #0,0,2
Current State: 59:[66, 28], Operations: ['80-14=66', '84-56=28']
Exploring Operation: 66*28=1848, Resulting Numbers: [1848]
1848,59 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[56, 18], Operations: ['80-14=66', '84-66=18']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,59 unequal: No Solution
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[84, 38], Operations: ['80+14=94', '94-56=38']
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 84*38=3192, Resulting Numbers: [3192]
3192,59 unequal: No Solution
Exploring Operation: 84+38=122, Resulting Numbers: [122]
122,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[56, 10], Operations: ['80+14=94', '94-84=10']
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,59 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[80, 14], Operations: ['56+14=70', '84-70=14']
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,59 unequal: No Solution
Exploring Operation: 80*14=1120, Resulting Numbers: [1120]
1120,59 unequal: No Solution
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[70, 4], Operations: ['56+14=70', '84-80=4']
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,59 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[94, 28], Operations: ['80+14=94', '84-56=28']
Exploring Operation: 94*28=2632, Resulting Numbers: [2632]
2632,59 unequal: No Solution
Exploring Operation: 94+28=122, Resulting Numbers: [122]
122,59 unequal: No Solution
Exploring Operation: 94-28=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[84, 10], Operations: ['56+14=70', '80-70=10']
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,59 unequal: No Solution
Exploring Operation: 84+10=94, Resulting Numbers: [94]
94,59 unequal: No Solution
Exploring Operation: 84*10=840, Resulting Numbers: [840]
840,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[84, 10], Operations: ['80-14=66', '66-56=10']
Exploring Operation: 84+10=94, Resulting Numbers: [94]
94,59 unequal: No Solution
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,59 unequal: No Solution
Exploring Operation: 84*10=840, Resulting Numbers: [840]
840,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[66, 140], Operations: ['80-14=66', '56+84=140']
Exploring Operation: 140-66=74, Resulting Numbers: [74]
74,59 unequal: No Solution
Exploring Operation: 66+140=206, Resulting Numbers: [206]
206,59 unequal: No Solution
Exploring Operation: 66*140=9240, Resulting Numbers: [9240]
9240,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[94, 140], Operations: ['80+14=94', '56+84=140']
Exploring Operation: 140-94=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 94*140=13160, Resulting Numbers: [13160]
13160,59 unequal: No Solution
Exploring Operation: 94+140=234, Resulting Numbers: [234]
234,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[70, 164], Operations: ['56+14=70', '80+84=164']
Exploring Operation: 70*164=11480, Resulting Numbers: [11480]
11480,59 unequal: No Solution
Exploring Operation: 164-70=94, Resulting Numbers: [94]
94,59 unequal: No Solution
Exploring Operation: 70+164=234, Resulting Numbers: [234]
234,59 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
36,
84,
98,
70
] | 20 | [
"84-36=48",
"98-70=28",
"48-28=20"
] | Current State: 20:[36, 84, 98, 70], Operations: []
Exploring Operation: 84-36=48, Resulting Numbers: [98, 70, 48]
Generated Node #2: [98, 70, 48] from Operation: 84-36=48
Current State: 20:[98, 70, 48], Operations: ['84-36=48']
Exploring Operation: 98-70=28, Resulting Numbers: [48, 28]
Generated Node #3: [48, 28] from Operation: 98-70=28
Current State: 20:[48, 28], Operations: ['84-36=48', '98-70=28']
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[36, 84, 98, 70], Operations: []
Exploring Operation: 84-36=48, Resulting Numbers: [98, 70, 48]
Generated Node #0,0: 20:[98, 70, 48] Operation: 84-36=48
Exploring Operation: 98-70=28, Resulting Numbers: [36, 84, 28]
Generated Node #0,1: 20:[36, 84, 28] Operation: 98-70=28
Exploring Operation: 84-70=14, Resulting Numbers: [36, 98, 14]
Generated Node #0,2: 20:[36, 98, 14] Operation: 84-70=14
Exploring Operation: 98-84=14, Resulting Numbers: [36, 70, 14]
Generated Node #0,3: 20:[36, 70, 14] Operation: 98-84=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[36, 70, 14], Operations: ['98-84=14']
Exploring Operation: 70-14=56, Resulting Numbers: [36, 56]
Generated Node #0,3,0: 20:[36, 56] Operation: 70-14=56
Exploring Operation: 36-14=22, Resulting Numbers: [70, 22]
Generated Node #0,3,1: 20:[70, 22] Operation: 36-14=22
Exploring Operation: 70-36=34, Resulting Numbers: [14, 34]
Generated Node #0,3,2: 20:[14, 34] Operation: 70-36=34
Exploring Operation: 70/14=5, Resulting Numbers: [36, 5]
Generated Node #0,3,3: 20:[36, 5] Operation: 70/14=5
Moving to Node #0,3,3
Current State: 20:[36, 5], Operations: ['98-84=14', '70/14=5']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[14, 34], Operations: ['98-84=14', '70-36=34']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[36, 84, 98, 70], Operations: []
Exploring Operation: 98-84=14, Resulting Numbers: [36, 70, 14]
Generated Node #0,3: 20:[36, 70, 14] Operation: 98-84=14
Moving to Node #0,3
Current State: 20:[36, 70, 14], Operations: ['98-84=14']
Exploring Operation: 70-36=34, Resulting Numbers: [14, 34]
Generated Node #0,3,2: 20:[14, 34] Operation: 70-36=34
Moving to Node #0,3,2
Current State: 20:[14, 34], Operations: ['98-84=14', '70-36=34']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
93,
70,
47,
47
] | 70 | [
"93-47=46",
"47-46=1",
"70*1=70"
] | Current State: 70:[93, 70, 47, 47], Operations: []
Exploring Operation: 93-47=46, Resulting Numbers: [70, 46]
Generated Node #2: [70, 46] from Operation: 93-47=46
Current State: 70:[70, 46], Operations: ['93-47=46']
Exploring Operation: 47-46=1, Resulting Numbers: [70, 1]
Generated Node #3: [70, 1] from Operation: 47-46=1
Current State: 70:[70, 1], Operations: ['93-47=46', '47-46=1']
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[93, 70, 47, 47], Operations: []
Exploring Operation: 93-47=46, Resulting Numbers: [70, 47, 46]
Generated Node #0,0: 70:[70, 47, 46] Operation: 93-47=46
Moving to Node #0,0
Current State: 70:[70, 47, 46], Operations: ['93-47=46']
Exploring Operation: 47-46=1, Resulting Numbers: [70, 1]
Generated Node #0,0,0: 70:[70, 1] Operation: 47-46=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[70, 1], Operations: ['93-47=46', '47-46=1']
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[93, 70, 47, 47], Operations: []
Exploring Operation: 93-47=46, Resulting Numbers: [70, 47, 46]
Generated Node #0,0: 70:[70, 47, 46] Operation: 93-47=46
Moving to Node #0,0
Current State: 70:[70, 47, 46], Operations: ['93-47=46']
Exploring Operation: 47-46=1, Resulting Numbers: [70, 1]
Generated Node #0,0,0: 70:[70, 1] Operation: 47-46=1
Moving to Node #0,0,0
Current State: 70:[70, 1], Operations: ['93-47=46', '47-46=1']
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
49,
86,
74,
30
] | 15 | [
"86-49=37",
"74/37=2",
"30/2=15"
] | Current State: 15:[49, 86, 74, 30], Operations: []
Exploring Operation: 86-49=37, Resulting Numbers: [74, 30, 37]
Generated Node #2: [74, 30, 37] from Operation: 86-49=37
Current State: 15:[74, 30, 37], Operations: ['86-49=37']
Exploring Operation: 74/37=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 74/37=2
Current State: 15:[30, 2], Operations: ['86-49=37', '74/37=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[49, 86, 74, 30], Operations: []
Exploring Operation: 86-74=12, Resulting Numbers: [49, 30, 12]
Generated Node #0,0: 15:[49, 30, 12] Operation: 86-74=12
Moving to Node #0,0
Current State: 15:[49, 30, 12], Operations: ['86-74=12']
Exploring Operation: 49-30=19, Resulting Numbers: [12, 19]
Generated Node #0,0,0: 15:[12, 19] Operation: 49-30=19
Moving to Node #0,0,0
Current State: 15:[12, 19], Operations: ['86-74=12', '49-30=19']
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,15 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
24,
28,
16,
7
] | 32 | [
"24-16=8",
"28/7=4",
"8*4=32"
] | Current State: 32:[24, 28, 16, 7], Operations: []
Exploring Operation: 24-16=8, Resulting Numbers: [28, 7, 8]
Generated Node #2: [28, 7, 8] from Operation: 24-16=8
Current State: 32:[28, 7, 8], Operations: ['24-16=8']
Exploring Operation: 28/7=4, Resulting Numbers: [8, 4]
Generated Node #3: [8, 4] from Operation: 28/7=4
Current State: 32:[8, 4], Operations: ['24-16=8', '28/7=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[24, 28, 16, 7], Operations: []
Exploring Operation: 24-16=8, Resulting Numbers: [28, 7, 8]
Generated Node #0,0: 32:[28, 7, 8] Operation: 24-16=8
Exploring Operation: 28-24=4, Resulting Numbers: [16, 7, 4]
Generated Node #0,1: 32:[16, 7, 4] Operation: 28-24=4
Moving to Node #0,1
Current State: 32:[16, 7, 4], Operations: ['28-24=4']
Exploring Operation: 16-7=9, Resulting Numbers: [4, 9]
Generated Node #0,1,0: 32:[4, 9] Operation: 16-7=9
Exploring Operation: 16/4=4, Resulting Numbers: [7, 4]
Generated Node #0,1,1: 32:[7, 4] Operation: 16/4=4
Moving to Node #0,0
Current State: 32:[28, 7, 8], Operations: ['24-16=8']
Exploring Operation: 28/7=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 32:[8, 4] Operation: 28/7=4
Exploring Operation: 28+7=35, Resulting Numbers: [8, 35]
Generated Node #0,0,1: 32:[8, 35] Operation: 28+7=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[8, 4], Operations: ['24-16=8', '28/7=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[24, 28, 16, 7], Operations: []
Exploring Operation: 24-16=8, Resulting Numbers: [28, 7, 8]
Generated Node #0,0: 32:[28, 7, 8] Operation: 24-16=8
Moving to Node #0,0
Current State: 32:[28, 7, 8], Operations: ['24-16=8']
Exploring Operation: 28/7=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 32:[8, 4] Operation: 28/7=4
Moving to Node #0,0,0
Current State: 32:[8, 4], Operations: ['24-16=8', '28/7=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
67,
57,
83,
52
] | 30 | [
"67+83=150",
"57-52=5",
"150/5=30"
] | Current State: 30:[67, 57, 83, 52], Operations: []
Exploring Operation: 67+83=150, Resulting Numbers: [57, 52, 150]
Generated Node #2: [57, 52, 150] from Operation: 67+83=150
Current State: 30:[57, 52, 150], Operations: ['67+83=150']
Exploring Operation: 57-52=5, Resulting Numbers: [150, 5]
Generated Node #3: [150, 5] from Operation: 57-52=5
Current State: 30:[150, 5], Operations: ['67+83=150', '57-52=5']
Exploring Operation: 150/5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[67, 57, 83, 52], Operations: []
Exploring Operation: 83-57=26, Resulting Numbers: [67, 52, 26]
Generated Node #0,0: 30:[67, 52, 26] Operation: 83-57=26
Exploring Operation: 83-52=31, Resulting Numbers: [67, 57, 31]
Generated Node #0,1: 30:[67, 57, 31] Operation: 83-52=31
Exploring Operation: 67-57=10, Resulting Numbers: [83, 52, 10]
Generated Node #0,2: 30:[83, 52, 10] Operation: 67-57=10
Exploring Operation: 83-67=16, Resulting Numbers: [57, 52, 16]
Generated Node #0,3: 30:[57, 52, 16] Operation: 83-67=16
Moving to Node #0,3
Current State: 30:[57, 52, 16], Operations: ['83-67=16']
Exploring Operation: 57-16=41, Resulting Numbers: [52, 41]
Generated Node #0,3,0: 30:[52, 41] Operation: 57-16=41
Exploring Operation: 57+16=73, Resulting Numbers: [52, 73]
Generated Node #0,3,1: 30:[52, 73] Operation: 57+16=73
Exploring Operation: 52-16=36, Resulting Numbers: [57, 36]
Generated Node #0,3,2: 30:[57, 36] Operation: 52-16=36
Exploring Operation: 57-52=5, Resulting Numbers: [16, 5]
Generated Node #0,3,3: 30:[16, 5] Operation: 57-52=5
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 30:[16, 5], Operations: ['83-67=16', '57-52=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 30:[52, 41], Operations: ['83-67=16', '57-16=41']
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 52*41=2132, Resulting Numbers: [2132]
2132,30 unequal: No Solution
Exploring Operation: 52+41=93, Resulting Numbers: [93]
93,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 30:[57, 36], Operations: ['83-67=16', '52-16=36']
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,30 unequal: No Solution
Exploring Operation: 57*36=2052, Resulting Numbers: [2052]
2052,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 30:[52, 73], Operations: ['83-67=16', '57+16=73']
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 52*73=3796, Resulting Numbers: [3796]
3796,30 unequal: No Solution
Exploring Operation: 52+73=125, Resulting Numbers: [125]
125,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 30:[67, 52, 26], Operations: ['83-57=26']
Exploring Operation: 67-52=15, Resulting Numbers: [26, 15]
Generated Node #0,0,0: 30:[26, 15] Operation: 67-52=15
Exploring Operation: 67-26=41, Resulting Numbers: [52, 41]
Generated Node #0,0,1: 30:[52, 41] Operation: 67-26=41
Exploring Operation: 52/26=2, Resulting Numbers: [67, 2]
Generated Node #0,0,2: 30:[67, 2] Operation: 52/26=2
Exploring Operation: 52-26=26, Resulting Numbers: [67, 26]
Generated Node #0,0,3: 30:[67, 26] Operation: 52-26=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[26, 15], Operations: ['83-57=26', '67-52=15']
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,30 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[52, 41], Operations: ['83-57=26', '67-26=41']
Exploring Operation: 52*41=2132, Resulting Numbers: [2132]
2132,30 unequal: No Solution
Exploring Operation: 52+41=93, Resulting Numbers: [93]
93,30 unequal: No Solution
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[67, 2], Operations: ['83-57=26', '52/26=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 30:[67, 26], Operations: ['83-57=26', '52-26=26']
Exploring Operation: 67*26=1742, Resulting Numbers: [1742]
1742,30 unequal: No Solution
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 67+26=93, Resulting Numbers: [93]
93,30 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: 30:[67, 57, 31], Operations: ['83-52=31']
Exploring Operation: 67-57=10, Resulting Numbers: [31, 10]
Generated Node #0,1,0: 30:[31, 10] Operation: 67-57=10
Exploring Operation: 57-31=26, Resulting Numbers: [67, 26]
Generated Node #0,1,1: 30:[67, 26] Operation: 57-31=26
Exploring Operation: 67-31=36, Resulting Numbers: [57, 36]
Generated Node #0,1,2: 30:[57, 36] Operation: 67-31=36
Exploring Operation: 67+57=124, Resulting Numbers: [31, 124]
Generated Node #0,1,3: 30:[31, 124] Operation: 67+57=124
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[31, 10], Operations: ['83-52=31', '67-57=10']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 31*10=310, Resulting Numbers: [310]
310,30 unequal: No Solution
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[57, 36], Operations: ['83-52=31', '67-31=36']
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,30 unequal: No Solution
Exploring Operation: 57*36=2052, Resulting Numbers: [2052]
2052,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[67, 26], Operations: ['83-52=31', '57-31=26']
Exploring Operation: 67+26=93, Resulting Numbers: [93]
93,30 unequal: No Solution
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 67*26=1742, Resulting Numbers: [1742]
1742,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 30:[31, 124], Operations: ['83-52=31', '67+57=124']
Exploring Operation: 31*124=3844, Resulting Numbers: [3844]
3844,30 unequal: No Solution
Exploring Operation: 124/31=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 124-31=93, Resulting Numbers: [93]
93,30 unequal: No Solution
Exploring Operation: 31+124=155, Resulting Numbers: [155]
155,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 30:[83, 52, 10], Operations: ['67-57=10']
Exploring Operation: 83+10=93, Resulting Numbers: [52, 93]
Generated Node #0,2,0: 30:[52, 93] Operation: 83+10=93
Exploring Operation: 83-10=73, Resulting Numbers: [52, 73]
Generated Node #0,2,1: 30:[52, 73] Operation: 83-10=73
Exploring Operation: 83-52=31, Resulting Numbers: [10, 31]
Generated Node #0,2,2: 30:[10, 31] Operation: 83-52=31
Exploring Operation: 52-10=42, Resulting Numbers: [83, 42]
Generated Node #0,2,3: 30:[83, 42] Operation: 52-10=42
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[10, 31], Operations: ['67-57=10', '83-52=31']
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,30 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[52, 73], Operations: ['67-57=10', '83-10=73']
Exploring Operation: 52+73=125, Resulting Numbers: [125]
125,30 unequal: No Solution
Exploring Operation: 52*73=3796, Resulting Numbers: [3796]
3796,30 unequal: No Solution
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 30:[83, 42], Operations: ['67-57=10', '52-10=42']
Exploring Operation: 83+42=125, Resulting Numbers: [125]
125,30 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 83*42=3486, Resulting Numbers: [3486]
3486,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[52, 93], Operations: ['67-57=10', '83+10=93']
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,30 unequal: No Solution
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,30 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,
16,
80,
58
] | 51 | [
"57+16=73",
"80-58=22",
"73-22=51"
] | Current State: 51:[57, 16, 80, 58], Operations: []
Exploring Operation: 57+16=73, Resulting Numbers: [80, 58, 73]
Generated Node #2: [80, 58, 73] from Operation: 57+16=73
Current State: 51:[80, 58, 73], Operations: ['57+16=73']
Exploring Operation: 80-58=22, Resulting Numbers: [73, 22]
Generated Node #3: [73, 22] from Operation: 80-58=22
Current State: 51:[73, 22], Operations: ['57+16=73', '80-58=22']
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[57, 16, 80, 58], Operations: []
Exploring Operation: 80-57=23, Resulting Numbers: [16, 58, 23]
Generated Node #0,0: 51:[16, 58, 23] Operation: 80-57=23
Exploring Operation: 80-58=22, Resulting Numbers: [57, 16, 22]
Generated Node #0,1: 51:[57, 16, 22] Operation: 80-58=22
Exploring Operation: 80/16=5, Resulting Numbers: [57, 58, 5]
Generated Node #0,2: 51:[57, 58, 5] Operation: 80/16=5
Exploring Operation: 80-16=64, Resulting Numbers: [57, 58, 64]
Generated Node #0,3: 51:[57, 58, 64] Operation: 80-16=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[57, 16, 22], Operations: ['80-58=22']
Exploring Operation: 57-22=35, Resulting Numbers: [16, 35]
Generated Node #0,1,0: 51:[16, 35] Operation: 57-22=35
Exploring Operation: 22-16=6, Resulting Numbers: [57, 6]
Generated Node #0,1,1: 51:[57, 6] Operation: 22-16=6
Exploring Operation: 57-16=41, Resulting Numbers: [22, 41]
Generated Node #0,1,2: 51:[22, 41] Operation: 57-16=41
Exploring Operation: 16+22=38, Resulting Numbers: [57, 38]
Generated Node #0,1,3: 51:[57, 38] Operation: 16+22=38
Moving to Node #0,1,1
Current State: 51:[57, 6], Operations: ['80-58=22', '22-16=6']
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[57, 16, 80, 58], Operations: []
Exploring Operation: 80-58=22, Resulting Numbers: [57, 16, 22]
Generated Node #0,1: 51:[57, 16, 22] Operation: 80-58=22
Moving to Node #0,1
Current State: 51:[57, 16, 22], Operations: ['80-58=22']
Exploring Operation: 22-16=6, Resulting Numbers: [57, 6]
Generated Node #0,1,1: 51:[57, 6] Operation: 22-16=6
Moving to Node #0,1,1
Current State: 51:[57, 6], Operations: ['80-58=22', '22-16=6']
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
82,
57,
63,
8
] | 11 | [
"82-57=25",
"63+25=88",
"88/8=11"
] | Current State: 11:[82, 57, 63, 8], Operations: []
Exploring Operation: 82-57=25, Resulting Numbers: [63, 8, 25]
Generated Node #2: [63, 8, 25] from Operation: 82-57=25
Current State: 11:[63, 8, 25], Operations: ['82-57=25']
Exploring Operation: 63+25=88, Resulting Numbers: [8, 88]
Generated Node #3: [8, 88] from Operation: 63+25=88
Current State: 11:[8, 88], Operations: ['82-57=25', '63+25=88']
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[82, 57, 63, 8], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [57, 8, 19]
Generated Node #0,0: 11:[57, 8, 19] Operation: 82-63=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[57, 8, 19], Operations: ['82-63=19']
Exploring Operation: 57/19=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 11:[8, 3] Operation: 57/19=3
Moving to Node #0,0,0
Current State: 11:[8, 3], Operations: ['82-63=19', '57/19=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[82, 57, 63, 8], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [57, 8, 19]
Generated Node #0,0: 11:[57, 8, 19] Operation: 82-63=19
Moving to Node #0,0
Current State: 11:[57, 8, 19], Operations: ['82-63=19']
Exploring Operation: 57/19=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 11:[8, 3] Operation: 57/19=3
Moving to Node #0,0,0
Current State: 11:[8, 3], Operations: ['82-63=19', '57/19=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
4,
75,
70,
3
] | 52 | [
"75-3=72",
"72/4=18",
"70-18=52"
] | Current State: 52:[4, 75, 70, 3], Operations: []
Exploring Operation: 75-3=72, Resulting Numbers: [4, 70, 72]
Generated Node #2: [4, 70, 72] from Operation: 75-3=72
Current State: 52:[4, 70, 72], Operations: ['75-3=72']
Exploring Operation: 72/4=18, Resulting Numbers: [70, 18]
Generated Node #3: [70, 18] from Operation: 72/4=18
Current State: 52:[70, 18], Operations: ['75-3=72', '72/4=18']
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[4, 75, 70, 3], Operations: []
Exploring Operation: 70-4=66, Resulting Numbers: [75, 3, 66]
Generated Node #0,0: 52:[75, 3, 66] Operation: 70-4=66
Exploring Operation: 75/3=25, Resulting Numbers: [4, 70, 25]
Generated Node #0,1: 52:[4, 70, 25] Operation: 75/3=25
Exploring Operation: 75-3=72, Resulting Numbers: [4, 70, 72]
Generated Node #0,2: 52:[4, 70, 72] Operation: 75-3=72
Exploring Operation: 75-4=71, Resulting Numbers: [70, 3, 71]
Generated Node #0,3: 52:[70, 3, 71] Operation: 75-4=71
Exploring Operation: 75-70=5, Resulting Numbers: [4, 3, 5]
Generated Node #0,4: 52:[4, 3, 5] Operation: 75-70=5
Moving to Node #0,4
Current State: 52:[4, 3, 5], Operations: ['75-70=5']
Exploring Operation: 3*5=15, Resulting Numbers: [4, 15]
Generated Node #0,4,0: 52:[4, 15] Operation: 3*5=15
Exploring Operation: 5-3=2, Resulting Numbers: [4, 2]
Generated Node #0,4,1: 52:[4, 2] Operation: 5-3=2
Exploring Operation: 5-4=1, Resulting Numbers: [3, 1]
Generated Node #0,4,2: 52:[3, 1] Operation: 5-4=1
Exploring Operation: 4-3=1, Resulting Numbers: [5, 1]
Generated Node #0,4,3: 52:[5, 1] Operation: 4-3=1
Exploring Operation: 4*3=12, Resulting Numbers: [5, 12]
Generated Node #0,4,4: 52:[5, 12] Operation: 4*3=12
Moving to Node #0,1
Current State: 52:[4, 70, 25], Operations: ['75/3=25']
Exploring Operation: 4+25=29, Resulting Numbers: [70, 29]
Generated Node #0,1,0: 52:[70, 29] Operation: 4+25=29
Exploring Operation: 25-4=21, Resulting Numbers: [70, 21]
Generated Node #0,1,1: 52:[70, 21] Operation: 25-4=21
Exploring Operation: 70-4=66, Resulting Numbers: [25, 66]
Generated Node #0,1,2: 52:[25, 66] Operation: 70-4=66
Exploring Operation: 70-25=45, Resulting Numbers: [4, 45]
Generated Node #0,1,3: 52:[4, 45] Operation: 70-25=45
Exploring Operation: 4+70=74, Resulting Numbers: [25, 74]
Generated Node #0,1,4: 52:[25, 74] Operation: 4+70=74
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[4, 45], Operations: ['75/3=25', '70-25=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,52 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[25, 66], Operations: ['75/3=25', '70-4=66']
Exploring Operation: 25*66=1650, Resulting Numbers: [1650]
1650,52 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 25+66=91, Resulting Numbers: [91]
91,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[70, 29], Operations: ['75/3=25', '4+25=29']
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,52 unequal: No Solution
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[70, 21], Operations: ['75/3=25', '25-4=21']
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 70+21=91, Resulting Numbers: [91]
91,52 unequal: No Solution
Exploring Operation: 70*21=1470, Resulting Numbers: [1470]
1470,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 52:[25, 74], Operations: ['75/3=25', '4+70=74']
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 25*74=1850, Resulting Numbers: [1850]
1850,52 unequal: No Solution
Exploring Operation: 25+74=99, Resulting Numbers: [99]
99,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 52:[75, 3, 66], Operations: ['70-4=66']
Exploring Operation: 66-3=63, Resulting Numbers: [75, 63]
Generated Node #0,0,0: 52:[75, 63] Operation: 66-3=63
Exploring Operation: 75/3=25, Resulting Numbers: [66, 25]
Generated Node #0,0,1: 52:[66, 25] Operation: 75/3=25
Exploring Operation: 75-66=9, Resulting Numbers: [3, 9]
Generated Node #0,0,2: 52:[3, 9] Operation: 75-66=9
Exploring Operation: 66/3=22, Resulting Numbers: [75, 22]
Generated Node #0,0,3: 52:[75, 22] Operation: 66/3=22
Exploring Operation: 75-3=72, Resulting Numbers: [66, 72]
Generated Node #0,0,4: 52:[66, 72] Operation: 75-3=72
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[3, 9], Operations: ['70-4=66', '75-66=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[66, 25], Operations: ['70-4=66', '75/3=25']
Exploring Operation: 66*25=1650, Resulting Numbers: [1650]
1650,52 unequal: No Solution
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,52 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 52:[75, 22], Operations: ['70-4=66', '66/3=22']
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,52 unequal: No Solution
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[75, 63], Operations: ['70-4=66', '66-3=63']
Exploring Operation: 75+63=138, Resulting Numbers: [138]
138,52 unequal: No Solution
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 75*63=4725, Resulting Numbers: [4725]
4725,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 52:[66, 72], Operations: ['70-4=66', '75-3=72']
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 66*72=4752, Resulting Numbers: [4752]
4752,52 unequal: No Solution
Exploring Operation: 66+72=138, Resulting Numbers: [138]
138,52 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: 52:[4, 70, 72], Operations: ['75-3=72']
Exploring Operation: 72-70=2, Resulting Numbers: [4, 2]
Generated Node #0,2,0: 52:[4, 2] Operation: 72-70=2
Exploring Operation: 70-4=66, Resulting Numbers: [72, 66]
Generated Node #0,2,1: 52:[72, 66] Operation: 70-4=66
Exploring Operation: 72/4=18, Resulting Numbers: [70, 18]
Generated Node #0,2,2: 52:[70, 18] Operation: 72/4=18
Exploring Operation: 4+70=74, Resulting Numbers: [72, 74]
Generated Node #0,2,3: 52:[72, 74] Operation: 4+70=74
Exploring Operation: 72-4=68, Resulting Numbers: [70, 68]
Generated Node #0,2,4: 52:[70, 68] Operation: 72-4=68
Moving to Node #0,3
Current State: 52:[70, 3, 71], Operations: ['75-4=71']
Exploring Operation: 71-3=68, Resulting Numbers: [70, 68]
Generated Node #0,3,0: 52:[70, 68] Operation: 71-3=68
Exploring Operation: 71-70=1, Resulting Numbers: [3, 1]
Generated Node #0,3,1: 52:[3, 1] Operation: 71-70=1
Exploring Operation: 3+71=74, Resulting Numbers: [70, 74]
Generated Node #0,3,2: 52:[70, 74] Operation: 3+71=74
Exploring Operation: 70-3=67, Resulting Numbers: [71, 67]
Generated Node #0,3,3: 52:[71, 67] Operation: 70-3=67
Exploring Operation: 70+3=73, Resulting Numbers: [71, 73]
Generated Node #0,3,4: 52:[71, 73] Operation: 70+3=73
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 52:[3, 1], Operations: ['75-4=71', '71-70=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
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
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 52:[70, 68], Operations: ['75-4=71', '71-3=68']
Exploring Operation: 70+68=138, Resulting Numbers: [138]
138,52 unequal: No Solution
Exploring Operation: 70-68=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 70*68=4760, Resulting Numbers: [4760]
4760,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 52:[71, 67], Operations: ['75-4=71', '70-3=67']
Exploring Operation: 71-67=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 71*67=4757, Resulting Numbers: [4757]
4757,52 unequal: No Solution
Exploring Operation: 71+67=138, Resulting Numbers: [138]
138,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 52:[70, 74], Operations: ['75-4=71', '3+71=74']
Exploring Operation: 70*74=5180, Resulting Numbers: [5180]
5180,52 unequal: No Solution
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 70+74=144, Resulting Numbers: [144]
144,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 52:[71, 73], Operations: ['75-4=71', '70+3=73']
Exploring Operation: 71+73=144, Resulting Numbers: [144]
144,52 unequal: No Solution
Exploring Operation: 73-71=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 71*73=5183, Resulting Numbers: [5183]
5183,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 52:[4, 2], Operations: ['75-70=5', '5-3=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[4, 2], Operations: ['75-3=72', '72-70=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Moving to Node #0,4,2
Current State: 52:[3, 1], Operations: ['75-70=5', '5-4=1']
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=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Moving to Node #0,4,0
Current State: 52:[4, 15], Operations: ['75-70=5', '3*5=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Moving to Node #0,4,4
Current State: 52:[5, 12], Operations: ['75-70=5', '4*3=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Moving to Node #0,4,3
Current State: 52:[5, 1], Operations: ['75-70=5', '4-3=1']
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[70, 18], Operations: ['75-3=72', '72/4=18']
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[4, 75, 70, 3], Operations: []
Exploring Operation: 75-3=72, Resulting Numbers: [4, 70, 72]
Generated Node #0,2: 52:[4, 70, 72] Operation: 75-3=72
Moving to Node #0,2
Current State: 52:[4, 70, 72], Operations: ['75-3=72']
Exploring Operation: 72/4=18, Resulting Numbers: [70, 18]
Generated Node #0,2,2: 52:[70, 18] Operation: 72/4=18
Moving to Node #0,2,2
Current State: 52:[70, 18], Operations: ['75-3=72', '72/4=18']
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.909722 | hs_5 | sum_heuristic |
[
97,
12,
28,
90
] | 47 | [
"97+12=109",
"90-28=62",
"109-62=47"
] | Current State: 47:[97, 12, 28, 90], Operations: []
Exploring Operation: 97+12=109, Resulting Numbers: [28, 90, 109]
Generated Node #2: [28, 90, 109] from Operation: 97+12=109
Current State: 47:[28, 90, 109], Operations: ['97+12=109']
Exploring Operation: 90-28=62, Resulting Numbers: [109, 62]
Generated Node #3: [109, 62] from Operation: 90-28=62
Current State: 47:[109, 62], Operations: ['97+12=109', '90-28=62']
Exploring Operation: 109-62=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[97, 12, 28, 90], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [12, 90, 69]
Generated Node #0,0: 47:[12, 90, 69] Operation: 97-28=69
Exploring Operation: 97-12=85, Resulting Numbers: [28, 90, 85]
Generated Node #0,1: 47:[28, 90, 85] Operation: 97-12=85
Exploring Operation: 97-90=7, Resulting Numbers: [12, 28, 7]
Generated Node #0,2: 47:[12, 28, 7] Operation: 97-90=7
Moving to Node #0,2
Current State: 47:[12, 28, 7], Operations: ['97-90=7']
Exploring Operation: 28+7=35, Resulting Numbers: [12, 35]
Generated Node #0,2,0: 47:[12, 35] Operation: 28+7=35
Exploring Operation: 12+7=19, Resulting Numbers: [28, 19]
Generated Node #0,2,1: 47:[28, 19] Operation: 12+7=19
Exploring Operation: 12+28=40, Resulting Numbers: [7, 40]
Generated Node #0,2,2: 47:[7, 40] Operation: 12+28=40
Moving to Node #0,0
Current State: 47:[12, 90, 69], Operations: ['97-28=69']
Exploring Operation: 69-12=57, Resulting Numbers: [90, 57]
Generated Node #0,0,0: 47:[90, 57] Operation: 69-12=57
Exploring Operation: 90-12=78, Resulting Numbers: [69, 78]
Generated Node #0,0,1: 47:[69, 78] Operation: 90-12=78
Exploring Operation: 90-69=21, Resulting Numbers: [12, 21]
Generated Node #0,0,2: 47:[12, 21] Operation: 90-69=21
Moving to Node #0,1
Current State: 47:[28, 90, 85], Operations: ['97-12=85']
Exploring Operation: 90-85=5, Resulting Numbers: [28, 5]
Generated Node #0,1,0: 47:[28, 5] Operation: 90-85=5
Exploring Operation: 85-28=57, Resulting Numbers: [90, 57]
Generated Node #0,1,1: 47:[90, 57] Operation: 85-28=57
Exploring Operation: 90-28=62, Resulting Numbers: [85, 62]
Generated Node #0,1,2: 47:[85, 62] Operation: 90-28=62
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[90, 57], Operations: ['97-12=85', '85-28=57']
Exploring Operation: 90*57=5130, Resulting Numbers: [5130]
5130,47 unequal: No Solution
Exploring Operation: 90-57=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Exploring Operation: 90+57=147, Resulting Numbers: [147]
147,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,2
Current State: 47:[85, 62], Operations: ['97-12=85', '90-28=62']
Exploring Operation: 85+62=147, Resulting Numbers: [147]
147,47 unequal: No Solution
Exploring Operation: 85*62=5270, Resulting Numbers: [5270]
5270,47 unequal: No Solution
Exploring Operation: 85-62=23, Resulting Numbers: [23]
23,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:[28, 5], Operations: ['97-12=85', '90-85=5']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 47:[12, 35], Operations: ['97-90=7', '28+7=35']
Exploring Operation: 12*35=420, Resulting Numbers: [420]
420,47 unequal: No Solution
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[97, 12, 28, 90], Operations: []
Exploring Operation: 97-90=7, Resulting Numbers: [12, 28, 7]
Generated Node #0,2: 47:[12, 28, 7] Operation: 97-90=7
Moving to Node #0,2
Current State: 47:[12, 28, 7], Operations: ['97-90=7']
Exploring Operation: 28+7=35, Resulting Numbers: [12, 35]
Generated Node #0,2,0: 47:[12, 35] Operation: 28+7=35
Moving to Node #0,2,0
Current State: 47:[12, 35], Operations: ['97-90=7', '28+7=35']
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
51,
91,
11,
17
] | 68 | [
"91-51=40",
"11+17=28",
"40+28=68"
] | Current State: 68:[51, 91, 11, 17], Operations: []
Exploring Operation: 91-51=40, Resulting Numbers: [11, 17, 40]
Generated Node #2: [11, 17, 40] from Operation: 91-51=40
Current State: 68:[11, 17, 40], Operations: ['91-51=40']
Exploring Operation: 11+17=28, Resulting Numbers: [40, 28]
Generated Node #3: [40, 28] from Operation: 11+17=28
Current State: 68:[40, 28], Operations: ['91-51=40', '11+17=28']
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[51, 91, 11, 17], Operations: []
Exploring Operation: 91-51=40, Resulting Numbers: [11, 17, 40]
Generated Node #0,0: 68:[11, 17, 40] Operation: 91-51=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[11, 17, 40], Operations: ['91-51=40']
Exploring Operation: 40-11=29, Resulting Numbers: [17, 29]
Generated Node #0,0,0: 68:[17, 29] Operation: 40-11=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[17, 29], Operations: ['91-51=40', '40-11=29']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
10,
44,
18,
80
] | 42 | [
"10*80=800",
"800-44=756",
"756/18=42"
] | Current State: 42:[10, 44, 18, 80], Operations: []
Exploring Operation: 10*80=800, Resulting Numbers: [44, 18, 800]
Generated Node #2: [44, 18, 800] from Operation: 10*80=800
Current State: 42:[44, 18, 800], Operations: ['10*80=800']
Exploring Operation: 800-44=756, Resulting Numbers: [18, 756]
Generated Node #3: [18, 756] from Operation: 800-44=756
Current State: 42:[18, 756], Operations: ['10*80=800', '800-44=756']
Exploring Operation: 756/18=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[10, 44, 18, 80], Operations: []
Exploring Operation: 80-10=70, Resulting Numbers: [44, 18, 70]
Generated Node #0,0: 42:[44, 18, 70] Operation: 80-10=70
Exploring Operation: 80-18=62, Resulting Numbers: [10, 44, 62]
Generated Node #0,1: 42:[10, 44, 62] Operation: 80-18=62
Exploring Operation: 80/10=8, Resulting Numbers: [44, 18, 8]
Generated Node #0,2: 42:[44, 18, 8] Operation: 80/10=8
Exploring Operation: 80-44=36, Resulting Numbers: [10, 18, 36]
Generated Node #0,3: 42:[10, 18, 36] Operation: 80-44=36
Exploring Operation: 18-10=8, Resulting Numbers: [44, 80, 8]
Generated Node #0,4: 42:[44, 80, 8] Operation: 18-10=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[44, 18, 8], Operations: ['80/10=8']
Exploring Operation: 18+8=26, Resulting Numbers: [44, 26]
Generated Node #0,2,0: 42:[44, 26] Operation: 18+8=26
Exploring Operation: 18-8=10, Resulting Numbers: [44, 10]
Generated Node #0,2,1: 42:[44, 10] Operation: 18-8=10
Exploring Operation: 44+8=52, Resulting Numbers: [18, 52]
Generated Node #0,2,2: 42:[18, 52] Operation: 44+8=52
Exploring Operation: 44-8=36, Resulting Numbers: [18, 36]
Generated Node #0,2,3: 42:[18, 36] Operation: 44-8=36
Exploring Operation: 44-18=26, Resulting Numbers: [8, 26]
Generated Node #0,2,4: 42:[8, 26] Operation: 44-18=26
Moving to Node #0,2,1
Current State: 42:[44, 10], Operations: ['80/10=8', '18-8=10']
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,42 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Moving to Node #0,2,4
Current State: 42:[8, 26], Operations: ['80/10=8', '44-18=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,42 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[44, 26], Operations: ['80/10=8', '18+8=26']
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 44*26=1144, Resulting Numbers: [1144]
1144,42 unequal: No Solution
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[18, 36], Operations: ['80/10=8', '44-8=36']
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[18, 52], Operations: ['80/10=8', '44+8=52']
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 18+52=70, Resulting Numbers: [70]
70,42 unequal: No Solution
Exploring Operation: 18*52=936, Resulting Numbers: [936]
936,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[10, 18, 36], Operations: ['80-44=36']
Exploring Operation: 36-18=18, Resulting Numbers: [10, 18]
Generated Node #0,3,0: 42:[10, 18] Operation: 36-18=18
Exploring Operation: 36/18=2, Resulting Numbers: [10, 2]
Generated Node #0,3,1: 42:[10, 2] Operation: 36/18=2
Exploring Operation: 10+36=46, Resulting Numbers: [18, 46]
Generated Node #0,3,2: 42:[18, 46] Operation: 10+36=46
Exploring Operation: 36-10=26, Resulting Numbers: [18, 26]
Generated Node #0,3,3: 42:[18, 26] Operation: 36-10=26
Exploring Operation: 18-10=8, Resulting Numbers: [36, 8]
Generated Node #0,3,4: 42:[36, 8] Operation: 18-10=8
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 42:[10, 2], Operations: ['80-44=36', '36/18=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 42:[10, 18], Operations: ['80-44=36', '36-18=18']
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,42 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 42:[18, 46], Operations: ['80-44=36', '10+36=46']
Exploring Operation: 18*46=828, Resulting Numbers: [828]
828,42 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 18+46=64, Resulting Numbers: [64]
64,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 42:[36, 8], Operations: ['80-44=36', '18-10=8']
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,42 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 42:[18, 26], Operations: ['80-44=36', '36-10=26']
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,42 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[10, 44, 62], Operations: ['80-18=62']
Exploring Operation: 44-10=34, Resulting Numbers: [62, 34]
Generated Node #0,1,0: 42:[62, 34] Operation: 44-10=34
Exploring Operation: 62-44=18, Resulting Numbers: [10, 18]
Generated Node #0,1,1: 42:[10, 18] Operation: 62-44=18
Exploring Operation: 62-10=52, Resulting Numbers: [44, 52]
Generated Node #0,1,2: 42:[44, 52] Operation: 62-10=52
Exploring Operation: 10+44=54, Resulting Numbers: [62, 54]
Generated Node #0,1,3: 42:[62, 54] Operation: 10+44=54
Exploring Operation: 10+62=72, Resulting Numbers: [44, 72]
Generated Node #0,1,4: 42:[44, 72] Operation: 10+62=72
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[10, 18], Operations: ['80-18=62', '62-44=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,42 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 42:[44, 52], Operations: ['80-18=62', '62-10=52']
Exploring Operation: 44*52=2288, Resulting Numbers: [2288]
2288,42 unequal: No Solution
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,42 unequal: No Solution
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[62, 34], Operations: ['80-18=62', '44-10=34']
Exploring Operation: 62+34=96, Resulting Numbers: [96]
96,42 unequal: No Solution
Exploring Operation: 62*34=2108, Resulting Numbers: [2108]
2108,42 unequal: No Solution
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 42:[62, 54], Operations: ['80-18=62', '10+44=54']
Exploring Operation: 62+54=116, Resulting Numbers: [116]
116,42 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 62*54=3348, Resulting Numbers: [3348]
3348,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 42:[44, 72], Operations: ['80-18=62', '10+62=72']
Exploring Operation: 44+72=116, Resulting Numbers: [116]
116,42 unequal: No Solution
Exploring Operation: 44*72=3168, Resulting Numbers: [3168]
3168,42 unequal: No Solution
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[44, 18, 70], Operations: ['80-10=70']
Exploring Operation: 44-18=26, Resulting Numbers: [70, 26]
Generated Node #0,0,0: 42:[70, 26] Operation: 44-18=26
Exploring Operation: 44+18=62, Resulting Numbers: [70, 62]
Generated Node #0,0,1: 42:[70, 62] Operation: 44+18=62
Exploring Operation: 70-18=52, Resulting Numbers: [44, 52]
Generated Node #0,0,2: 42:[44, 52] Operation: 70-18=52
Exploring Operation: 18+70=88, Resulting Numbers: [44, 88]
Generated Node #0,0,3: 42:[44, 88] Operation: 18+70=88
Exploring Operation: 70-44=26, Resulting Numbers: [18, 26]
Generated Node #0,0,4: 42:[18, 26] Operation: 70-44=26
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 42:[18, 26], Operations: ['80-10=70', '70-44=26']
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[44, 52], Operations: ['80-10=70', '70-18=52']
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,42 unequal: No Solution
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 44*52=2288, Resulting Numbers: [2288]
2288,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[70, 26], Operations: ['80-10=70', '44-18=26']
Exploring Operation: 70+26=96, Resulting Numbers: [96]
96,42 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 70*26=1820, Resulting Numbers: [1820]
1820,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[70, 62], Operations: ['80-10=70', '44+18=62']
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 70*62=4340, Resulting Numbers: [4340]
4340,42 unequal: No Solution
Exploring Operation: 70+62=132, Resulting Numbers: [132]
132,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 42:[44, 88], Operations: ['80-10=70', '18+70=88']
Exploring Operation: 44+88=132, Resulting Numbers: [132]
132,42 unequal: No Solution
Exploring Operation: 44*88=3872, Resulting Numbers: [3872]
3872,42 unequal: No Solution
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[44, 80, 8], Operations: ['18-10=8']
Exploring Operation: 80-8=72, Resulting Numbers: [44, 72]
Generated Node #0,4,0: 42:[44, 72] Operation: 80-8=72
Exploring Operation: 80/8=10, Resulting Numbers: [44, 10]
Generated Node #0,4,1: 42:[44, 10] Operation: 80/8=10
Exploring Operation: 80-44=36, Resulting Numbers: [8, 36]
Generated Node #0,4,2: 42:[8, 36] Operation: 80-44=36
Exploring Operation: 44-8=36, Resulting Numbers: [80, 36]
Generated Node #0,4,3: 42:[80, 36] Operation: 44-8=36
Exploring Operation: 44+8=52, Resulting Numbers: [80, 52]
Generated Node #0,4,4: 42:[80, 52] Operation: 44+8=52
Moving to Node #0,4,1
Current State: 42:[44, 10], Operations: ['18-10=8', '80/8=10']
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,42 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Moving to Node #0,4,2
Current State: 42:[8, 36], Operations: ['18-10=8', '80-44=36']
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,42 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Moving to Node #0,4,0
Current State: 42:[44, 72], Operations: ['18-10=8', '80-8=72']
Exploring Operation: 44+72=116, Resulting Numbers: [116]
116,42 unequal: No Solution
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 44*72=3168, Resulting Numbers: [3168]
3168,42 unequal: No Solution
Moving to Node #0,4,3
Current State: 42:[80, 36], Operations: ['18-10=8', '44-8=36']
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,42 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,42 unequal: No Solution
Moving to Node #0,4,4
Current State: 42:[80, 52], Operations: ['18-10=8', '44+8=52']
Exploring Operation: 80-52=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 80+52=132, Resulting Numbers: [132]
132,42 unequal: No Solution
Exploring Operation: 80*52=4160, Resulting Numbers: [4160]
4160,42 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 |
[
86,
46,
77,
34
] | 21 | [
"86+46=132",
"77+34=111",
"132-111=21"
] | Current State: 21:[86, 46, 77, 34], Operations: []
Exploring Operation: 86+46=132, Resulting Numbers: [77, 34, 132]
Generated Node #2: [77, 34, 132] from Operation: 86+46=132
Current State: 21:[77, 34, 132], Operations: ['86+46=132']
Exploring Operation: 77+34=111, Resulting Numbers: [132, 111]
Generated Node #3: [132, 111] from Operation: 77+34=111
Current State: 21:[132, 111], Operations: ['86+46=132', '77+34=111']
Exploring Operation: 132-111=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[86, 46, 77, 34], Operations: []
Exploring Operation: 86-77=9, Resulting Numbers: [46, 34, 9]
Generated Node #0,0: 21:[46, 34, 9] Operation: 86-77=9
Exploring Operation: 86-46=40, Resulting Numbers: [77, 34, 40]
Generated Node #0,1: 21:[77, 34, 40] Operation: 86-46=40
Moving to Node #0,0
Current State: 21:[46, 34, 9], Operations: ['86-77=9']
Exploring Operation: 46-34=12, Resulting Numbers: [9, 12]
Generated Node #0,0,0: 21:[9, 12] Operation: 46-34=12
Exploring Operation: 46-9=37, Resulting Numbers: [34, 37]
Generated Node #0,0,1: 21:[34, 37] Operation: 46-9=37
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[9, 12], Operations: ['86-77=9', '46-34=12']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[86, 46, 77, 34], Operations: []
Exploring Operation: 86-77=9, Resulting Numbers: [46, 34, 9]
Generated Node #0,0: 21:[46, 34, 9] Operation: 86-77=9
Moving to Node #0,0
Current State: 21:[46, 34, 9], Operations: ['86-77=9']
Exploring Operation: 46-34=12, Resulting Numbers: [9, 12]
Generated Node #0,0,0: 21:[9, 12] Operation: 46-34=12
Moving to Node #0,0,0
Current State: 21:[9, 12], Operations: ['86-77=9', '46-34=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
31,
30,
3,
82
] | 84 | [
"31-30=1",
"3+82=85",
"85-1=84"
] | Current State: 84:[31, 30, 3, 82], Operations: []
Exploring Operation: 31-30=1, Resulting Numbers: [3, 82, 1]
Generated Node #2: [3, 82, 1] from Operation: 31-30=1
Current State: 84:[3, 82, 1], Operations: ['31-30=1']
Exploring Operation: 3+82=85, Resulting Numbers: [1, 85]
Generated Node #3: [1, 85] from Operation: 3+82=85
Current State: 84:[1, 85], Operations: ['31-30=1', '3+82=85']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[31, 30, 3, 82], Operations: []
Exploring Operation: 31-30=1, Resulting Numbers: [3, 82, 1]
Generated Node #0,0: 84:[3, 82, 1] Operation: 31-30=1
Exploring Operation: 31-3=28, Resulting Numbers: [30, 82, 28]
Generated Node #0,1: 84:[30, 82, 28] Operation: 31-3=28
Moving to Node #0,0
Current State: 84:[3, 82, 1], Operations: ['31-30=1']
Exploring Operation: 82+1=83, Resulting Numbers: [3, 83]
Generated Node #0,0,0: 84:[3, 83] Operation: 82+1=83
Exploring Operation: 3+82=85, Resulting Numbers: [1, 85]
Generated Node #0,0,1: 84:[1, 85] Operation: 3+82=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[3, 83], Operations: ['31-30=1', '82+1=83']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,84 unequal: No Solution
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[1, 85], Operations: ['31-30=1', '3+82=85']
Exploring Operation: 1*85=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[31, 30, 3, 82], Operations: []
Exploring Operation: 31-30=1, Resulting Numbers: [3, 82, 1]
Generated Node #0,0: 84:[3, 82, 1] Operation: 31-30=1
Moving to Node #0,0
Current State: 84:[3, 82, 1], Operations: ['31-30=1']
Exploring Operation: 3+82=85, Resulting Numbers: [1, 85]
Generated Node #0,0,1: 84:[1, 85] Operation: 3+82=85
Moving to Node #0,0,1
Current State: 84:[1, 85], Operations: ['31-30=1', '3+82=85']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
13,
85,
62,
78
] | 68 | [
"85-13=72",
"62+78=140",
"140-72=68"
] | Current State: 68:[13, 85, 62, 78], Operations: []
Exploring Operation: 85-13=72, Resulting Numbers: [62, 78, 72]
Generated Node #2: [62, 78, 72] from Operation: 85-13=72
Current State: 68:[62, 78, 72], Operations: ['85-13=72']
Exploring Operation: 62+78=140, Resulting Numbers: [72, 140]
Generated Node #3: [72, 140] from Operation: 62+78=140
Current State: 68:[72, 140], Operations: ['85-13=72', '62+78=140']
Exploring Operation: 140-72=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[13, 85, 62, 78], Operations: []
Exploring Operation: 78/13=6, Resulting Numbers: [85, 62, 6]
Generated Node #0,0: 68:[85, 62, 6] Operation: 78/13=6
Exploring Operation: 85-78=7, Resulting Numbers: [13, 62, 7]
Generated Node #0,1: 68:[13, 62, 7] Operation: 85-78=7
Exploring Operation: 85-62=23, Resulting Numbers: [13, 78, 23]
Generated Node #0,2: 68:[13, 78, 23] Operation: 85-62=23
Exploring Operation: 85-13=72, Resulting Numbers: [62, 78, 72]
Generated Node #0,3: 68:[62, 78, 72] Operation: 85-13=72
Exploring Operation: 78-62=16, Resulting Numbers: [13, 85, 16]
Generated Node #0,4: 68:[13, 85, 16] Operation: 78-62=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[13, 62, 7], Operations: ['85-78=7']
Exploring Operation: 13+7=20, Resulting Numbers: [62, 20]
Generated Node #0,1,0: 68:[62, 20] Operation: 13+7=20
Exploring Operation: 62+7=69, Resulting Numbers: [13, 69]
Generated Node #0,1,1: 68:[13, 69] Operation: 62+7=69
Exploring Operation: 62-7=55, Resulting Numbers: [13, 55]
Generated Node #0,1,2: 68:[13, 55] Operation: 62-7=55
Exploring Operation: 13+62=75, Resulting Numbers: [7, 75]
Generated Node #0,1,3: 68:[7, 75] Operation: 13+62=75
Exploring Operation: 13-7=6, Resulting Numbers: [62, 6]
Generated Node #0,1,4: 68:[62, 6] Operation: 13-7=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[13, 69], Operations: ['85-78=7', '62+7=69']
Exploring Operation: 13*69=897, Resulting Numbers: [897]
897,68 unequal: No Solution
Exploring Operation: 13+69=82, Resulting Numbers: [82]
82,68 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 68:[62, 6], Operations: ['85-78=7', '13-7=6']
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[13, 85, 62, 78], Operations: []
Exploring Operation: 85-78=7, Resulting Numbers: [13, 62, 7]
Generated Node #0,1: 68:[13, 62, 7] Operation: 85-78=7
Moving to Node #0,1
Current State: 68:[13, 62, 7], Operations: ['85-78=7']
Exploring Operation: 13-7=6, Resulting Numbers: [62, 6]
Generated Node #0,1,4: 68:[62, 6] Operation: 13-7=6
Moving to Node #0,1,4
Current State: 68:[62, 6], Operations: ['85-78=7', '13-7=6']
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
89,
78,
17,
87
] | 100 | [
"89-78=11",
"17*11=187",
"187-87=100"
] | Current State: 100:[89, 78, 17, 87], Operations: []
Exploring Operation: 89-78=11, Resulting Numbers: [17, 87, 11]
Generated Node #2: [17, 87, 11] from Operation: 89-78=11
Current State: 100:[17, 87, 11], Operations: ['89-78=11']
Exploring Operation: 17*11=187, Resulting Numbers: [87, 187]
Generated Node #3: [87, 187] from Operation: 17*11=187
Current State: 100:[87, 187], Operations: ['89-78=11', '17*11=187']
Exploring Operation: 187-87=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[89, 78, 17, 87], Operations: []
Exploring Operation: 87-78=9, Resulting Numbers: [89, 17, 9]
Generated Node #0,0: 100:[89, 17, 9] Operation: 87-78=9
Moving to Node #0,0
Current State: 100:[89, 17, 9], Operations: ['87-78=9']
Exploring Operation: 89+9=98, Resulting Numbers: [17, 98]
Generated Node #0,0,0: 100:[17, 98] Operation: 89+9=98
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[17, 98], Operations: ['87-78=9', '89+9=98']
Exploring Operation: 17+98=115, Resulting Numbers: [115]
115,100 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 |
[
16,
73,
96,
77
] | 19 | [
"16*96=1536",
"1536-73=1463",
"1463/77=19"
] | Current State: 19:[16, 73, 96, 77], Operations: []
Exploring Operation: 16*96=1536, Resulting Numbers: [73, 77, 1536]
Generated Node #2: [73, 77, 1536] from Operation: 16*96=1536
Current State: 19:[73, 77, 1536], Operations: ['16*96=1536']
Exploring Operation: 1536-73=1463, Resulting Numbers: [77, 1463]
Generated Node #3: [77, 1463] from Operation: 1536-73=1463
Current State: 19:[77, 1463], Operations: ['16*96=1536', '1536-73=1463']
Exploring Operation: 1463/77=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[16, 73, 96, 77], Operations: []
Exploring Operation: 96-73=23, Resulting Numbers: [16, 77, 23]
Generated Node #0,0: 19:[16, 77, 23] Operation: 96-73=23
Exploring Operation: 77-73=4, Resulting Numbers: [16, 96, 4]
Generated Node #0,1: 19:[16, 96, 4] Operation: 77-73=4
Exploring Operation: 96-77=19, Resulting Numbers: [16, 73, 19]
Generated Node #0,2: 19:[16, 73, 19] Operation: 96-77=19
Moving to Node #0,2
Current State: 19:[16, 73, 19], Operations: ['96-77=19']
Exploring Operation: 16+73=89, Resulting Numbers: [19, 89]
Generated Node #0,2,0: 19:[19, 89] Operation: 16+73=89
Exploring Operation: 73-19=54, Resulting Numbers: [16, 54]
Generated Node #0,2,1: 19:[16, 54] Operation: 73-19=54
Exploring Operation: 73-16=57, Resulting Numbers: [19, 57]
Generated Node #0,2,2: 19:[19, 57] Operation: 73-16=57
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[16, 54], Operations: ['96-77=19', '73-19=54']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 16+54=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 16*54=864, Resulting Numbers: [864]
864,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, 57], Operations: ['96-77=19', '73-16=57']
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 19+57=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,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:[19, 89], Operations: ['96-77=19', '16+73=89']
Exploring Operation: 19+89=108, Resulting Numbers: [108]
108,19 unequal: No Solution
Exploring Operation: 19*89=1691, Resulting Numbers: [1691]
1691,19 unequal: No Solution
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,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:[16, 77, 23], Operations: ['96-73=23']
Exploring Operation: 23-16=7, Resulting Numbers: [77, 7]
Generated Node #0,0,0: 19:[77, 7] Operation: 23-16=7
Exploring Operation: 77-23=54, Resulting Numbers: [16, 54]
Generated Node #0,0,1: 19:[16, 54] Operation: 77-23=54
Exploring Operation: 77-16=61, Resulting Numbers: [23, 61]
Generated Node #0,0,2: 19:[23, 61] Operation: 77-16=61
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[16, 54], Operations: ['96-73=23', '77-23=54']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 16+54=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 16*54=864, Resulting Numbers: [864]
864,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,2
Current State: 19:[23, 61], Operations: ['96-73=23', '77-16=61']
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 23+61=84, Resulting Numbers: [84]
84,19 unequal: No Solution
Exploring Operation: 23*61=1403, Resulting Numbers: [1403]
1403,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:[77, 7], Operations: ['96-73=23', '23-16=7']
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,19 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,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:[16, 96, 4], Operations: ['77-73=4']
Exploring Operation: 96/4=24, Resulting Numbers: [16, 24]
Generated Node #0,1,0: 19:[16, 24] Operation: 96/4=24
Exploring Operation: 96-16=80, Resulting Numbers: [4, 80]
Generated Node #0,1,1: 19:[4, 80] Operation: 96-16=80
Exploring Operation: 96/16=6, Resulting Numbers: [4, 6]
Generated Node #0,1,2: 19:[4, 6] Operation: 96/16=6
Moving to Node #0,1,0
Current State: 19:[16, 24], Operations: ['77-73=4', '96/4=24']
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[4, 6], Operations: ['77-73=4', '96/16=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[4, 80], Operations: ['77-73=4', '96-16=80']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,19 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
6,
1,
50,
22
] | 88 | [
"1+22=23",
"6*23=138",
"138-50=88"
] | Current State: 88:[6, 1, 50, 22], Operations: []
Exploring Operation: 1+22=23, Resulting Numbers: [6, 50, 23]
Generated Node #2: [6, 50, 23] from Operation: 1+22=23
Current State: 88:[6, 50, 23], Operations: ['1+22=23']
Exploring Operation: 6*23=138, Resulting Numbers: [50, 138]
Generated Node #3: [50, 138] from Operation: 6*23=138
Current State: 88:[50, 138], Operations: ['1+22=23', '6*23=138']
Exploring Operation: 138-50=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[6, 1, 50, 22], Operations: []
Exploring Operation: 50-6=44, Resulting Numbers: [1, 22, 44]
Generated Node #0,0: 88:[1, 22, 44] Operation: 50-6=44
Exploring Operation: 6+1=7, Resulting Numbers: [50, 22, 7]
Generated Node #0,1: 88:[50, 22, 7] Operation: 6+1=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[1, 22, 44], Operations: ['50-6=44']
Exploring Operation: 1*22=22, Resulting Numbers: [44, 22]
Generated Node #0,0,0: 88:[44, 22] Operation: 1*22=22
Exploring Operation: 22/1=22, Resulting Numbers: [44, 22]
Generated Node #0,0,1: 88:[44, 22] Operation: 22/1=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[44, 22], Operations: ['50-6=44', '1*22=22']
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[44, 22], Operations: ['50-6=44', '22/1=22']
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[50, 22, 7], Operations: ['6+1=7']
Exploring Operation: 50-7=43, Resulting Numbers: [22, 43]
Generated Node #0,1,0: 88:[22, 43] Operation: 50-7=43
Exploring Operation: 50-22=28, Resulting Numbers: [7, 28]
Generated Node #0,1,1: 88:[7, 28] Operation: 50-22=28
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[22, 43], Operations: ['6+1=7', '50-7=43']
Exploring Operation: 22+43=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[7, 28], Operations: ['6+1=7', '50-22=28']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
96,
19,
75,
90
] | 61 | [
"96*75=7200",
"7200/90=80",
"80-19=61"
] | Current State: 61:[96, 19, 75, 90], Operations: []
Exploring Operation: 96*75=7200, Resulting Numbers: [19, 90, 7200]
Generated Node #2: [19, 90, 7200] from Operation: 96*75=7200
Current State: 61:[19, 90, 7200], Operations: ['96*75=7200']
Exploring Operation: 7200/90=80, Resulting Numbers: [19, 80]
Generated Node #3: [19, 80] from Operation: 7200/90=80
Current State: 61:[19, 80], Operations: ['96*75=7200', '7200/90=80']
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[96, 19, 75, 90], Operations: []
Exploring Operation: 96-19=77, Resulting Numbers: [75, 90, 77]
Generated Node #0,0: 61:[75, 90, 77] Operation: 96-19=77
Exploring Operation: 96+19=115, Resulting Numbers: [75, 90, 115]
Generated Node #0,1: 61:[75, 90, 115] Operation: 96+19=115
Exploring Operation: 90-19=71, Resulting Numbers: [96, 75, 71]
Generated Node #0,2: 61:[96, 75, 71] Operation: 90-19=71
Exploring Operation: 75-19=56, Resulting Numbers: [96, 90, 56]
Generated Node #0,3: 61:[96, 90, 56] Operation: 75-19=56
Moving to Node #0,0
Current State: 61:[75, 90, 77], Operations: ['96-19=77']
Exploring Operation: 90-77=13, Resulting Numbers: [75, 13]
Generated Node #0,0,0: 61:[75, 13] Operation: 90-77=13
Exploring Operation: 75+90=165, Resulting Numbers: [77, 165]
Generated Node #0,0,1: 61:[77, 165] Operation: 75+90=165
Exploring Operation: 90-75=15, Resulting Numbers: [77, 15]
Generated Node #0,0,2: 61:[77, 15] Operation: 90-75=15
Exploring Operation: 77-75=2, Resulting Numbers: [90, 2]
Generated Node #0,0,3: 61:[90, 2] Operation: 77-75=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[75, 13], Operations: ['96-19=77', '90-77=13']
Exploring Operation: 75-13=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 75*13=975, Resulting Numbers: [975]
975,61 unequal: No Solution
Exploring Operation: 75+13=88, Resulting Numbers: [88]
88,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[77, 15], Operations: ['96-19=77', '90-75=15']
Exploring Operation: 77*15=1155, Resulting Numbers: [1155]
1155,61 unequal: No Solution
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 77+15=92, Resulting Numbers: [92]
92,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 61:[90, 2], Operations: ['96-19=77', '77-75=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,61 unequal: No Solution
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,61 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[77, 165], Operations: ['96-19=77', '75+90=165']
Exploring Operation: 77+165=242, Resulting Numbers: [242]
242,61 unequal: No Solution
Exploring Operation: 165-77=88, Resulting Numbers: [88]
88,61 unequal: No Solution
Exploring Operation: 77*165=12705, Resulting Numbers: [12705]
12705,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 61:[96, 75, 71], Operations: ['90-19=71']
Exploring Operation: 96+75=171, Resulting Numbers: [71, 171]
Generated Node #0,2,0: 61:[71, 171] Operation: 96+75=171
Exploring Operation: 96-75=21, Resulting Numbers: [71, 21]
Generated Node #0,2,1: 61:[71, 21] Operation: 96-75=21
Exploring Operation: 75-71=4, Resulting Numbers: [96, 4]
Generated Node #0,2,2: 61:[96, 4] Operation: 75-71=4
Exploring Operation: 96-71=25, Resulting Numbers: [75, 25]
Generated Node #0,2,3: 61:[75, 25] Operation: 96-71=25
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[71, 21], Operations: ['90-19=71', '96-75=21']
Exploring Operation: 71+21=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 71*21=1491, Resulting Numbers: [1491]
1491,61 unequal: No Solution
Exploring Operation: 71-21=50, Resulting Numbers: [50]
50,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 61:[75, 25], Operations: ['90-19=71', '96-71=25']
Exploring Operation: 75*25=1875, Resulting Numbers: [1875]
1875,61 unequal: No Solution
Exploring Operation: 75+25=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 75/25=3, Resulting Numbers: [3]
3,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[96, 4], Operations: ['90-19=71', '75-71=4']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 96*4=384, Resulting Numbers: [384]
384,61 unequal: No Solution
Exploring Operation: 96+4=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[71, 171], Operations: ['90-19=71', '96+75=171']
Exploring Operation: 171-71=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Exploring Operation: 71*171=12141, Resulting Numbers: [12141]
12141,61 unequal: No Solution
Exploring Operation: 71+171=242, Resulting Numbers: [242]
242,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 61:[96, 90, 56], Operations: ['75-19=56']
Exploring Operation: 96-56=40, Resulting Numbers: [90, 40]
Generated Node #0,3,0: 61:[90, 40] Operation: 96-56=40
Exploring Operation: 96+56=152, Resulting Numbers: [90, 152]
Generated Node #0,3,1: 61:[90, 152] Operation: 96+56=152
Exploring Operation: 90-56=34, Resulting Numbers: [96, 34]
Generated Node #0,3,2: 61:[96, 34] Operation: 90-56=34
Exploring Operation: 96-90=6, Resulting Numbers: [56, 6]
Generated Node #0,3,3: 61:[56, 6] Operation: 96-90=6
Moving to Node #0,1
Current State: 61:[75, 90, 115], Operations: ['96+19=115']
Exploring Operation: 90-75=15, Resulting Numbers: [115, 15]
Generated Node #0,1,0: 61:[115, 15] Operation: 90-75=15
Exploring Operation: 115-90=25, Resulting Numbers: [75, 25]
Generated Node #0,1,1: 61:[75, 25] Operation: 115-90=25
Exploring Operation: 115-75=40, Resulting Numbers: [90, 40]
Generated Node #0,1,2: 61:[90, 40] Operation: 115-75=40
Exploring Operation: 75+90=165, Resulting Numbers: [115, 165]
Generated Node #0,1,3: 61:[115, 165] Operation: 75+90=165
Moving to Node #0,3,0
Current State: 61:[90, 40], Operations: ['75-19=56', '96-56=40']
Exploring Operation: 90*40=3600, Resulting Numbers: [3600]
3600,61 unequal: No Solution
Exploring Operation: 90+40=130, Resulting Numbers: [130]
130,61 unequal: No Solution
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[90, 40], Operations: ['96+19=115', '115-75=40']
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 90*40=3600, Resulting Numbers: [3600]
3600,61 unequal: No Solution
Exploring Operation: 90+40=130, Resulting Numbers: [130]
130,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[75, 25], Operations: ['96+19=115', '115-90=25']
Exploring Operation: 75*25=1875, Resulting Numbers: [1875]
1875,61 unequal: No Solution
Exploring Operation: 75/25=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 75+25=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[56, 6], Operations: ['75-19=56', '96-90=6']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,61 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[96, 34], Operations: ['75-19=56', '90-56=34']
Exploring Operation: 96*34=3264, Resulting Numbers: [3264]
3264,61 unequal: No Solution
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 96+34=130, Resulting Numbers: [130]
130,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[115, 15], Operations: ['96+19=115', '90-75=15']
Exploring Operation: 115*15=1725, Resulting Numbers: [1725]
1725,61 unequal: No Solution
Exploring Operation: 115+15=130, Resulting Numbers: [130]
130,61 unequal: No Solution
Exploring Operation: 115-15=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[90, 152], Operations: ['75-19=56', '96+56=152']
Exploring Operation: 90*152=13680, Resulting Numbers: [13680]
13680,61 unequal: No Solution
Exploring Operation: 90+152=242, Resulting Numbers: [242]
242,61 unequal: No Solution
Exploring Operation: 152-90=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[115, 165], Operations: ['96+19=115', '75+90=165']
Exploring Operation: 115+165=280, Resulting Numbers: [280]
280,61 unequal: No Solution
Exploring Operation: 165-115=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 115*165=18975, Resulting Numbers: [18975]
18975,61 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
75,
7,
77,
2
] | 69 | [
"75+77=152",
"152/2=76",
"76-7=69"
] | Current State: 69:[75, 7, 77, 2], Operations: []
Exploring Operation: 75+77=152, Resulting Numbers: [7, 2, 152]
Generated Node #2: [7, 2, 152] from Operation: 75+77=152
Current State: 69:[7, 2, 152], Operations: ['75+77=152']
Exploring Operation: 152/2=76, Resulting Numbers: [7, 76]
Generated Node #3: [7, 76] from Operation: 152/2=76
Current State: 69:[7, 76], Operations: ['75+77=152', '152/2=76']
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[75, 7, 77, 2], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [7, 2, 2]
Generated Node #0,0: 69:[7, 2, 2] Operation: 77-75=2
Exploring Operation: 77-7=70, Resulting Numbers: [75, 2, 70]
Generated Node #0,1: 69:[75, 2, 70] Operation: 77-7=70
Exploring Operation: 77/7=11, Resulting Numbers: [75, 2, 11]
Generated Node #0,2: 69:[75, 2, 11] Operation: 77/7=11
Exploring Operation: 75-7=68, Resulting Numbers: [77, 2, 68]
Generated Node #0,3: 69:[77, 2, 68] Operation: 75-7=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[7, 2, 2], Operations: ['77-75=2']
Exploring Operation: 7-2=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 69:[2, 5] Operation: 7-2=5
Exploring Operation: 7-2=5, Resulting Numbers: [2, 5]
Generated Node #0,0,1: 69:[2, 5] Operation: 7-2=5
Exploring Operation: 2*2=4, Resulting Numbers: [7, 4]
Generated Node #0,0,2: 69:[7, 4] Operation: 2*2=4
Exploring Operation: 2+2=4, Resulting Numbers: [7, 4]
Generated Node #0,0,3: 69:[7, 4] Operation: 2+2=4
Moving to Node #0,0,0
Current State: 69:[2, 5], Operations: ['77-75=2', '7-2=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[2, 5], Operations: ['77-75=2', '7-2=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[7, 4], Operations: ['77-75=2', '2+2=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,69 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[7, 4], Operations: ['77-75=2', '2*2=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[75, 2, 70], Operations: ['77-7=70']
Exploring Operation: 70-2=68, Resulting Numbers: [75, 68]
Generated Node #0,1,0: 69:[75, 68] Operation: 70-2=68
Exploring Operation: 75-2=73, Resulting Numbers: [70, 73]
Generated Node #0,1,1: 69:[70, 73] Operation: 75-2=73
Exploring Operation: 75-70=5, Resulting Numbers: [2, 5]
Generated Node #0,1,2: 69:[2, 5] Operation: 75-70=5
Exploring Operation: 75+2=77, Resulting Numbers: [70, 77]
Generated Node #0,1,3: 69:[70, 77] Operation: 75+2=77
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 69:[2, 5], Operations: ['77-7=70', '75-70=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,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:[70, 73], Operations: ['77-7=70', '75-2=73']
Exploring Operation: 70+73=143, Resulting Numbers: [143]
143,69 unequal: No Solution
Exploring Operation: 73-70=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 70*73=5110, Resulting Numbers: [5110]
5110,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,0
Current State: 69:[75, 68], Operations: ['77-7=70', '70-2=68']
Exploring Operation: 75-68=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Exploring Operation: 75*68=5100, Resulting Numbers: [5100]
5100,69 unequal: No Solution
Exploring Operation: 75+68=143, Resulting Numbers: [143]
143,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:[70, 77], Operations: ['77-7=70', '75+2=77']
Exploring Operation: 70+77=147, Resulting Numbers: [147]
147,69 unequal: No Solution
Exploring Operation: 70*77=5390, Resulting Numbers: [5390]
5390,69 unequal: No Solution
Exploring Operation: 77-70=7, Resulting Numbers: [7]
7,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,3
Current State: 69:[77, 2, 68], Operations: ['75-7=68']
Exploring Operation: 77-68=9, Resulting Numbers: [2, 9]
Generated Node #0,3,0: 69:[2, 9] Operation: 77-68=9
Exploring Operation: 77+2=79, Resulting Numbers: [68, 79]
Generated Node #0,3,1: 69:[68, 79] Operation: 77+2=79
Exploring Operation: 2+68=70, Resulting Numbers: [77, 70]
Generated Node #0,3,2: 69:[77, 70] Operation: 2+68=70
Exploring Operation: 77-2=75, Resulting Numbers: [68, 75]
Generated Node #0,3,3: 69:[68, 75] Operation: 77-2=75
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 69:[2, 9], Operations: ['75-7=68', '77-68=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,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,3
Current State: 69:[68, 75], Operations: ['75-7=68', '77-2=75']
Exploring Operation: 68+75=143, Resulting Numbers: [143]
143,69 unequal: No Solution
Exploring Operation: 68*75=5100, Resulting Numbers: [5100]
5100,69 unequal: No Solution
Exploring Operation: 75-68=7, Resulting Numbers: [7]
7,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:[77, 70], Operations: ['75-7=68', '2+68=70']
Exploring Operation: 77+70=147, Resulting Numbers: [147]
147,69 unequal: No Solution
Exploring Operation: 77*70=5390, Resulting Numbers: [5390]
5390,69 unequal: No Solution
Exploring Operation: 77-70=7, Resulting Numbers: [7]
7,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:[68, 79], Operations: ['75-7=68', '77+2=79']
Exploring Operation: 68+79=147, Resulting Numbers: [147]
147,69 unequal: No Solution
Exploring Operation: 68*79=5372, Resulting Numbers: [5372]
5372,69 unequal: No Solution
Exploring Operation: 79-68=11, Resulting Numbers: [11]
11,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:[75, 2, 11], Operations: ['77/7=11']
Exploring Operation: 2*11=22, Resulting Numbers: [75, 22]
Generated Node #0,2,0: 69:[75, 22] Operation: 2*11=22
Exploring Operation: 75-2=73, Resulting Numbers: [11, 73]
Generated Node #0,2,1: 69:[11, 73] Operation: 75-2=73
Exploring Operation: 11-2=9, Resulting Numbers: [75, 9]
Generated Node #0,2,2: 69:[75, 9] Operation: 11-2=9
Exploring Operation: 75-11=64, Resulting Numbers: [2, 64]
Generated Node #0,2,3: 69:[2, 64] Operation: 75-11=64
Moving to Node #0,2,3
Current State: 69:[2, 64], Operations: ['77/7=11', '75-11=64']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,69 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[75, 22], Operations: ['77/7=11', '2*11=22']
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,69 unequal: No Solution
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,69 unequal: No Solution
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[75, 9], Operations: ['77/7=11', '11-2=9']
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,69 unequal: No Solution
Exploring Operation: 75*9=675, Resulting Numbers: [675]
675,69 unequal: No Solution
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[11, 73], Operations: ['77/7=11', '75-2=73']
Exploring Operation: 11*73=803, Resulting Numbers: [803]
803,69 unequal: No Solution
Exploring Operation: 11+73=84, Resulting Numbers: [84]
84,69 unequal: No Solution
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,69 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 |
[
9,
18,
94,
50
] | 53 | [
"18-9=9",
"94-50=44",
"9+44=53"
] | Current State: 53:[9, 18, 94, 50], Operations: []
Exploring Operation: 18-9=9, Resulting Numbers: [94, 50, 9]
Generated Node #2: [94, 50, 9] from Operation: 18-9=9
Current State: 53:[94, 50, 9], Operations: ['18-9=9']
Exploring Operation: 94-50=44, Resulting Numbers: [9, 44]
Generated Node #3: [9, 44] from Operation: 94-50=44
Current State: 53:[9, 44], Operations: ['18-9=9', '94-50=44']
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[9, 18, 94, 50], Operations: []
Exploring Operation: 94-9=85, Resulting Numbers: [18, 50, 85]
Generated Node #0,0: 53:[18, 50, 85] Operation: 94-9=85
Exploring Operation: 94-18=76, Resulting Numbers: [9, 50, 76]
Generated Node #0,1: 53:[9, 50, 76] Operation: 94-18=76
Exploring Operation: 9+18=27, Resulting Numbers: [94, 50, 27]
Generated Node #0,2: 53:[94, 50, 27] Operation: 9+18=27
Moving to Node #0,0
Current State: 53:[18, 50, 85], Operations: ['94-9=85']
Exploring Operation: 85-18=67, Resulting Numbers: [50, 67]
Generated Node #0,0,0: 53:[50, 67] Operation: 85-18=67
Exploring Operation: 50-18=32, Resulting Numbers: [85, 32]
Generated Node #0,0,1: 53:[85, 32] Operation: 50-18=32
Exploring Operation: 18+50=68, Resulting Numbers: [85, 68]
Generated Node #0,0,2: 53:[85, 68] Operation: 18+50=68
Moving to Node #0,1
Current State: 53:[9, 50, 76], Operations: ['94-18=76']
Exploring Operation: 9+50=59, Resulting Numbers: [76, 59]
Generated Node #0,1,0: 53:[76, 59] Operation: 9+50=59
Exploring Operation: 50-9=41, Resulting Numbers: [76, 41]
Generated Node #0,1,1: 53:[76, 41] Operation: 50-9=41
Exploring Operation: 76-9=67, Resulting Numbers: [50, 67]
Generated Node #0,1,2: 53:[50, 67] Operation: 76-9=67
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[50, 67], Operations: ['94-18=76', '76-9=67']
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 50*67=3350, Resulting Numbers: [3350]
3350,53 unequal: No Solution
Exploring Operation: 50+67=117, Resulting Numbers: [117]
117,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[76, 59], Operations: ['94-18=76', '9+50=59']
Exploring Operation: 76-59=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 76+59=135, Resulting Numbers: [135]
135,53 unequal: No Solution
Exploring Operation: 76*59=4484, Resulting Numbers: [4484]
4484,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[76, 41], Operations: ['94-18=76', '50-9=41']
Exploring Operation: 76+41=117, Resulting Numbers: [117]
117,53 unequal: No Solution
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 76*41=3116, Resulting Numbers: [3116]
3116,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 53:[94, 50, 27], Operations: ['9+18=27']
Exploring Operation: 94-50=44, Resulting Numbers: [27, 44]
Generated Node #0,2,0: 53:[27, 44] Operation: 94-50=44
Exploring Operation: 50+27=77, Resulting Numbers: [94, 77]
Generated Node #0,2,1: 53:[94, 77] Operation: 50+27=77
Exploring Operation: 94-27=67, Resulting Numbers: [50, 67]
Generated Node #0,2,2: 53:[50, 67] Operation: 94-27=67
Moving to Node #0,0,0
Current State: 53:[50, 67], Operations: ['94-9=85', '85-18=67']
Exploring Operation: 50*67=3350, Resulting Numbers: [3350]
3350,53 unequal: No Solution
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 50+67=117, Resulting Numbers: [117]
117,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[50, 67], Operations: ['9+18=27', '94-27=67']
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 50+67=117, Resulting Numbers: [117]
117,53 unequal: No Solution
Exploring Operation: 50*67=3350, Resulting Numbers: [3350]
3350,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[27, 44], Operations: ['9+18=27', '94-50=44']
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,53 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[85, 68], Operations: ['94-9=85', '18+50=68']
Exploring Operation: 85*68=5780, Resulting Numbers: [5780]
5780,53 unequal: No Solution
Exploring Operation: 85-68=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 85+68=153, Resulting Numbers: [153]
153,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[85, 32], Operations: ['94-9=85', '50-18=32']
Exploring Operation: 85+32=117, Resulting Numbers: [117]
117,53 unequal: No Solution
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[9, 18, 94, 50], Operations: []
Exploring Operation: 94-9=85, Resulting Numbers: [18, 50, 85]
Generated Node #0,0: 53:[18, 50, 85] Operation: 94-9=85
Moving to Node #0,0
Current State: 53:[18, 50, 85], Operations: ['94-9=85']
Exploring Operation: 50-18=32, Resulting Numbers: [85, 32]
Generated Node #0,0,1: 53:[85, 32] Operation: 50-18=32
Moving to Node #0,0,1
Current State: 53:[85, 32], Operations: ['94-9=85', '50-18=32']
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.966146 | hs_3 | mult_heuristic |
[
81,
48,
71,
68
] | 99 | [
"81-48=33",
"71-68=3",
"33*3=99"
] | Current State: 99:[81, 48, 71, 68], Operations: []
Exploring Operation: 81-48=33, Resulting Numbers: [71, 68, 33]
Generated Node #2: [71, 68, 33] from Operation: 81-48=33
Current State: 99:[71, 68, 33], Operations: ['81-48=33']
Exploring Operation: 71-68=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 71-68=3
Current State: 99:[33, 3], Operations: ['81-48=33', '71-68=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[81, 48, 71, 68], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [81, 48, 3]
Generated Node #0,0: 99:[81, 48, 3] Operation: 71-68=3
Exploring Operation: 81-68=13, Resulting Numbers: [48, 71, 13]
Generated Node #0,1: 99:[48, 71, 13] Operation: 81-68=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[81, 48, 3], Operations: ['71-68=3']
Exploring Operation: 81/3=27, Resulting Numbers: [48, 27]
Generated Node #0,0,0: 99:[48, 27] Operation: 81/3=27
Exploring Operation: 81-48=33, Resulting Numbers: [3, 33]
Generated Node #0,0,1: 99:[3, 33] Operation: 81-48=33
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[3, 33], Operations: ['71-68=3', '81-48=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[81, 48, 71, 68], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [81, 48, 3]
Generated Node #0,0: 99:[81, 48, 3] Operation: 71-68=3
Moving to Node #0,0
Current State: 99:[81, 48, 3], Operations: ['71-68=3']
Exploring Operation: 81-48=33, Resulting Numbers: [3, 33]
Generated Node #0,0,1: 99:[3, 33] Operation: 81-48=33
Moving to Node #0,0,1
Current State: 99:[3, 33], Operations: ['71-68=3', '81-48=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
99,
93,
6,
39
] | 38 | [
"99-93=6",
"6/6=1",
"39-1=38"
] | Current State: 38:[99, 93, 6, 39], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [6, 39, 6]
Generated Node #2: [6, 39, 6] from Operation: 99-93=6
Current State: 38:[6, 39, 6], Operations: ['99-93=6']
Exploring Operation: 6/6=1, Resulting Numbers: [39, 1]
Generated Node #3: [39, 1] from Operation: 6/6=1
Current State: 38:[39, 1], Operations: ['99-93=6', '6/6=1']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[99, 93, 6, 39], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [6, 39, 6]
Generated Node #0,0: 38:[6, 39, 6] Operation: 99-93=6
Exploring Operation: 93-39=54, Resulting Numbers: [99, 6, 54]
Generated Node #0,1: 38:[99, 6, 54] Operation: 93-39=54
Exploring Operation: 99-39=60, Resulting Numbers: [93, 6, 60]
Generated Node #0,2: 38:[93, 6, 60] Operation: 99-39=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[6, 39, 6], Operations: ['99-93=6']
Exploring Operation: 6/6=1, Resulting Numbers: [39, 1]
Generated Node #0,0,0: 38:[39, 1] Operation: 6/6=1
Exploring Operation: 6*6=36, Resulting Numbers: [39, 36]
Generated Node #0,0,1: 38:[39, 36] Operation: 6*6=36
Exploring Operation: 6-6=0, Resulting Numbers: [39, 0]
Generated Node #0,0,2: 38:[39, 0] Operation: 6-6=0
Moving to Node #0,0,0
Current State: 38:[39, 1], Operations: ['99-93=6', '6/6=1']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[99, 93, 6, 39], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [6, 39, 6]
Generated Node #0,0: 38:[6, 39, 6] Operation: 99-93=6
Moving to Node #0,0
Current State: 38:[6, 39, 6], Operations: ['99-93=6']
Exploring Operation: 6/6=1, Resulting Numbers: [39, 1]
Generated Node #0,0,0: 38:[39, 1] Operation: 6/6=1
Moving to Node #0,0,0
Current State: 38:[39, 1], Operations: ['99-93=6', '6/6=1']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
50,
43,
98,
3
] | 42 | [
"50-43=7",
"98*3=294",
"294/7=42"
] | Current State: 42:[50, 43, 98, 3], Operations: []
Exploring Operation: 50-43=7, Resulting Numbers: [98, 3, 7]
Generated Node #2: [98, 3, 7] from Operation: 50-43=7
Current State: 42:[98, 3, 7], Operations: ['50-43=7']
Exploring Operation: 98*3=294, Resulting Numbers: [7, 294]
Generated Node #3: [7, 294] from Operation: 98*3=294
Current State: 42:[7, 294], Operations: ['50-43=7', '98*3=294']
Exploring Operation: 294/7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[50, 43, 98, 3], Operations: []
Exploring Operation: 98-43=55, Resulting Numbers: [50, 3, 55]
Generated Node #0,0: 42:[50, 3, 55] Operation: 98-43=55
Exploring Operation: 98-50=48, Resulting Numbers: [43, 3, 48]
Generated Node #0,1: 42:[43, 3, 48] Operation: 98-50=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[43, 3, 48], Operations: ['98-50=48']
Exploring Operation: 48-43=5, Resulting Numbers: [3, 5]
Generated Node #0,1,0: 42:[3, 5] Operation: 48-43=5
Exploring Operation: 48/3=16, Resulting Numbers: [43, 16]
Generated Node #0,1,1: 42:[43, 16] Operation: 48/3=16
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[3, 5], Operations: ['98-50=48', '48-43=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[43, 16], Operations: ['98-50=48', '48/3=16']
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[50, 3, 55], Operations: ['98-43=55']
Exploring Operation: 50-3=47, Resulting Numbers: [55, 47]
Generated Node #0,0,0: 42:[55, 47] Operation: 50-3=47
Exploring Operation: 55-50=5, Resulting Numbers: [3, 5]
Generated Node #0,0,1: 42:[3, 5] Operation: 55-50=5
Moving to Node #0,0,1
Current State: 42:[3, 5], Operations: ['98-43=55', '55-50=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[55, 47], Operations: ['98-43=55', '50-3=47']
Exploring Operation: 55+47=102, Resulting Numbers: [102]
102,42 unequal: No Solution
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
4,
5,
26,
34
] | 49 | [
"5*34=170",
"26+170=196",
"196/4=49"
] | Current State: 49:[4, 5, 26, 34], Operations: []
Exploring Operation: 5*34=170, Resulting Numbers: [4, 26, 170]
Generated Node #2: [4, 26, 170] from Operation: 5*34=170
Current State: 49:[4, 26, 170], Operations: ['5*34=170']
Exploring Operation: 26+170=196, Resulting Numbers: [4, 196]
Generated Node #3: [4, 196] from Operation: 26+170=196
Current State: 49:[4, 196], Operations: ['5*34=170', '26+170=196']
Exploring Operation: 196/4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[4, 5, 26, 34], Operations: []
Exploring Operation: 34-26=8, Resulting Numbers: [4, 5, 8]
Generated Node #0,0: 49:[4, 5, 8] Operation: 34-26=8
Exploring Operation: 26+34=60, Resulting Numbers: [4, 5, 60]
Generated Node #0,1: 49:[4, 5, 60] Operation: 26+34=60
Moving to Node #0,0
Current State: 49:[4, 5, 8], Operations: ['34-26=8']
Exploring Operation: 4+5=9, Resulting Numbers: [8, 9]
Generated Node #0,0,0: 49:[8, 9] Operation: 4+5=9
Exploring Operation: 8-4=4, Resulting Numbers: [5, 4]
Generated Node #0,0,1: 49:[5, 4] Operation: 8-4=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[8, 9], Operations: ['34-26=8', '4+5=9']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,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:[5, 4], Operations: ['34-26=8', '8-4=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,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:[4, 5, 60], Operations: ['26+34=60']
Exploring Operation: 60-4=56, Resulting Numbers: [5, 56]
Generated Node #0,1,0: 49:[5, 56] Operation: 60-4=56
Exploring Operation: 60/5=12, Resulting Numbers: [4, 12]
Generated Node #0,1,1: 49:[4, 12] Operation: 60/5=12
Moving to Node #0,1,1
Current State: 49:[4, 12], Operations: ['26+34=60', '60/5=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[5, 56], Operations: ['26+34=60', '60-4=56']
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,49 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
76,
72,
40,
75
] | 59 | [
"72*75=5400",
"5400/40=135",
"135-76=59"
] | Current State: 59:[76, 72, 40, 75], Operations: []
Exploring Operation: 72*75=5400, Resulting Numbers: [76, 40, 5400]
Generated Node #2: [76, 40, 5400] from Operation: 72*75=5400
Current State: 59:[76, 40, 5400], Operations: ['72*75=5400']
Exploring Operation: 5400/40=135, Resulting Numbers: [76, 135]
Generated Node #3: [76, 135] from Operation: 5400/40=135
Current State: 59:[76, 135], Operations: ['72*75=5400', '5400/40=135']
Exploring Operation: 135-76=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[76, 72, 40, 75], Operations: []
Exploring Operation: 76-40=36, Resulting Numbers: [72, 75, 36]
Generated Node #0,0: 59:[72, 75, 36] Operation: 76-40=36
Exploring Operation: 75-40=35, Resulting Numbers: [76, 72, 35]
Generated Node #0,1: 59:[76, 72, 35] Operation: 75-40=35
Exploring Operation: 72-40=32, Resulting Numbers: [76, 75, 32]
Generated Node #0,2: 59:[76, 75, 32] Operation: 72-40=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[72, 75, 36], Operations: ['76-40=36']
Exploring Operation: 75-36=39, Resulting Numbers: [72, 39]
Generated Node #0,0,0: 59:[72, 39] Operation: 75-36=39
Exploring Operation: 72-36=36, Resulting Numbers: [75, 36]
Generated Node #0,0,1: 59:[75, 36] Operation: 72-36=36
Exploring Operation: 72+36=108, Resulting Numbers: [75, 108]
Generated Node #0,0,2: 59:[75, 108] Operation: 72+36=108
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[72, 39], Operations: ['76-40=36', '75-36=39']
Exploring Operation: 72*39=2808, Resulting Numbers: [2808]
2808,59 unequal: No Solution
Exploring Operation: 72+39=111, Resulting Numbers: [111]
111,59 unequal: No Solution
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[75, 36], Operations: ['76-40=36', '72-36=36']
Exploring Operation: 75+36=111, Resulting Numbers: [111]
111,59 unequal: No Solution
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 75*36=2700, Resulting Numbers: [2700]
2700,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[75, 108], Operations: ['76-40=36', '72+36=108']
Exploring Operation: 75+108=183, Resulting Numbers: [183]
183,59 unequal: No Solution
Exploring Operation: 75*108=8100, Resulting Numbers: [8100]
8100,59 unequal: No Solution
Exploring Operation: 108-75=33, Resulting Numbers: [33]
33,59 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: 59:[76, 72, 35], Operations: ['75-40=35']
Exploring Operation: 72-35=37, Resulting Numbers: [76, 37]
Generated Node #0,1,0: 59:[76, 37] Operation: 72-35=37
Exploring Operation: 76+35=111, Resulting Numbers: [72, 111]
Generated Node #0,1,1: 59:[72, 111] Operation: 76+35=111
Exploring Operation: 76-35=41, Resulting Numbers: [72, 41]
Generated Node #0,1,2: 59:[72, 41] Operation: 76-35=41
Moving to Node #0,1,2
Current State: 59:[72, 41], Operations: ['75-40=35', '76-35=41']
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,59 unequal: No Solution
Exploring Operation: 72*41=2952, Resulting Numbers: [2952]
2952,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[76, 37], Operations: ['75-40=35', '72-35=37']
Exploring Operation: 76+37=113, Resulting Numbers: [113]
113,59 unequal: No Solution
Exploring Operation: 76*37=2812, Resulting Numbers: [2812]
2812,59 unequal: No Solution
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[72, 111], Operations: ['75-40=35', '76+35=111']
Exploring Operation: 111-72=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 72*111=7992, Resulting Numbers: [7992]
7992,59 unequal: No Solution
Exploring Operation: 72+111=183, Resulting Numbers: [183]
183,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,2
Current State: 59:[76, 75, 32], Operations: ['72-40=32']
Exploring Operation: 76+32=108, Resulting Numbers: [75, 108]
Generated Node #0,2,0: 59:[75, 108] Operation: 76+32=108
Exploring Operation: 75-32=43, Resulting Numbers: [76, 43]
Generated Node #0,2,1: 59:[76, 43] Operation: 75-32=43
Exploring Operation: 76-32=44, Resulting Numbers: [75, 44]
Generated Node #0,2,2: 59:[75, 44] Operation: 76-32=44
Moving to Node #0,2,2
Current State: 59:[75, 44], Operations: ['72-40=32', '76-32=44']
Exploring Operation: 75-44=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 75+44=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Exploring Operation: 75*44=3300, Resulting Numbers: [3300]
3300,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[76, 43], Operations: ['72-40=32', '75-32=43']
Exploring Operation: 76-43=33, Resulting Numbers: [33]
33,59 unequal: No Solution
Exploring Operation: 76+43=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Exploring Operation: 76*43=3268, Resulting Numbers: [3268]
3268,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[75, 108], Operations: ['72-40=32', '76+32=108']
Exploring Operation: 108-75=33, Resulting Numbers: [33]
33,59 unequal: No Solution
Exploring Operation: 75+108=183, Resulting Numbers: [183]
183,59 unequal: No Solution
Exploring Operation: 75*108=8100, Resulting Numbers: [8100]
8100,59 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 |
[
7,
24,
43,
82
] | 51 | [
"43-24=19",
"7*19=133",
"133-82=51"
] | Current State: 51:[7, 24, 43, 82], Operations: []
Exploring Operation: 43-24=19, Resulting Numbers: [7, 82, 19]
Generated Node #2: [7, 82, 19] from Operation: 43-24=19
Current State: 51:[7, 82, 19], Operations: ['43-24=19']
Exploring Operation: 7*19=133, Resulting Numbers: [82, 133]
Generated Node #3: [82, 133] from Operation: 7*19=133
Current State: 51:[82, 133], Operations: ['43-24=19', '7*19=133']
Exploring Operation: 133-82=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[7, 24, 43, 82], Operations: []
Exploring Operation: 82-24=58, Resulting Numbers: [7, 43, 58]
Generated Node #0,0: 51:[7, 43, 58] Operation: 82-24=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[7, 43, 58], Operations: ['82-24=58']
Exploring Operation: 58-43=15, Resulting Numbers: [7, 15]
Generated Node #0,0,0: 51:[7, 15] Operation: 58-43=15
Moving to Node #0,0,0
Current State: 51:[7, 15], Operations: ['82-24=58', '58-43=15']
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,51 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 |
[
68,
49,
30,
56
] | 67 | [
"68-49=19",
"30+56=86",
"86-19=67"
] | Current State: 67:[68, 49, 30, 56], Operations: []
Exploring Operation: 68-49=19, Resulting Numbers: [30, 56, 19]
Generated Node #2: [30, 56, 19] from Operation: 68-49=19
Current State: 67:[30, 56, 19], Operations: ['68-49=19']
Exploring Operation: 30+56=86, Resulting Numbers: [19, 86]
Generated Node #3: [19, 86] from Operation: 30+56=86
Current State: 67:[19, 86], Operations: ['68-49=19', '30+56=86']
Exploring Operation: 86-19=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[68, 49, 30, 56], Operations: []
Exploring Operation: 68-30=38, Resulting Numbers: [49, 56, 38]
Generated Node #0,0: 67:[49, 56, 38] Operation: 68-30=38
Exploring Operation: 30+56=86, Resulting Numbers: [68, 49, 86]
Generated Node #0,1: 67:[68, 49, 86] Operation: 30+56=86
Exploring Operation: 49+30=79, Resulting Numbers: [68, 56, 79]
Generated Node #0,2: 67:[68, 56, 79] Operation: 49+30=79
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[68, 56, 79], Operations: ['49+30=79']
Exploring Operation: 68-56=12, Resulting Numbers: [79, 12]
Generated Node #0,2,0: 67:[79, 12] Operation: 68-56=12
Exploring Operation: 79-68=11, Resulting Numbers: [56, 11]
Generated Node #0,2,1: 67:[56, 11] Operation: 79-68=11
Exploring Operation: 79-56=23, Resulting Numbers: [68, 23]
Generated Node #0,2,2: 67:[68, 23] Operation: 79-56=23
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[68, 23], Operations: ['49+30=79', '79-56=23']
Exploring Operation: 68*23=1564, Resulting Numbers: [1564]
1564,67 unequal: No Solution
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,67 unequal: No Solution
Exploring Operation: 68+23=91, Resulting Numbers: [91]
91,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[79, 12], Operations: ['49+30=79', '68-56=12']
Exploring Operation: 79+12=91, Resulting Numbers: [91]
91,67 unequal: No Solution
Exploring Operation: 79*12=948, Resulting Numbers: [948]
948,67 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[68, 49, 30, 56], Operations: []
Exploring Operation: 49+30=79, Resulting Numbers: [68, 56, 79]
Generated Node #0,2: 67:[68, 56, 79] Operation: 49+30=79
Moving to Node #0,2
Current State: 67:[68, 56, 79], Operations: ['49+30=79']
Exploring Operation: 68-56=12, Resulting Numbers: [79, 12]
Generated Node #0,2,0: 67:[79, 12] Operation: 68-56=12
Moving to Node #0,2,0
Current State: 67:[79, 12], Operations: ['49+30=79', '68-56=12']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
25,
49,
71,
93
] | 23 | [
"49+93=142",
"142/71=2",
"25-2=23"
] | Current State: 23:[25, 49, 71, 93], Operations: []
Exploring Operation: 49+93=142, Resulting Numbers: [25, 71, 142]
Generated Node #2: [25, 71, 142] from Operation: 49+93=142
Current State: 23:[25, 71, 142], Operations: ['49+93=142']
Exploring Operation: 142/71=2, Resulting Numbers: [25, 2]
Generated Node #3: [25, 2] from Operation: 142/71=2
Current State: 23:[25, 2], Operations: ['49+93=142', '142/71=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[25, 49, 71, 93], Operations: []
Exploring Operation: 93-49=44, Resulting Numbers: [25, 71, 44]
Generated Node #0,0: 23:[25, 71, 44] Operation: 93-49=44
Exploring Operation: 93-71=22, Resulting Numbers: [25, 49, 22]
Generated Node #0,1: 23:[25, 49, 22] Operation: 93-71=22
Exploring Operation: 71-49=22, Resulting Numbers: [25, 93, 22]
Generated Node #0,2: 23:[25, 93, 22] Operation: 71-49=22
Exploring Operation: 49-25=24, Resulting Numbers: [71, 93, 24]
Generated Node #0,3: 23:[71, 93, 24] Operation: 49-25=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[25, 49, 22], Operations: ['93-71=22']
Exploring Operation: 25+22=47, Resulting Numbers: [49, 47]
Generated Node #0,1,0: 23:[49, 47] Operation: 25+22=47
Exploring Operation: 49-22=27, Resulting Numbers: [25, 27]
Generated Node #0,1,1: 23:[25, 27] Operation: 49-22=27
Exploring Operation: 25-22=3, Resulting Numbers: [49, 3]
Generated Node #0,1,2: 23:[49, 3] Operation: 25-22=3
Exploring Operation: 49-25=24, Resulting Numbers: [22, 24]
Generated Node #0,1,3: 23:[22, 24] Operation: 49-25=24
Moving to Node #0,1,3
Current State: 23:[22, 24], Operations: ['93-71=22', '49-25=24']
Exploring Operation: 22*24=528, Resulting Numbers: [528]
528,23 unequal: No Solution
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[25, 27], Operations: ['93-71=22', '49-22=27']
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,23 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[49, 3], Operations: ['93-71=22', '25-22=3']
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,23 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,23 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[49, 47], Operations: ['93-71=22', '25+22=47']
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 49*47=2303, Resulting Numbers: [2303]
2303,23 unequal: No Solution
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[25, 71, 44], Operations: ['93-49=44']
Exploring Operation: 25+71=96, Resulting Numbers: [44, 96]
Generated Node #0,0,0: 23:[44, 96] Operation: 25+71=96
Exploring Operation: 44-25=19, Resulting Numbers: [71, 19]
Generated Node #0,0,1: 23:[71, 19] Operation: 44-25=19
Exploring Operation: 71-44=27, Resulting Numbers: [25, 27]
Generated Node #0,0,2: 23:[25, 27] Operation: 71-44=27
Exploring Operation: 71-25=46, Resulting Numbers: [44, 46]
Generated Node #0,0,3: 23:[44, 46] Operation: 71-25=46
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[25, 27], Operations: ['93-49=44', '71-44=27']
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,23 unequal: No Solution
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,23 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,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,3
Current State: 23:[44, 46], Operations: ['93-49=44', '71-25=46']
Exploring Operation: 44+46=90, Resulting Numbers: [90]
90,23 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 44*46=2024, Resulting Numbers: [2024]
2024,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:[71, 19], Operations: ['93-49=44', '44-25=19']
Exploring Operation: 71*19=1349, Resulting Numbers: [1349]
1349,23 unequal: No Solution
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,23 unequal: No Solution
Exploring Operation: 71+19=90, Resulting Numbers: [90]
90,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,0
Current State: 23:[44, 96], Operations: ['93-49=44', '25+71=96']
Exploring Operation: 44+96=140, Resulting Numbers: [140]
140,23 unequal: No Solution
Exploring Operation: 44*96=4224, Resulting Numbers: [4224]
4224,23 unequal: No Solution
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,23 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: 23:[25, 93, 22], Operations: ['71-49=22']
Exploring Operation: 25+22=47, Resulting Numbers: [93, 47]
Generated Node #0,2,0: 23:[93, 47] Operation: 25+22=47
Exploring Operation: 25-22=3, Resulting Numbers: [93, 3]
Generated Node #0,2,1: 23:[93, 3] Operation: 25-22=3
Exploring Operation: 93-25=68, Resulting Numbers: [22, 68]
Generated Node #0,2,2: 23:[22, 68] Operation: 93-25=68
Exploring Operation: 93-22=71, Resulting Numbers: [25, 71]
Generated Node #0,2,3: 23:[25, 71] Operation: 93-22=71
Moving to Node #0,2,2
Current State: 23:[22, 68], Operations: ['71-49=22', '93-25=68']
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 22+68=90, Resulting Numbers: [90]
90,23 unequal: No Solution
Exploring Operation: 22*68=1496, Resulting Numbers: [1496]
1496,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[25, 71], Operations: ['71-49=22', '93-22=71']
Exploring Operation: 25+71=96, Resulting Numbers: [96]
96,23 unequal: No Solution
Exploring Operation: 25*71=1775, Resulting Numbers: [1775]
1775,23 unequal: No Solution
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[93, 3], Operations: ['71-49=22', '25-22=3']
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,23 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,23 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[93, 47], Operations: ['71-49=22', '25+22=47']
Exploring Operation: 93*47=4371, Resulting Numbers: [4371]
4371,23 unequal: No Solution
Exploring Operation: 93+47=140, Resulting Numbers: [140]
140,23 unequal: No Solution
Exploring Operation: 93-47=46, Resulting Numbers: [46]
46,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[71, 93, 24], Operations: ['49-25=24']
Exploring Operation: 93-71=22, Resulting Numbers: [24, 22]
Generated Node #0,3,0: 23:[24, 22] Operation: 93-71=22
Exploring Operation: 93-24=69, Resulting Numbers: [71, 69]
Generated Node #0,3,1: 23:[71, 69] Operation: 93-24=69
Exploring Operation: 71-24=47, Resulting Numbers: [93, 47]
Generated Node #0,3,2: 23:[93, 47] Operation: 71-24=47
Exploring Operation: 71+93=164, Resulting Numbers: [24, 164]
Generated Node #0,3,3: 23:[24, 164] Operation: 71+93=164
Moving to Node #0,3,0
Current State: 23:[24, 22], Operations: ['49-25=24', '93-71=22']
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 24*22=528, Resulting Numbers: [528]
528,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[93, 47], Operations: ['49-25=24', '71-24=47']
Exploring Operation: 93-47=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 93+47=140, Resulting Numbers: [140]
140,23 unequal: No Solution
Exploring Operation: 93*47=4371, Resulting Numbers: [4371]
4371,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[71, 69], Operations: ['49-25=24', '93-24=69']
Exploring Operation: 71+69=140, Resulting Numbers: [140]
140,23 unequal: No Solution
Exploring Operation: 71-69=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 71*69=4899, Resulting Numbers: [4899]
4899,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[24, 164], Operations: ['49-25=24', '71+93=164']
Exploring Operation: 164-24=140, Resulting Numbers: [140]
140,23 unequal: No Solution
Exploring Operation: 24*164=3936, Resulting Numbers: [3936]
3936,23 unequal: No Solution
Exploring Operation: 24+164=188, Resulting Numbers: [188]
188,23 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 |
[
29,
56,
95,
44
] | 78 | [
"56-29=27",
"95-44=51",
"27+51=78"
] | Current State: 78:[29, 56, 95, 44], Operations: []
Exploring Operation: 56-29=27, Resulting Numbers: [95, 44, 27]
Generated Node #2: [95, 44, 27] from Operation: 56-29=27
Current State: 78:[95, 44, 27], Operations: ['56-29=27']
Exploring Operation: 95-44=51, Resulting Numbers: [27, 51]
Generated Node #3: [27, 51] from Operation: 95-44=51
Current State: 78:[27, 51], Operations: ['56-29=27', '95-44=51']
Exploring Operation: 27+51=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[29, 56, 95, 44], Operations: []
Exploring Operation: 56-44=12, Resulting Numbers: [29, 95, 12]
Generated Node #0,0: 78:[29, 95, 12] Operation: 56-44=12
Exploring Operation: 95-56=39, Resulting Numbers: [29, 44, 39]
Generated Node #0,1: 78:[29, 44, 39] Operation: 95-56=39
Exploring Operation: 56-29=27, Resulting Numbers: [95, 44, 27]
Generated Node #0,2: 78:[95, 44, 27] Operation: 56-29=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[29, 44, 39], Operations: ['95-56=39']
Exploring Operation: 44-29=15, Resulting Numbers: [39, 15]
Generated Node #0,1,0: 78:[39, 15] Operation: 44-29=15
Exploring Operation: 29+44=73, Resulting Numbers: [39, 73]
Generated Node #0,1,1: 78:[39, 73] Operation: 29+44=73
Exploring Operation: 44-39=5, Resulting Numbers: [29, 5]
Generated Node #0,1,2: 78:[29, 5] Operation: 44-39=5
Moving to Node #0,1,0
Current State: 78:[39, 15], Operations: ['95-56=39', '44-29=15']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Exploring Operation: 39*15=585, Resulting Numbers: [585]
585,78 unequal: No Solution
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[29, 5], Operations: ['95-56=39', '44-39=5']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[39, 73], Operations: ['95-56=39', '29+44=73']
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 39+73=112, Resulting Numbers: [112]
112,78 unequal: No Solution
Exploring Operation: 39*73=2847, Resulting Numbers: [2847]
2847,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,0
Current State: 78:[29, 95, 12], Operations: ['56-44=12']
Exploring Operation: 29+12=41, Resulting Numbers: [95, 41]
Generated Node #0,0,0: 78:[95, 41] Operation: 29+12=41
Exploring Operation: 95-12=83, Resulting Numbers: [29, 83]
Generated Node #0,0,1: 78:[29, 83] Operation: 95-12=83
Exploring Operation: 95-29=66, Resulting Numbers: [12, 66]
Generated Node #0,0,2: 78:[12, 66] Operation: 95-29=66
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[29, 83], Operations: ['56-44=12', '95-12=83']
Exploring Operation: 29*83=2407, Resulting Numbers: [2407]
2407,78 unequal: No Solution
Exploring Operation: 29+83=112, Resulting Numbers: [112]
112,78 unequal: No Solution
Exploring Operation: 83-29=54, Resulting Numbers: [54]
54,78 unequal: No Solution
No 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: 78:[12, 66], Operations: ['56-44=12', '95-29=66']
Exploring Operation: 12+66=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[29, 56, 95, 44], Operations: []
Exploring Operation: 56-44=12, Resulting Numbers: [29, 95, 12]
Generated Node #0,0: 78:[29, 95, 12] Operation: 56-44=12
Moving to Node #0,0
Current State: 78:[29, 95, 12], Operations: ['56-44=12']
Exploring Operation: 95-29=66, Resulting Numbers: [12, 66]
Generated Node #0,0,2: 78:[12, 66] Operation: 95-29=66
Moving to Node #0,0,2
Current State: 78:[12, 66], Operations: ['56-44=12', '95-29=66']
Exploring Operation: 12+66=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
32,
55,
60,
50
] | 100 | [
"55-50=5",
"32*5=160",
"160-60=100"
] | Current State: 100:[32, 55, 60, 50], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [32, 60, 5]
Generated Node #2: [32, 60, 5] from Operation: 55-50=5
Current State: 100:[32, 60, 5], Operations: ['55-50=5']
Exploring Operation: 32*5=160, Resulting Numbers: [60, 160]
Generated Node #3: [60, 160] from Operation: 32*5=160
Current State: 100:[60, 160], Operations: ['55-50=5', '32*5=160']
Exploring Operation: 160-60=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[32, 55, 60, 50], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [32, 50, 5]
Generated Node #0,0: 100:[32, 50, 5] Operation: 60-55=5
Moving to Node #0,0
Current State: 100:[32, 50, 5], Operations: ['60-55=5']
Exploring Operation: 50-32=18, Resulting Numbers: [5, 18]
Generated Node #0,0,0: 100:[5, 18] Operation: 50-32=18
Moving to Node #0,0,0
Current State: 100:[5, 18], Operations: ['60-55=5', '50-32=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,100 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
40,
33,
44,
11
] | 77 | [
"40+33=73",
"44/11=4",
"73+4=77"
] | Current State: 77:[40, 33, 44, 11], Operations: []
Exploring Operation: 40+33=73, Resulting Numbers: [44, 11, 73]
Generated Node #2: [44, 11, 73] from Operation: 40+33=73
Current State: 77:[44, 11, 73], Operations: ['40+33=73']
Exploring Operation: 44/11=4, Resulting Numbers: [73, 4]
Generated Node #3: [73, 4] from Operation: 44/11=4
Current State: 77:[73, 4], Operations: ['40+33=73', '44/11=4']
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[40, 33, 44, 11], Operations: []
Exploring Operation: 33+44=77, Resulting Numbers: [40, 11, 77]
Generated Node #0,0: 77:[40, 11, 77] Operation: 33+44=77
Exploring Operation: 40+44=84, Resulting Numbers: [33, 11, 84]
Generated Node #0,1: 77:[33, 11, 84] Operation: 40+44=84
Exploring Operation: 44-40=4, Resulting Numbers: [33, 11, 4]
Generated Node #0,2: 77:[33, 11, 4] Operation: 44-40=4
Moving to Node #0,2
Current State: 77:[33, 11, 4], Operations: ['44-40=4']
Exploring Operation: 33-11=22, Resulting Numbers: [4, 22]
Generated Node #0,2,0: 77:[4, 22] Operation: 33-11=22
Exploring Operation: 33-4=29, Resulting Numbers: [11, 29]
Generated Node #0,2,1: 77:[11, 29] Operation: 33-4=29
Exploring Operation: 33/11=3, Resulting Numbers: [4, 3]
Generated Node #0,2,2: 77:[4, 3] Operation: 33/11=3
Moving to Node #0,0
Current State: 77:[40, 11, 77], Operations: ['33+44=77']
Exploring Operation: 40-11=29, Resulting Numbers: [77, 29]
Generated Node #0,0,0: 77:[77, 29] Operation: 40-11=29
Exploring Operation: 40+11=51, Resulting Numbers: [77, 51]
Generated Node #0,0,1: 77:[77, 51] Operation: 40+11=51
Exploring Operation: 77-40=37, Resulting Numbers: [11, 37]
Generated Node #0,0,2: 77:[11, 37] Operation: 77-40=37
Moving to Node #0,1
Current State: 77:[33, 11, 84], Operations: ['40+44=84']
Exploring Operation: 84-33=51, Resulting Numbers: [11, 51]
Generated Node #0,1,0: 77:[11, 51] Operation: 84-33=51
Exploring Operation: 33-11=22, Resulting Numbers: [84, 22]
Generated Node #0,1,1: 77:[84, 22] Operation: 33-11=22
Exploring Operation: 33/11=3, Resulting Numbers: [84, 3]
Generated Node #0,1,2: 77:[84, 3] Operation: 33/11=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 77:[84, 3], Operations: ['40+44=84', '33/11=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,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:[84, 22], Operations: ['40+44=84', '33-11=22']
Exploring Operation: 84+22=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Exploring Operation: 84*22=1848, Resulting Numbers: [1848]
1848,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[11, 51], Operations: ['40+44=84', '84-33=51']
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,77 unequal: No Solution
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Exploring Operation: 11*51=561, Resulting Numbers: [561]
561,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 77:[4, 3], Operations: ['44-40=4', '33/11=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[4, 22], Operations: ['44-40=4', '33-11=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[11, 29], Operations: ['44-40=4', '33-4=29']
Exploring Operation: 11*29=319, Resulting Numbers: [319]
319,77 unequal: No Solution
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,77 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[77, 29], Operations: ['33+44=77', '40-11=29']
Exploring Operation: 77*29=2233, Resulting Numbers: [2233]
2233,77 unequal: No Solution
Exploring Operation: 77+29=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[11, 37], Operations: ['33+44=77', '77-40=37']
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 11*37=407, Resulting Numbers: [407]
407,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[77, 51], Operations: ['33+44=77', '40+11=51']
Exploring Operation: 77*51=3927, Resulting Numbers: [3927]
3927,77 unequal: No Solution
Exploring Operation: 77+51=128, Resulting Numbers: [128]
128,77 unequal: No Solution
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,77 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
16,
39,
44,
94
] | 83 | [
"16+39=55",
"44+94=138",
"138-55=83"
] | Current State: 83:[16, 39, 44, 94], Operations: []
Exploring Operation: 16+39=55, Resulting Numbers: [44, 94, 55]
Generated Node #2: [44, 94, 55] from Operation: 16+39=55
Current State: 83:[44, 94, 55], Operations: ['16+39=55']
Exploring Operation: 44+94=138, Resulting Numbers: [55, 138]
Generated Node #3: [55, 138] from Operation: 44+94=138
Current State: 83:[55, 138], Operations: ['16+39=55', '44+94=138']
Exploring Operation: 138-55=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[16, 39, 44, 94], Operations: []
Exploring Operation: 16+44=60, Resulting Numbers: [39, 94, 60]
Generated Node #0,0: 83:[39, 94, 60] Operation: 16+44=60
Exploring Operation: 39-16=23, Resulting Numbers: [44, 94, 23]
Generated Node #0,1: 83:[44, 94, 23] Operation: 39-16=23
Exploring Operation: 39+44=83, Resulting Numbers: [16, 94, 83]
Generated Node #0,2: 83:[16, 94, 83] Operation: 39+44=83
Exploring Operation: 16+39=55, Resulting Numbers: [44, 94, 55]
Generated Node #0,3: 83:[44, 94, 55] Operation: 16+39=55
Exploring Operation: 94-16=78, Resulting Numbers: [39, 44, 78]
Generated Node #0,4: 83:[39, 44, 78] Operation: 94-16=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[39, 94, 60], Operations: ['16+44=60']
Exploring Operation: 94-60=34, Resulting Numbers: [39, 34]
Generated Node #0,0,0: 83:[39, 34] Operation: 94-60=34
Exploring Operation: 39+60=99, Resulting Numbers: [94, 99]
Generated Node #0,0,1: 83:[94, 99] Operation: 39+60=99
Exploring Operation: 94-39=55, Resulting Numbers: [60, 55]
Generated Node #0,0,2: 83:[60, 55] Operation: 94-39=55
Exploring Operation: 60-39=21, Resulting Numbers: [94, 21]
Generated Node #0,0,3: 83:[94, 21] Operation: 60-39=21
Exploring Operation: 39+94=133, Resulting Numbers: [60, 133]
Generated Node #0,0,4: 83:[60, 133] Operation: 39+94=133
Moving to Node #0,0,1
Current State: 83:[94, 99], Operations: ['16+44=60', '39+60=99']
Exploring Operation: 99-94=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 94+99=193, Resulting Numbers: [193]
193,83 unequal: No Solution
Exploring Operation: 94*99=9306, Resulting Numbers: [9306]
9306,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[60, 55], Operations: ['16+44=60', '94-39=55']
Exploring Operation: 60-55=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 60*55=3300, Resulting Numbers: [3300]
3300,83 unequal: No Solution
Exploring Operation: 60+55=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[94, 21], Operations: ['16+44=60', '60-39=21']
Exploring Operation: 94*21=1974, Resulting Numbers: [1974]
1974,83 unequal: No Solution
Exploring Operation: 94+21=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,83 unequal: No Solution
Moving to Node #0,0,4
Current State: 83:[60, 133], Operations: ['16+44=60', '39+94=133']
Exploring Operation: 60*133=7980, Resulting Numbers: [7980]
7980,83 unequal: No Solution
Exploring Operation: 133-60=73, Resulting Numbers: [73]
73,83 unequal: No Solution
Exploring Operation: 60+133=193, Resulting Numbers: [193]
193,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[39, 34], Operations: ['16+44=60', '94-60=34']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,83 unequal: No Solution
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[16, 94, 83], Operations: ['39+44=83']
Exploring Operation: 94-16=78, Resulting Numbers: [83, 78]
Generated Node #0,2,0: 83:[83, 78] Operation: 94-16=78
Exploring Operation: 16+83=99, Resulting Numbers: [94, 99]
Generated Node #0,2,1: 83:[94, 99] Operation: 16+83=99
Exploring Operation: 94-83=11, Resulting Numbers: [16, 11]
Generated Node #0,2,2: 83:[16, 11] Operation: 94-83=11
Exploring Operation: 16+94=110, Resulting Numbers: [83, 110]
Generated Node #0,2,3: 83:[83, 110] Operation: 16+94=110
Exploring Operation: 83-16=67, Resulting Numbers: [94, 67]
Generated Node #0,2,4: 83:[94, 67] Operation: 83-16=67
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[83, 78], Operations: ['39+44=83', '94-16=78']
Exploring Operation: 83+78=161, Resulting Numbers: [161]
161,83 unequal: No Solution
Exploring Operation: 83-78=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 83*78=6474, Resulting Numbers: [6474]
6474,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[94, 99], Operations: ['39+44=83', '16+83=99']
Exploring Operation: 99-94=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 94*99=9306, Resulting Numbers: [9306]
9306,83 unequal: No Solution
Exploring Operation: 94+99=193, Resulting Numbers: [193]
193,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 83:[83, 110], Operations: ['39+44=83', '16+94=110']
Exploring Operation: 83*110=9130, Resulting Numbers: [9130]
9130,83 unequal: No Solution
Exploring Operation: 83+110=193, Resulting Numbers: [193]
193,83 unequal: No Solution
Exploring Operation: 110-83=27, Resulting Numbers: [27]
27,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 83:[94, 67], Operations: ['39+44=83', '83-16=67']
Exploring Operation: 94*67=6298, Resulting Numbers: [6298]
6298,83 unequal: No Solution
Exploring Operation: 94-67=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 94+67=161, Resulting Numbers: [161]
161,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[16, 11], Operations: ['39+44=83', '94-83=11']
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,83 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[44, 94, 55], Operations: ['16+39=55']
Exploring Operation: 44+94=138, Resulting Numbers: [55, 138]
Generated Node #0,3,0: 83:[55, 138] Operation: 44+94=138
Exploring Operation: 94-55=39, Resulting Numbers: [44, 39]
Generated Node #0,3,1: 83:[44, 39] Operation: 94-55=39
Exploring Operation: 44+55=99, Resulting Numbers: [94, 99]
Generated Node #0,3,2: 83:[94, 99] Operation: 44+55=99
Exploring Operation: 55-44=11, Resulting Numbers: [94, 11]
Generated Node #0,3,3: 83:[94, 11] Operation: 55-44=11
Exploring Operation: 94-44=50, Resulting Numbers: [55, 50]
Generated Node #0,3,4: 83:[55, 50] Operation: 94-44=50
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 83:[94, 99], Operations: ['16+39=55', '44+55=99']
Exploring Operation: 94*99=9306, Resulting Numbers: [9306]
9306,83 unequal: No Solution
Exploring Operation: 94+99=193, Resulting Numbers: [193]
193,83 unequal: No Solution
Exploring Operation: 99-94=5, Resulting Numbers: [5]
5,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 83:[55, 50], Operations: ['16+39=55', '94-44=50']
Exploring Operation: 55*50=2750, Resulting Numbers: [2750]
2750,83 unequal: No Solution
Exploring Operation: 55+50=105, Resulting Numbers: [105]
105,83 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 83:[55, 138], Operations: ['16+39=55', '44+94=138']
Exploring Operation: 55*138=7590, Resulting Numbers: [7590]
7590,83 unequal: No Solution
Exploring Operation: 138-55=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[16, 39, 44, 94], Operations: []
Exploring Operation: 16+39=55, Resulting Numbers: [44, 94, 55]
Generated Node #0,3: 83:[44, 94, 55] Operation: 16+39=55
Moving to Node #0,3
Current State: 83:[44, 94, 55], Operations: ['16+39=55']
Exploring Operation: 44+94=138, Resulting Numbers: [55, 138]
Generated Node #0,3,0: 83:[55, 138] Operation: 44+94=138
Moving to Node #0,3,0
Current State: 83:[55, 138], Operations: ['16+39=55', '44+94=138']
Exploring Operation: 138-55=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.946181 | hs_5 | mult_heuristic |
[
33,
45,
3,
23
] | 11 | [
"33/3=11",
"45-23=22",
"22-11=11"
] | Current State: 11:[33, 45, 3, 23], Operations: []
Exploring Operation: 33/3=11, Resulting Numbers: [45, 23, 11]
Generated Node #2: [45, 23, 11] from Operation: 33/3=11
Current State: 11:[45, 23, 11], Operations: ['33/3=11']
Exploring Operation: 45-23=22, Resulting Numbers: [11, 22]
Generated Node #3: [11, 22] from Operation: 45-23=22
Current State: 11:[11, 22], Operations: ['33/3=11', '45-23=22']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[33, 45, 3, 23], Operations: []
Exploring Operation: 45/3=15, Resulting Numbers: [33, 23, 15]
Generated Node #0,0: 11:[33, 23, 15] Operation: 45/3=15
Exploring Operation: 45-23=22, Resulting Numbers: [33, 3, 22]
Generated Node #0,1: 11:[33, 3, 22] Operation: 45-23=22
Exploring Operation: 45-33=12, Resulting Numbers: [3, 23, 12]
Generated Node #0,2: 11:[3, 23, 12] Operation: 45-33=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[3, 23, 12], Operations: ['45-33=12']
Exploring Operation: 12-3=9, Resulting Numbers: [23, 9]
Generated Node #0,2,0: 11:[23, 9] Operation: 12-3=9
Exploring Operation: 23-12=11, Resulting Numbers: [3, 11]
Generated Node #0,2,1: 11:[3, 11] Operation: 23-12=11
Exploring Operation: 23-3=20, Resulting Numbers: [12, 20]
Generated Node #0,2,2: 11:[12, 20] Operation: 23-3=20
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 11:[3, 11], Operations: ['45-33=12', '23-12=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,11 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,11 unequal: No Solution
No 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: 11:[12, 20], Operations: ['45-33=12', '23-3=20']
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,11 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,11 unequal: No Solution
No 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: 11:[23, 9], Operations: ['45-33=12', '12-3=9']
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,11 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,11 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: 11:[33, 23, 15], Operations: ['45/3=15']
Exploring Operation: 23-15=8, Resulting Numbers: [33, 8]
Generated Node #0,0,0: 11:[33, 8] Operation: 23-15=8
Exploring Operation: 33-23=10, Resulting Numbers: [15, 10]
Generated Node #0,0,1: 11:[15, 10] Operation: 33-23=10
Exploring Operation: 33-15=18, Resulting Numbers: [23, 18]
Generated Node #0,0,2: 11:[23, 18] Operation: 33-15=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[15, 10], Operations: ['45/3=15', '33-23=10']
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,11 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,11 unequal: No Solution
No 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: 11:[23, 18], Operations: ['45/3=15', '33-15=18']
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,11 unequal: No Solution
No 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: 11:[33, 8], Operations: ['45/3=15', '23-15=8']
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,11 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: 11:[33, 3, 22], Operations: ['45-23=22']
Exploring Operation: 33-22=11, Resulting Numbers: [3, 11]
Generated Node #0,1,0: 11:[3, 11] Operation: 33-22=11
Exploring Operation: 33-3=30, Resulting Numbers: [22, 30]
Generated Node #0,1,1: 11:[22, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [22, 11]
Generated Node #0,1,2: 11:[22, 11] Operation: 33/3=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[3, 11], Operations: ['45-23=22', '33-22=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,11 unequal: No Solution
No 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: 11:[22, 11], Operations: ['45-23=22', '33/3=11']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[33, 45, 3, 23], Operations: []
Exploring Operation: 45-23=22, Resulting Numbers: [33, 3, 22]
Generated Node #0,1: 11:[33, 3, 22] Operation: 45-23=22
Moving to Node #0,1
Current State: 11:[33, 3, 22], Operations: ['45-23=22']
Exploring Operation: 33/3=11, Resulting Numbers: [22, 11]
Generated Node #0,1,2: 11:[22, 11] Operation: 33/3=11
Moving to Node #0,1,2
Current State: 11:[22, 11], Operations: ['45-23=22', '33/3=11']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_3 | sum_heuristic |
[
63,
66,
51,
14
] | 63 | [
"66-51=15",
"15-14=1",
"63*1=63"
] | Current State: 63:[63, 66, 51, 14], Operations: []
Exploring Operation: 66-51=15, Resulting Numbers: [63, 14, 15]
Generated Node #2: [63, 14, 15] from Operation: 66-51=15
Current State: 63:[63, 14, 15], Operations: ['66-51=15']
Exploring Operation: 15-14=1, Resulting Numbers: [63, 1]
Generated Node #3: [63, 1] from Operation: 15-14=1
Current State: 63:[63, 1], Operations: ['66-51=15', '15-14=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[63, 66, 51, 14], Operations: []
Exploring Operation: 51+14=65, Resulting Numbers: [63, 66, 65]
Generated Node #0,0: 63:[63, 66, 65] Operation: 51+14=65
Exploring Operation: 63-51=12, Resulting Numbers: [66, 14, 12]
Generated Node #0,1: 63:[66, 14, 12] Operation: 63-51=12
Exploring Operation: 66-51=15, Resulting Numbers: [63, 14, 15]
Generated Node #0,2: 63:[63, 14, 15] Operation: 66-51=15
Moving to Node #0,0
Current State: 63:[63, 66, 65], Operations: ['51+14=65']
Exploring Operation: 65-63=2, Resulting Numbers: [66, 2]
Generated Node #0,0,0: 63:[66, 2] Operation: 65-63=2
Exploring Operation: 66-65=1, Resulting Numbers: [63, 1]
Generated Node #0,0,1: 63:[63, 1] Operation: 66-65=1
Exploring Operation: 66-63=3, Resulting Numbers: [65, 3]
Generated Node #0,0,2: 63:[65, 3] Operation: 66-63=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[63, 1], Operations: ['51+14=65', '66-65=1']
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[63, 66, 51, 14], Operations: []
Exploring Operation: 51+14=65, Resulting Numbers: [63, 66, 65]
Generated Node #0,0: 63:[63, 66, 65] Operation: 51+14=65
Moving to Node #0,0
Current State: 63:[63, 66, 65], Operations: ['51+14=65']
Exploring Operation: 66-65=1, Resulting Numbers: [63, 1]
Generated Node #0,0,1: 63:[63, 1] Operation: 66-65=1
Moving to Node #0,0,1
Current State: 63:[63, 1], Operations: ['51+14=65', '66-65=1']
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
10,
40,
79,
33
] | 60 | [
"79-40=39",
"39-33=6",
"10*6=60"
] | Current State: 60:[10, 40, 79, 33], Operations: []
Exploring Operation: 79-40=39, Resulting Numbers: [10, 33, 39]
Generated Node #2: [10, 33, 39] from Operation: 79-40=39
Current State: 60:[10, 33, 39], Operations: ['79-40=39']
Exploring Operation: 39-33=6, Resulting Numbers: [10, 6]
Generated Node #3: [10, 6] from Operation: 39-33=6
Current State: 60:[10, 6], Operations: ['79-40=39', '39-33=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[10, 40, 79, 33], Operations: []
Exploring Operation: 79-40=39, Resulting Numbers: [10, 33, 39]
Generated Node #0,0: 60:[10, 33, 39] Operation: 79-40=39
Exploring Operation: 40-10=30, Resulting Numbers: [79, 33, 30]
Generated Node #0,1: 60:[79, 33, 30] Operation: 40-10=30
Exploring Operation: 40-33=7, Resulting Numbers: [10, 79, 7]
Generated Node #0,2: 60:[10, 79, 7] Operation: 40-33=7
Exploring Operation: 40/10=4, Resulting Numbers: [79, 33, 4]
Generated Node #0,3: 60:[79, 33, 4] Operation: 40/10=4
Moving to Node #0,0
Current State: 60:[10, 33, 39], Operations: ['79-40=39']
Exploring Operation: 39-10=29, Resulting Numbers: [33, 29]
Generated Node #0,0,0: 60:[33, 29] Operation: 39-10=29
Exploring Operation: 33-10=23, Resulting Numbers: [39, 23]
Generated Node #0,0,1: 60:[39, 23] Operation: 33-10=23
Exploring Operation: 39-33=6, Resulting Numbers: [10, 6]
Generated Node #0,0,2: 60:[10, 6] Operation: 39-33=6
Exploring Operation: 33+39=72, Resulting Numbers: [10, 72]
Generated Node #0,0,3: 60:[10, 72] Operation: 33+39=72
Moving to Node #0,2
Current State: 60:[10, 79, 7], Operations: ['40-33=7']
Exploring Operation: 10+7=17, Resulting Numbers: [79, 17]
Generated Node #0,2,0: 60:[79, 17] Operation: 10+7=17
Exploring Operation: 10-7=3, Resulting Numbers: [79, 3]
Generated Node #0,2,1: 60:[79, 3] Operation: 10-7=3
Exploring Operation: 79-10=69, Resulting Numbers: [7, 69]
Generated Node #0,2,2: 60:[7, 69] Operation: 79-10=69
Exploring Operation: 79-7=72, Resulting Numbers: [10, 72]
Generated Node #0,2,3: 60:[10, 72] Operation: 79-7=72
Moving to Node #0,3
Current State: 60:[79, 33, 4], Operations: ['40/10=4']
Exploring Operation: 79+4=83, Resulting Numbers: [33, 83]
Generated Node #0,3,0: 60:[33, 83] Operation: 79+4=83
Exploring Operation: 79-33=46, Resulting Numbers: [4, 46]
Generated Node #0,3,1: 60:[4, 46] Operation: 79-33=46
Exploring Operation: 33-4=29, Resulting Numbers: [79, 29]
Generated Node #0,3,2: 60:[79, 29] Operation: 33-4=29
Exploring Operation: 79-4=75, Resulting Numbers: [33, 75]
Generated Node #0,3,3: 60:[33, 75] Operation: 79-4=75
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 60:[4, 46], Operations: ['40/10=4', '79-33=46']
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,60 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 60:[33, 75], Operations: ['40/10=4', '79-4=75']
Exploring Operation: 33+75=108, Resulting Numbers: [108]
108,60 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 33*75=2475, Resulting Numbers: [2475]
2475,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 60:[79, 29], Operations: ['40/10=4', '33-4=29']
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,60 unequal: No Solution
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 60:[33, 83], Operations: ['40/10=4', '79+4=83']
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 33*83=2739, Resulting Numbers: [2739]
2739,60 unequal: No Solution
Exploring Operation: 33+83=116, Resulting Numbers: [116]
116,60 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: 60:[79, 33, 30], Operations: ['40-10=30']
Exploring Operation: 79-33=46, Resulting Numbers: [30, 46]
Generated Node #0,1,0: 60:[30, 46] Operation: 79-33=46
Exploring Operation: 33+30=63, Resulting Numbers: [79, 63]
Generated Node #0,1,1: 60:[79, 63] Operation: 33+30=63
Exploring Operation: 33-30=3, Resulting Numbers: [79, 3]
Generated Node #0,1,2: 60:[79, 3] Operation: 33-30=3
Exploring Operation: 79-30=49, Resulting Numbers: [33, 49]
Generated Node #0,1,3: 60:[33, 49] Operation: 79-30=49
Moving to Node #0,0,2
Current State: 60:[10, 6], Operations: ['79-40=39', '39-33=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[10, 40, 79, 33], Operations: []
Exploring Operation: 79-40=39, Resulting Numbers: [10, 33, 39]
Generated Node #0,0: 60:[10, 33, 39] Operation: 79-40=39
Moving to Node #0,0
Current State: 60:[10, 33, 39], Operations: ['79-40=39']
Exploring Operation: 39-33=6, Resulting Numbers: [10, 6]
Generated Node #0,0,2: 60:[10, 6] Operation: 39-33=6
Moving to Node #0,0,2
Current State: 60:[10, 6], Operations: ['79-40=39', '39-33=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.967014 | hs_4 | mult_heuristic |
[
49,
74,
94,
22
] | 91 | [
"74-49=25",
"94+22=116",
"116-25=91"
] | Current State: 91:[49, 74, 94, 22], Operations: []
Exploring Operation: 74-49=25, Resulting Numbers: [94, 22, 25]
Generated Node #2: [94, 22, 25] from Operation: 74-49=25
Current State: 91:[94, 22, 25], Operations: ['74-49=25']
Exploring Operation: 94+22=116, Resulting Numbers: [25, 116]
Generated Node #3: [25, 116] from Operation: 94+22=116
Current State: 91:[25, 116], Operations: ['74-49=25', '94+22=116']
Exploring Operation: 116-25=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[49, 74, 94, 22], Operations: []
Exploring Operation: 49-22=27, Resulting Numbers: [74, 94, 27]
Generated Node #0,0: 91:[74, 94, 27] Operation: 49-22=27
Exploring Operation: 74-49=25, Resulting Numbers: [94, 22, 25]
Generated Node #0,1: 91:[94, 22, 25] Operation: 74-49=25
Exploring Operation: 49+74=123, Resulting Numbers: [94, 22, 123]
Generated Node #0,2: 91:[94, 22, 123] Operation: 49+74=123
Exploring Operation: 74+22=96, Resulting Numbers: [49, 94, 96]
Generated Node #0,3: 91:[49, 94, 96] Operation: 74+22=96
Exploring Operation: 49+22=71, Resulting Numbers: [74, 94, 71]
Generated Node #0,4: 91:[74, 94, 71] Operation: 49+22=71
Moving to Node #0,1
Current State: 91:[94, 22, 25], Operations: ['74-49=25']
Exploring Operation: 94+22=116, Resulting Numbers: [25, 116]
Generated Node #0,1,0: 91:[25, 116] Operation: 94+22=116
Exploring Operation: 25-22=3, Resulting Numbers: [94, 3]
Generated Node #0,1,1: 91:[94, 3] Operation: 25-22=3
Exploring Operation: 94-22=72, Resulting Numbers: [25, 72]
Generated Node #0,1,2: 91:[25, 72] Operation: 94-22=72
Exploring Operation: 94+25=119, Resulting Numbers: [22, 119]
Generated Node #0,1,3: 91:[22, 119] Operation: 94+25=119
Exploring Operation: 94-25=69, Resulting Numbers: [22, 69]
Generated Node #0,1,4: 91:[22, 69] Operation: 94-25=69
Moving to Node #0,0
Current State: 91:[74, 94, 27], Operations: ['49-22=27']
Exploring Operation: 94-27=67, Resulting Numbers: [74, 67]
Generated Node #0,0,0: 91:[74, 67] Operation: 94-27=67
Exploring Operation: 94-74=20, Resulting Numbers: [27, 20]
Generated Node #0,0,1: 91:[27, 20] Operation: 94-74=20
Exploring Operation: 74-27=47, Resulting Numbers: [94, 47]
Generated Node #0,0,2: 91:[94, 47] Operation: 74-27=47
Exploring Operation: 94+27=121, Resulting Numbers: [74, 121]
Generated Node #0,0,3: 91:[74, 121] Operation: 94+27=121
Exploring Operation: 74+27=101, Resulting Numbers: [94, 101]
Generated Node #0,0,4: 91:[94, 101] Operation: 74+27=101
Moving to Node #0,4
Current State: 91:[74, 94, 71], Operations: ['49+22=71']
Exploring Operation: 94+71=165, Resulting Numbers: [74, 165]
Generated Node #0,4,0: 91:[74, 165] Operation: 94+71=165
Exploring Operation: 74-71=3, Resulting Numbers: [94, 3]
Generated Node #0,4,1: 91:[94, 3] Operation: 74-71=3
Exploring Operation: 94-74=20, Resulting Numbers: [71, 20]
Generated Node #0,4,2: 91:[71, 20] Operation: 94-74=20
Exploring Operation: 74+71=145, Resulting Numbers: [94, 145]
Generated Node #0,4,3: 91:[94, 145] Operation: 74+71=145
Exploring Operation: 94-71=23, Resulting Numbers: [74, 23]
Generated Node #0,4,4: 91:[74, 23] Operation: 94-71=23
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 91:[94, 3], Operations: ['49+22=71', '74-71=3']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[49, 74, 94, 22], Operations: []
Exploring Operation: 49+22=71, Resulting Numbers: [74, 94, 71]
Generated Node #0,4: 91:[74, 94, 71] Operation: 49+22=71
Moving to Node #0,4
Current State: 91:[74, 94, 71], Operations: ['49+22=71']
Exploring Operation: 74-71=3, Resulting Numbers: [94, 3]
Generated Node #0,4,1: 91:[94, 3] Operation: 74-71=3
Moving to Node #0,4,1
Current State: 91:[94, 3], Operations: ['49+22=71', '74-71=3']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
52,
52,
84,
82
] | 84 | [
"52-52=0",
"82*0=0",
"84+0=84"
] | Current State: 84:[52, 52, 84, 82], Operations: []
Exploring Operation: 52-52=0, Resulting Numbers: [84, 82, 0]
Generated Node #2: [84, 82, 0] from Operation: 52-52=0
Current State: 84:[84, 82, 0], Operations: ['52-52=0']
Exploring Operation: 82*0=0, Resulting Numbers: [84, 0]
Generated Node #3: [84, 0] from Operation: 82*0=0
Current State: 84:[84, 0], Operations: ['52-52=0', '82*0=0']
Exploring Operation: 84+0=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[52, 52, 84, 82], Operations: []
Exploring Operation: 52/52=1, Resulting Numbers: [84, 82, 1]
Generated Node #0,0: 84:[84, 82, 1] Operation: 52/52=1
Exploring Operation: 52-52=0, Resulting Numbers: [84, 82, 0]
Generated Node #0,1: 84:[84, 82, 0] Operation: 52-52=0
Exploring Operation: 82-52=30, Resulting Numbers: [52, 84, 30]
Generated Node #0,2: 84:[52, 84, 30] Operation: 82-52=30
Exploring Operation: 84-52=32, Resulting Numbers: [52, 82, 32]
Generated Node #0,3: 84:[52, 82, 32] Operation: 84-52=32
Exploring Operation: 82-52=30, Resulting Numbers: [52, 84, 30]
Generated Node #0,4: 84:[52, 84, 30] Operation: 82-52=30
Moving to Node #0,0
Current State: 84:[84, 82, 1], Operations: ['52/52=1']
Exploring Operation: 82+1=83, Resulting Numbers: [84, 83]
Generated Node #0,0,0: 84:[84, 83] Operation: 82+1=83
Exploring Operation: 82*1=82, Resulting Numbers: [84, 82]
Generated Node #0,0,1: 84:[84, 82] Operation: 82*1=82
Exploring Operation: 84-82=2, Resulting Numbers: [1, 2]
Generated Node #0,0,2: 84:[1, 2] Operation: 84-82=2
Exploring Operation: 84/1=84, Resulting Numbers: [82, 84]
Generated Node #0,0,3: 84:[82, 84] Operation: 84/1=84
Exploring Operation: 84*1=84, Resulting Numbers: [82, 84]
Generated Node #0,0,4: 84:[82, 84] Operation: 84*1=84
Moving to Node #0,1
Current State: 84:[84, 82, 0], Operations: ['52-52=0']
Exploring Operation: 84-82=2, Resulting Numbers: [0, 2]
Generated Node #0,1,0: 84:[0, 2] Operation: 84-82=2
Exploring Operation: 82+0=82, Resulting Numbers: [84, 82]
Generated Node #0,1,1: 84:[84, 82] Operation: 82+0=82
Exploring Operation: 84-0=84, Resulting Numbers: [82, 84]
Generated Node #0,1,2: 84:[82, 84] Operation: 84-0=84
Exploring Operation: 82*0=0, Resulting Numbers: [84, 0]
Generated Node #0,1,3: 84:[84, 0] Operation: 82*0=0
Exploring Operation: 84+0=84, Resulting Numbers: [82, 84]
Generated Node #0,1,4: 84:[82, 84] Operation: 84+0=84
Moving to Node #0,2
Current State: 84:[52, 84, 30], Operations: ['82-52=30']
Exploring Operation: 84-52=32, Resulting Numbers: [30, 32]
Generated Node #0,2,0: 84:[30, 32] Operation: 84-52=32
Exploring Operation: 84-30=54, Resulting Numbers: [52, 54]
Generated Node #0,2,1: 84:[52, 54] Operation: 84-30=54
Exploring Operation: 52+30=82, Resulting Numbers: [84, 82]
Generated Node #0,2,2: 84:[84, 82] Operation: 52+30=82
Exploring Operation: 84+30=114, Resulting Numbers: [52, 114]
Generated Node #0,2,3: 84:[52, 114] Operation: 84+30=114
Exploring Operation: 52-30=22, Resulting Numbers: [84, 22]
Generated Node #0,2,4: 84:[84, 22] Operation: 52-30=22
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 84:[84, 22], Operations: ['82-52=30', '52-30=22']
Exploring Operation: 84+22=106, Resulting Numbers: [106]
106,84 unequal: No Solution
Exploring Operation: 84*22=1848, Resulting Numbers: [1848]
1848,84 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[84, 82], Operations: ['82-52=30', '52+30=82']
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 84+82=166, Resulting Numbers: [166]
166,84 unequal: No Solution
Exploring Operation: 84*82=6888, Resulting Numbers: [6888]
6888,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[30, 32], Operations: ['82-52=30', '84-52=32']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,84 unequal: No Solution
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[52, 54], Operations: ['82-52=30', '84-30=54']
Exploring Operation: 52+54=106, Resulting Numbers: [106]
106,84 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 52*54=2808, Resulting Numbers: [2808]
2808,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 84:[52, 114], Operations: ['82-52=30', '84+30=114']
Exploring Operation: 114-52=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 52+114=166, Resulting Numbers: [166]
166,84 unequal: No Solution
Exploring Operation: 52*114=5928, Resulting Numbers: [5928]
5928,84 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: 84:[52, 84, 30], Operations: ['82-52=30']
Exploring Operation: 84-52=32, Resulting Numbers: [30, 32]
Generated Node #0,4,0: 84:[30, 32] Operation: 84-52=32
Exploring Operation: 84-30=54, Resulting Numbers: [52, 54]
Generated Node #0,4,1: 84:[52, 54] Operation: 84-30=54
Exploring Operation: 52+30=82, Resulting Numbers: [84, 82]
Generated Node #0,4,2: 84:[84, 82] Operation: 52+30=82
Exploring Operation: 52-30=22, Resulting Numbers: [84, 22]
Generated Node #0,4,3: 84:[84, 22] Operation: 52-30=22
Exploring Operation: 84+30=114, Resulting Numbers: [52, 114]
Generated Node #0,4,4: 84:[52, 114] Operation: 84+30=114
Moving to Node #0,3
Current State: 84:[52, 82, 32], Operations: ['84-52=32']
Exploring Operation: 82-52=30, Resulting Numbers: [32, 30]
Generated Node #0,3,0: 84:[32, 30] Operation: 82-52=30
Exploring Operation: 82+32=114, Resulting Numbers: [52, 114]
Generated Node #0,3,1: 84:[52, 114] Operation: 82+32=114
Exploring Operation: 52+32=84, Resulting Numbers: [82, 84]
Generated Node #0,3,2: 84:[82, 84] Operation: 52+32=84
Exploring Operation: 52-32=20, Resulting Numbers: [82, 20]
Generated Node #0,3,3: 84:[82, 20] Operation: 52-32=20
Exploring Operation: 82-32=50, Resulting Numbers: [52, 50]
Generated Node #0,3,4: 84:[52, 50] Operation: 82-32=50
Moving to Node #0,0,0
Current State: 84:[84, 83], Operations: ['52/52=1', '82+1=83']
Exploring Operation: 84*83=6972, Resulting Numbers: [6972]
6972,84 unequal: No Solution
Exploring Operation: 84+83=167, Resulting Numbers: [167]
167,84 unequal: No Solution
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[1, 2], Operations: ['52/52=1', '84-82=2']
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Moving to Node #0,4,3
Current State: 84:[84, 22], Operations: ['82-52=30', '52-30=22']
Exploring Operation: 84+22=106, Resulting Numbers: [106]
106,84 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 84*22=1848, Resulting Numbers: [1848]
1848,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[84, 82], Operations: ['52/52=1', '82*1=82']
Exploring Operation: 84*82=6888, Resulting Numbers: [6888]
6888,84 unequal: No Solution
Exploring Operation: 84+82=166, Resulting Numbers: [166]
166,84 unequal: No Solution
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[84, 82], Operations: ['52-52=0', '82+0=82']
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 84+82=166, Resulting Numbers: [166]
166,84 unequal: No Solution
Exploring Operation: 84*82=6888, Resulting Numbers: [6888]
6888,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[0, 2], Operations: ['52-52=0', '84-82=2']
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 0+2=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 0*2=0, Resulting Numbers: [0]
0,84 unequal: No Solution
Moving to Node #0,4,2
Current State: 84:[84, 82], Operations: ['82-52=30', '52+30=82']
Exploring Operation: 84+82=166, Resulting Numbers: [166]
166,84 unequal: No Solution
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 84*82=6888, Resulting Numbers: [6888]
6888,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[82, 84], Operations: ['84-52=32', '52+32=84']
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 82*84=6888, Resulting Numbers: [6888]
6888,84 unequal: No Solution
Exploring Operation: 82+84=166, Resulting Numbers: [166]
166,84 unequal: No Solution
Moving to Node #0,0,4
Current State: 84:[82, 84], Operations: ['52/52=1', '84*1=84']
Exploring Operation: 82+84=166, Resulting Numbers: [166]
166,84 unequal: No Solution
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 82*84=6888, Resulting Numbers: [6888]
6888,84 unequal: No Solution
Moving to Node #0,1,4
Current State: 84:[82, 84], Operations: ['52-52=0', '84+0=84']
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 82+84=166, Resulting Numbers: [166]
166,84 unequal: No Solution
Exploring Operation: 82*84=6888, Resulting Numbers: [6888]
6888,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[82, 84], Operations: ['52/52=1', '84/1=84']
Exploring Operation: 82+84=166, Resulting Numbers: [166]
166,84 unequal: No Solution
Exploring Operation: 82*84=6888, Resulting Numbers: [6888]
6888,84 unequal: No Solution
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[84, 0], Operations: ['52-52=0', '82*0=0']
Exploring Operation: 84-0=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[52, 52, 84, 82], Operations: []
Exploring Operation: 52-52=0, Resulting Numbers: [84, 82, 0]
Generated Node #0,1: 84:[84, 82, 0] Operation: 52-52=0
Moving to Node #0,1
Current State: 84:[84, 82, 0], Operations: ['52-52=0']
Exploring Operation: 82*0=0, Resulting Numbers: [84, 0]
Generated Node #0,1,3: 84:[84, 0] Operation: 82*0=0
Moving to Node #0,1,3
Current State: 84:[84, 0], Operations: ['52-52=0', '82*0=0']
Exploring Operation: 84-0=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.927083 | hs_5 | mult_heuristic |
[
80,
26,
52,
90
] | 36 | [
"80+26=106",
"52+90=142",
"142-106=36"
] | Current State: 36:[80, 26, 52, 90], Operations: []
Exploring Operation: 80+26=106, Resulting Numbers: [52, 90, 106]
Generated Node #2: [52, 90, 106] from Operation: 80+26=106
Current State: 36:[52, 90, 106], Operations: ['80+26=106']
Exploring Operation: 52+90=142, Resulting Numbers: [106, 142]
Generated Node #3: [106, 142] from Operation: 52+90=142
Current State: 36:[106, 142], Operations: ['80+26=106', '52+90=142']
Exploring Operation: 142-106=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[80, 26, 52, 90], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [26, 52, 10]
Generated Node #0,0: 36:[26, 52, 10] Operation: 90-80=10
Exploring Operation: 90-52=38, Resulting Numbers: [80, 26, 38]
Generated Node #0,1: 36:[80, 26, 38] Operation: 90-52=38
Moving to Node #0,0
Current State: 36:[26, 52, 10], Operations: ['90-80=10']
Exploring Operation: 52/26=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 36:[10, 2] Operation: 52/26=2
Exploring Operation: 52-26=26, Resulting Numbers: [10, 26]
Generated Node #0,0,1: 36:[10, 26] Operation: 52-26=26
Moving to Node #0,1
Current State: 36:[80, 26, 38], Operations: ['90-52=38']
Exploring Operation: 80-26=54, Resulting Numbers: [38, 54]
Generated Node #0,1,0: 36:[38, 54] Operation: 80-26=54
Exploring Operation: 80-38=42, Resulting Numbers: [26, 42]
Generated Node #0,1,1: 36:[26, 42] Operation: 80-38=42
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[26, 42], Operations: ['90-52=38', '80-38=42']
Exploring Operation: 26+42=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[38, 54], Operations: ['90-52=38', '80-26=54']
Exploring Operation: 38+54=92, Resulting Numbers: [92]
92,36 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,36 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: 36:[10, 2], Operations: ['90-80=10', '52/26=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[10, 26], Operations: ['90-80=10', '52-26=26']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[80, 26, 52, 90], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [26, 52, 10]
Generated Node #0,0: 36:[26, 52, 10] Operation: 90-80=10
Moving to Node #0,0
Current State: 36:[26, 52, 10], Operations: ['90-80=10']
Exploring Operation: 52-26=26, Resulting Numbers: [10, 26]
Generated Node #0,0,1: 36:[10, 26] Operation: 52-26=26
Moving to Node #0,0,1
Current State: 36:[10, 26], Operations: ['90-80=10', '52-26=26']
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
14,
8,
7,
45
] | 46 | [
"14-8=6",
"7+45=52",
"52-6=46"
] | Current State: 46:[14, 8, 7, 45], Operations: []
Exploring Operation: 14-8=6, Resulting Numbers: [7, 45, 6]
Generated Node #2: [7, 45, 6] from Operation: 14-8=6
Current State: 46:[7, 45, 6], Operations: ['14-8=6']
Exploring Operation: 7+45=52, Resulting Numbers: [6, 52]
Generated Node #3: [6, 52] from Operation: 7+45=52
Current State: 46:[6, 52], Operations: ['14-8=6', '7+45=52']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[14, 8, 7, 45], Operations: []
Exploring Operation: 14+8=22, Resulting Numbers: [7, 45, 22]
Generated Node #0,0: 46:[7, 45, 22] Operation: 14+8=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[7, 45, 22], Operations: ['14+8=22']
Exploring Operation: 45-22=23, Resulting Numbers: [7, 23]
Generated Node #0,0,0: 46:[7, 23] Operation: 45-22=23
Moving to Node #0,0,0
Current State: 46:[7, 23], Operations: ['14+8=22', '45-22=23']
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,46 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 |
[
94,
95,
59,
19
] | 79 | [
"95-94=1",
"59+19=78",
"1+78=79"
] | Current State: 79:[94, 95, 59, 19], Operations: []
Exploring Operation: 95-94=1, Resulting Numbers: [59, 19, 1]
Generated Node #2: [59, 19, 1] from Operation: 95-94=1
Current State: 79:[59, 19, 1], Operations: ['95-94=1']
Exploring Operation: 59+19=78, Resulting Numbers: [1, 78]
Generated Node #3: [1, 78] from Operation: 59+19=78
Current State: 79:[1, 78], Operations: ['95-94=1', '59+19=78']
Exploring Operation: 1+78=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[94, 95, 59, 19], Operations: []
Exploring Operation: 59+19=78, Resulting Numbers: [94, 95, 78]
Generated Node #0,0: 79:[94, 95, 78] Operation: 59+19=78
Moving to Node #0,0
Current State: 79:[94, 95, 78], Operations: ['59+19=78']
Exploring Operation: 95-78=17, Resulting Numbers: [94, 17]
Generated Node #0,0,0: 79:[94, 17] Operation: 95-78=17
Moving to Node #0,0,0
Current State: 79:[94, 17], Operations: ['59+19=78', '95-78=17']
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,79 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
52,
8,
10,
16
] | 84 | [
"52-10=42",
"16/8=2",
"42*2=84"
] | Current State: 84:[52, 8, 10, 16], Operations: []
Exploring Operation: 52-10=42, Resulting Numbers: [8, 16, 42]
Generated Node #2: [8, 16, 42] from Operation: 52-10=42
Current State: 84:[8, 16, 42], Operations: ['52-10=42']
Exploring Operation: 16/8=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 16/8=2
Current State: 84:[42, 2], Operations: ['52-10=42', '16/8=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[52, 8, 10, 16], Operations: []
Exploring Operation: 52-8=44, Resulting Numbers: [10, 16, 44]
Generated Node #0,0: 84:[10, 16, 44] Operation: 52-8=44
Exploring Operation: 52-16=36, Resulting Numbers: [8, 10, 36]
Generated Node #0,1: 84:[8, 10, 36] Operation: 52-16=36
Exploring Operation: 16-10=6, Resulting Numbers: [52, 8, 6]
Generated Node #0,2: 84:[52, 8, 6] Operation: 16-10=6
Exploring Operation: 52-10=42, Resulting Numbers: [8, 16, 42]
Generated Node #0,3: 84:[8, 16, 42] Operation: 52-10=42
Moving to Node #0,3
Current State: 84:[8, 16, 42], Operations: ['52-10=42']
Exploring Operation: 8+16=24, Resulting Numbers: [42, 24]
Generated Node #0,3,0: 84:[42, 24] Operation: 8+16=24
Exploring Operation: 42-16=26, Resulting Numbers: [8, 26]
Generated Node #0,3,1: 84:[8, 26] Operation: 42-16=26
Exploring Operation: 16-8=8, Resulting Numbers: [42, 8]
Generated Node #0,3,2: 84:[42, 8] Operation: 16-8=8
Exploring Operation: 16/8=2, Resulting Numbers: [42, 2]
Generated Node #0,3,3: 84:[42, 2] Operation: 16/8=2
Moving to Node #0,0
Current State: 84:[10, 16, 44], Operations: ['52-8=44']
Exploring Operation: 10+16=26, Resulting Numbers: [44, 26]
Generated Node #0,0,0: 84:[44, 26] Operation: 10+16=26
Exploring Operation: 44-10=34, Resulting Numbers: [16, 34]
Generated Node #0,0,1: 84:[16, 34] Operation: 44-10=34
Exploring Operation: 16-10=6, Resulting Numbers: [44, 6]
Generated Node #0,0,2: 84:[44, 6] Operation: 16-10=6
Exploring Operation: 44-16=28, Resulting Numbers: [10, 28]
Generated Node #0,0,3: 84:[10, 28] Operation: 44-16=28
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[44, 6], Operations: ['52-8=44', '16-10=6']
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,84 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 84:[10, 28], Operations: ['52-8=44', '44-16=28']
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,84 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[44, 26], Operations: ['52-8=44', '10+16=26']
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 44*26=1144, Resulting Numbers: [1144]
1144,84 unequal: No Solution
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[16, 34], Operations: ['52-8=44', '44-10=34']
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,84 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,84 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: 84:[8, 10, 36], Operations: ['52-16=36']
Exploring Operation: 8+36=44, Resulting Numbers: [10, 44]
Generated Node #0,1,0: 84:[10, 44] Operation: 8+36=44
Exploring Operation: 36-10=26, Resulting Numbers: [8, 26]
Generated Node #0,1,1: 84:[8, 26] Operation: 36-10=26
Exploring Operation: 10+36=46, Resulting Numbers: [8, 46]
Generated Node #0,1,2: 84:[8, 46] Operation: 10+36=46
Exploring Operation: 36-8=28, Resulting Numbers: [10, 28]
Generated Node #0,1,3: 84:[10, 28] Operation: 36-8=28
Moving to Node #0,2
Current State: 84:[52, 8, 6], Operations: ['16-10=6']
Exploring Operation: 52-6=46, Resulting Numbers: [8, 46]
Generated Node #0,2,0: 84:[8, 46] Operation: 52-6=46
Exploring Operation: 52-8=44, Resulting Numbers: [6, 44]
Generated Node #0,2,1: 84:[6, 44] Operation: 52-8=44
Exploring Operation: 8+6=14, Resulting Numbers: [52, 14]
Generated Node #0,2,2: 84:[52, 14] Operation: 8+6=14
Exploring Operation: 8-6=2, Resulting Numbers: [52, 2]
Generated Node #0,2,3: 84:[52, 2] Operation: 8-6=2
Moving to Node #0,3,3
Current State: 84:[42, 2], Operations: ['52-10=42', '16/8=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[52, 8, 10, 16], Operations: []
Exploring Operation: 52-10=42, Resulting Numbers: [8, 16, 42]
Generated Node #0,3: 84:[8, 16, 42] Operation: 52-10=42
Moving to Node #0,3
Current State: 84:[8, 16, 42], Operations: ['52-10=42']
Exploring Operation: 16/8=2, Resulting Numbers: [42, 2]
Generated Node #0,3,3: 84:[42, 2] Operation: 16/8=2
Moving to Node #0,3,3
Current State: 84:[42, 2], Operations: ['52-10=42', '16/8=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.967882 | hs_4 | mult_heuristic |
[
58,
3,
27,
37
] | 56 | [
"58-27=31",
"3*31=93",
"93-37=56"
] | Current State: 56:[58, 3, 27, 37], Operations: []
Exploring Operation: 58-27=31, Resulting Numbers: [3, 37, 31]
Generated Node #2: [3, 37, 31] from Operation: 58-27=31
Current State: 56:[3, 37, 31], Operations: ['58-27=31']
Exploring Operation: 3*31=93, Resulting Numbers: [37, 93]
Generated Node #3: [37, 93] from Operation: 3*31=93
Current State: 56:[37, 93], Operations: ['58-27=31', '3*31=93']
Exploring Operation: 93-37=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[58, 3, 27, 37], Operations: []
Exploring Operation: 37-3=34, Resulting Numbers: [58, 27, 34]
Generated Node #0,0: 56:[58, 27, 34] Operation: 37-3=34
Exploring Operation: 37-27=10, Resulting Numbers: [58, 3, 10]
Generated Node #0,1: 56:[58, 3, 10] Operation: 37-27=10
Exploring Operation: 58-37=21, Resulting Numbers: [3, 27, 21]
Generated Node #0,2: 56:[3, 27, 21] Operation: 58-37=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[58, 3, 10], Operations: ['37-27=10']
Exploring Operation: 10-3=7, Resulting Numbers: [58, 7]
Generated Node #0,1,0: 56:[58, 7] Operation: 10-3=7
Exploring Operation: 58-3=55, Resulting Numbers: [10, 55]
Generated Node #0,1,1: 56:[10, 55] Operation: 58-3=55
Exploring Operation: 3+10=13, Resulting Numbers: [58, 13]
Generated Node #0,1,2: 56:[58, 13] Operation: 3+10=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[58, 7], Operations: ['37-27=10', '10-3=7']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,56 unequal: No Solution
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,56 unequal: No Solution
No 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: 56:[10, 55], Operations: ['37-27=10', '58-3=55']
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 10*55=550, Resulting Numbers: [550]
550,56 unequal: No Solution
Exploring Operation: 10+55=65, Resulting Numbers: [65]
65,56 unequal: No Solution
No 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: 56:[58, 13], Operations: ['37-27=10', '3+10=13']
Exploring Operation: 58+13=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 58*13=754, Resulting Numbers: [754]
754,56 unequal: No Solution
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,56 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: 56:[58, 27, 34], Operations: ['37-3=34']
Exploring Operation: 27+34=61, Resulting Numbers: [58, 61]
Generated Node #0,0,0: 56:[58, 61] Operation: 27+34=61
Exploring Operation: 58-34=24, Resulting Numbers: [27, 24]
Generated Node #0,0,1: 56:[27, 24] Operation: 58-34=24
Exploring Operation: 34-27=7, Resulting Numbers: [58, 7]
Generated Node #0,0,2: 56:[58, 7] Operation: 34-27=7
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 56:[58, 7], Operations: ['37-3=34', '34-27=7']
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,56 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,56 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,56 unequal: No Solution
No 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: 56:[27, 24], Operations: ['37-3=34', '58-34=24']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,56 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,56 unequal: No Solution
No 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: 56:[58, 61], Operations: ['37-3=34', '27+34=61']
Exploring Operation: 58*61=3538, Resulting Numbers: [3538]
3538,56 unequal: No Solution
Exploring Operation: 61-58=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 58+61=119, Resulting Numbers: [119]
119,56 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: 56:[3, 27, 21], Operations: ['58-37=21']
Exploring Operation: 3+21=24, Resulting Numbers: [27, 24]
Generated Node #0,2,0: 56:[27, 24] Operation: 3+21=24
Exploring Operation: 21/3=7, Resulting Numbers: [27, 7]
Generated Node #0,2,1: 56:[27, 7] Operation: 21/3=7
Exploring Operation: 27-21=6, Resulting Numbers: [3, 6]
Generated Node #0,2,2: 56:[3, 6] Operation: 27-21=6
Moving to Node #0,2,1
Current State: 56:[27, 7], Operations: ['58-37=21', '21/3=7']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[3, 6], Operations: ['58-37=21', '27-21=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[27, 24], Operations: ['58-37=21', '3+21=24']
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,56 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,56 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 |
[
26,
62,
6,
10
] | 72 | [
"26+62=88",
"6+10=16",
"88-16=72"
] | Current State: 72:[26, 62, 6, 10], Operations: []
Exploring Operation: 26+62=88, Resulting Numbers: [6, 10, 88]
Generated Node #2: [6, 10, 88] from Operation: 26+62=88
Current State: 72:[6, 10, 88], Operations: ['26+62=88']
Exploring Operation: 6+10=16, Resulting Numbers: [88, 16]
Generated Node #3: [88, 16] from Operation: 6+10=16
Current State: 72:[88, 16], Operations: ['26+62=88', '6+10=16']
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[26, 62, 6, 10], Operations: []
Exploring Operation: 62+10=72, Resulting Numbers: [26, 6, 72]
Generated Node #0,0: 72:[26, 6, 72] Operation: 62+10=72
Exploring Operation: 62-26=36, Resulting Numbers: [6, 10, 36]
Generated Node #0,1: 72:[6, 10, 36] Operation: 62-26=36
Exploring Operation: 62+6=68, Resulting Numbers: [26, 10, 68]
Generated Node #0,2: 72:[26, 10, 68] Operation: 62+6=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[6, 10, 36], Operations: ['62-26=36']
Exploring Operation: 6+10=16, Resulting Numbers: [36, 16]
Generated Node #0,1,0: 72:[36, 16] Operation: 6+10=16
Exploring Operation: 36/6=6, Resulting Numbers: [10, 6]
Generated Node #0,1,1: 72:[10, 6] Operation: 36/6=6
Exploring Operation: 10-6=4, Resulting Numbers: [36, 4]
Generated Node #0,1,2: 72:[36, 4] Operation: 10-6=4
Moving to Node #0,1,2
Current State: 72:[36, 4], Operations: ['62-26=36', '10-6=4']
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[10, 6], Operations: ['62-26=36', '36/6=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[36, 16], Operations: ['62-26=36', '6+10=16']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,72 unequal: No Solution
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,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,0
Current State: 72:[26, 6, 72], Operations: ['62+10=72']
Exploring Operation: 26+6=32, Resulting Numbers: [72, 32]
Generated Node #0,0,0: 72:[72, 32] Operation: 26+6=32
Exploring Operation: 26-6=20, Resulting Numbers: [72, 20]
Generated Node #0,0,1: 72:[72, 20] Operation: 26-6=20
Exploring Operation: 72/6=12, Resulting Numbers: [26, 12]
Generated Node #0,0,2: 72:[26, 12] Operation: 72/6=12
Moving to Node #0,0,1
Current State: 72:[72, 20], Operations: ['62+10=72', '26-6=20']
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 72*20=1440, Resulting Numbers: [1440]
1440,72 unequal: No Solution
Exploring Operation: 72+20=92, Resulting Numbers: [92]
92,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[26, 12], Operations: ['62+10=72', '72/6=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,72 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[72, 32], Operations: ['62+10=72', '26+6=32']
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Exploring Operation: 72*32=2304, Resulting Numbers: [2304]
2304,72 unequal: No Solution
Exploring Operation: 72+32=104, Resulting Numbers: [104]
104,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[26, 10, 68], Operations: ['62+6=68']
Exploring Operation: 26-10=16, Resulting Numbers: [68, 16]
Generated Node #0,2,0: 72:[68, 16] Operation: 26-10=16
Exploring Operation: 68-26=42, Resulting Numbers: [10, 42]
Generated Node #0,2,1: 72:[10, 42] Operation: 68-26=42
Exploring Operation: 26+10=36, Resulting Numbers: [68, 36]
Generated Node #0,2,2: 72:[68, 36] Operation: 26+10=36
Moving to Node #0,2,2
Current State: 72:[68, 36], Operations: ['62+6=68', '26+10=36']
Exploring Operation: 68*36=2448, Resulting Numbers: [2448]
2448,72 unequal: No Solution
Exploring Operation: 68+36=104, Resulting Numbers: [104]
104,72 unequal: No Solution
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[68, 16], Operations: ['62+6=68', '26-10=16']
Exploring Operation: 68*16=1088, Resulting Numbers: [1088]
1088,72 unequal: No Solution
Exploring Operation: 68+16=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 68-16=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[10, 42], Operations: ['62+6=68', '68-26=42']
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 10*42=420, Resulting Numbers: [420]
420,72 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,72 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 |
[
8,
12,
45,
15
] | 72 | [
"45/15=3",
"12-3=9",
"8*9=72"
] | Current State: 72:[8, 12, 45, 15], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [8, 12, 3]
Generated Node #2: [8, 12, 3] from Operation: 45/15=3
Current State: 72:[8, 12, 3], Operations: ['45/15=3']
Exploring Operation: 12-3=9, Resulting Numbers: [8, 9]
Generated Node #3: [8, 9] from Operation: 12-3=9
Current State: 72:[8, 9], Operations: ['45/15=3', '12-3=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[8, 12, 45, 15], Operations: []
Exploring Operation: 45-12=33, Resulting Numbers: [8, 15, 33]
Generated Node #0,0: 72:[8, 15, 33] Operation: 45-12=33
Exploring Operation: 45/15=3, Resulting Numbers: [8, 12, 3]
Generated Node #0,1: 72:[8, 12, 3] Operation: 45/15=3
Exploring Operation: 45-8=37, Resulting Numbers: [12, 15, 37]
Generated Node #0,2: 72:[12, 15, 37] Operation: 45-8=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[8, 12, 3], Operations: ['45/15=3']
Exploring Operation: 8*3=24, Resulting Numbers: [12, 24]
Generated Node #0,1,0: 72:[12, 24] Operation: 8*3=24
Exploring Operation: 12*3=36, Resulting Numbers: [8, 36]
Generated Node #0,1,1: 72:[8, 36] Operation: 12*3=36
Exploring Operation: 12-8=4, Resulting Numbers: [3, 4]
Generated Node #0,1,2: 72:[3, 4] Operation: 12-8=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[12, 24], Operations: ['45/15=3', '8*3=24']
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[8, 36], Operations: ['45/15=3', '12*3=36']
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,72 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 72:[3, 4], Operations: ['45/15=3', '12-8=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[12, 15, 37], Operations: ['45-8=37']
Exploring Operation: 12+15=27, Resulting Numbers: [37, 27]
Generated Node #0,2,0: 72:[37, 27] Operation: 12+15=27
Exploring Operation: 37-15=22, Resulting Numbers: [12, 22]
Generated Node #0,2,1: 72:[12, 22] Operation: 37-15=22
Exploring Operation: 15-12=3, Resulting Numbers: [37, 3]
Generated Node #0,2,2: 72:[37, 3] Operation: 15-12=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 72:[37, 3], Operations: ['45-8=37', '15-12=3']
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,72 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 72:[12, 22], Operations: ['45-8=37', '37-15=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 12*22=264, Resulting Numbers: [264]
264,72 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[37, 27], Operations: ['45-8=37', '12+15=27']
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,72 unequal: No Solution
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,72 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[8, 15, 33], Operations: ['45-12=33']
Exploring Operation: 8+15=23, Resulting Numbers: [33, 23]
Generated Node #0,0,0: 72:[33, 23] Operation: 8+15=23
Exploring Operation: 15-8=7, Resulting Numbers: [33, 7]
Generated Node #0,0,1: 72:[33, 7] Operation: 15-8=7
Exploring Operation: 33-15=18, Resulting Numbers: [8, 18]
Generated Node #0,0,2: 72:[8, 18] Operation: 33-15=18
Moving to Node #0,0,2
Current State: 72:[8, 18], Operations: ['45-12=33', '33-15=18']
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[33, 23], Operations: ['45-12=33', '8+15=23']
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Exploring Operation: 33*23=759, Resulting Numbers: [759]
759,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[33, 7], Operations: ['45-12=33', '15-8=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,72 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 |
[
4,
21,
2,
10
] | 37 | [
"4+21=25",
"2+10=12",
"25+12=37"
] | Current State: 37:[4, 21, 2, 10], Operations: []
Exploring Operation: 4+21=25, Resulting Numbers: [2, 10, 25]
Generated Node #2: [2, 10, 25] from Operation: 4+21=25
Current State: 37:[2, 10, 25], Operations: ['4+21=25']
Exploring Operation: 2+10=12, Resulting Numbers: [25, 12]
Generated Node #3: [25, 12] from Operation: 2+10=12
Current State: 37:[25, 12], Operations: ['4+21=25', '2+10=12']
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[4, 21, 2, 10], Operations: []
Exploring Operation: 4*10=40, Resulting Numbers: [21, 2, 40]
Generated Node #0,0: 37:[21, 2, 40] Operation: 4*10=40
Exploring Operation: 2*10=20, Resulting Numbers: [4, 21, 20]
Generated Node #0,1: 37:[4, 21, 20] Operation: 2*10=20
Exploring Operation: 21*2=42, Resulting Numbers: [4, 10, 42]
Generated Node #0,2: 37:[4, 10, 42] Operation: 21*2=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[21, 2, 40], Operations: ['4*10=40']
Exploring Operation: 21+2=23, Resulting Numbers: [40, 23]
Generated Node #0,0,0: 37:[40, 23] Operation: 21+2=23
Exploring Operation: 40-2=38, Resulting Numbers: [21, 38]
Generated Node #0,0,1: 37:[21, 38] Operation: 40-2=38
Exploring Operation: 21*2=42, Resulting Numbers: [40, 42]
Generated Node #0,0,2: 37:[40, 42] Operation: 21*2=42
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[40, 42], Operations: ['4*10=40', '21*2=42']
Exploring Operation: 40*42=1680, Resulting Numbers: [1680]
1680,37 unequal: No Solution
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,37 unequal: No Solution
No 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: 37:[40, 23], Operations: ['4*10=40', '21+2=23']
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 40*23=920, Resulting Numbers: [920]
920,37 unequal: No Solution
No 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: 37:[21, 38], Operations: ['4*10=40', '40-2=38']
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,37 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,37 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: 37:[4, 10, 42], Operations: ['21*2=42']
Exploring Operation: 4+10=14, Resulting Numbers: [42, 14]
Generated Node #0,2,0: 37:[42, 14] Operation: 4+10=14
Exploring Operation: 42-4=38, Resulting Numbers: [10, 38]
Generated Node #0,2,1: 37:[10, 38] Operation: 42-4=38
Exploring Operation: 4*10=40, Resulting Numbers: [42, 40]
Generated Node #0,2,2: 37:[42, 40] Operation: 4*10=40
Moving to Node #0,2,2
Current State: 37:[42, 40], Operations: ['21*2=42', '4*10=40']
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 42*40=1680, Resulting Numbers: [1680]
1680,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[42, 14], Operations: ['21*2=42', '4+10=14']
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,37 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[10, 38], Operations: ['21*2=42', '42-4=38']
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,37 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,37 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[4, 21, 20], Operations: ['2*10=20']
Exploring Operation: 4+21=25, Resulting Numbers: [20, 25]
Generated Node #0,1,0: 37:[20, 25] Operation: 4+21=25
Exploring Operation: 4+20=24, Resulting Numbers: [21, 24]
Generated Node #0,1,1: 37:[21, 24] Operation: 4+20=24
Exploring Operation: 21-4=17, Resulting Numbers: [20, 17]
Generated Node #0,1,2: 37:[20, 17] Operation: 21-4=17
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[20, 25], Operations: ['2*10=20', '4+21=25']
Exploring Operation: 20*25=500, Resulting Numbers: [500]
500,37 unequal: No Solution
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,37 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,37 unequal: No Solution
No 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: 37:[21, 24], Operations: ['2*10=20', '4+20=24']
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,37 unequal: No Solution
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,37 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,37 unequal: No Solution
No 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: 37:[20, 17], Operations: ['2*10=20', '21-4=17']
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[4, 21, 2, 10], Operations: []
Exploring Operation: 2*10=20, Resulting Numbers: [4, 21, 20]
Generated Node #0,1: 37:[4, 21, 20] Operation: 2*10=20
Moving to Node #0,1
Current State: 37:[4, 21, 20], Operations: ['2*10=20']
Exploring Operation: 21-4=17, Resulting Numbers: [20, 17]
Generated Node #0,1,2: 37:[20, 17] Operation: 21-4=17
Moving to Node #0,1,2
Current State: 37:[20, 17], Operations: ['2*10=20', '21-4=17']
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_3 | sum_heuristic |
[
89,
77,
54,
43
] | 85 | [
"89-77=12",
"54+43=97",
"97-12=85"
] | Current State: 85:[89, 77, 54, 43], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [54, 43, 12]
Generated Node #2: [54, 43, 12] from Operation: 89-77=12
Current State: 85:[54, 43, 12], Operations: ['89-77=12']
Exploring Operation: 54+43=97, Resulting Numbers: [12, 97]
Generated Node #3: [12, 97] from Operation: 54+43=97
Current State: 85:[12, 97], Operations: ['89-77=12', '54+43=97']
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[89, 77, 54, 43], Operations: []
Exploring Operation: 77-54=23, Resulting Numbers: [89, 43, 23]
Generated Node #0,0: 85:[89, 43, 23] Operation: 77-54=23
Exploring Operation: 54+43=97, Resulting Numbers: [89, 77, 97]
Generated Node #0,1: 85:[89, 77, 97] Operation: 54+43=97
Exploring Operation: 54-43=11, Resulting Numbers: [89, 77, 11]
Generated Node #0,2: 85:[89, 77, 11] Operation: 54-43=11
Moving to Node #0,2
Current State: 85:[89, 77, 11], Operations: ['54-43=11']
Exploring Operation: 89-77=12, Resulting Numbers: [11, 12]
Generated Node #0,2,0: 85:[11, 12] Operation: 89-77=12
Exploring Operation: 77/11=7, Resulting Numbers: [89, 7]
Generated Node #0,2,1: 85:[89, 7] Operation: 77/11=7
Exploring Operation: 77+11=88, Resulting Numbers: [89, 88]
Generated Node #0,2,2: 85:[89, 88] Operation: 77+11=88
Moving to Node #0,1
Current State: 85:[89, 77, 97], Operations: ['54+43=97']
Exploring Operation: 97-77=20, Resulting Numbers: [89, 20]
Generated Node #0,1,0: 85:[89, 20] Operation: 97-77=20
Exploring Operation: 97-89=8, Resulting Numbers: [77, 8]
Generated Node #0,1,1: 85:[77, 8] Operation: 97-89=8
Exploring Operation: 89-77=12, Resulting Numbers: [97, 12]
Generated Node #0,1,2: 85:[97, 12] Operation: 89-77=12
Moving to Node #0,0
Current State: 85:[89, 43, 23], Operations: ['77-54=23']
Exploring Operation: 43-23=20, Resulting Numbers: [89, 20]
Generated Node #0,0,0: 85:[89, 20] Operation: 43-23=20
Exploring Operation: 89-43=46, Resulting Numbers: [23, 46]
Generated Node #0,0,1: 85:[23, 46] Operation: 89-43=46
Exploring Operation: 43+23=66, Resulting Numbers: [89, 66]
Generated Node #0,0,2: 85:[89, 66] Operation: 43+23=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[89, 20], Operations: ['77-54=23', '43-23=20']
Exploring Operation: 89*20=1780, Resulting Numbers: [1780]
1780,85 unequal: No Solution
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 89+20=109, Resulting Numbers: [109]
109,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:[89, 66], Operations: ['77-54=23', '43+23=66']
Exploring Operation: 89*66=5874, Resulting Numbers: [5874]
5874,85 unequal: No Solution
Exploring Operation: 89-66=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 89+66=155, Resulting Numbers: [155]
155,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,1
Current State: 85:[23, 46], Operations: ['77-54=23', '89-43=46']
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 85:[89, 7], Operations: ['54-43=11', '77/11=7']
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,85 unequal: No Solution
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,85 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[89, 88], Operations: ['54-43=11', '77+11=88']
Exploring Operation: 89*88=7832, Resulting Numbers: [7832]
7832,85 unequal: No Solution
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 89+88=177, Resulting Numbers: [177]
177,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[89, 20], Operations: ['54+43=97', '97-77=20']
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 89+20=109, Resulting Numbers: [109]
109,85 unequal: No Solution
Exploring Operation: 89*20=1780, Resulting Numbers: [1780]
1780,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[11, 12], Operations: ['54-43=11', '89-77=12']
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,85 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[77, 8], Operations: ['54+43=97', '97-89=8']
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[89, 77, 54, 43], Operations: []
Exploring Operation: 54+43=97, Resulting Numbers: [89, 77, 97]
Generated Node #0,1: 85:[89, 77, 97] Operation: 54+43=97
Moving to Node #0,1
Current State: 85:[89, 77, 97], Operations: ['54+43=97']
Exploring Operation: 97-89=8, Resulting Numbers: [77, 8]
Generated Node #0,1,1: 85:[77, 8] Operation: 97-89=8
Moving to Node #0,1,1
Current State: 85:[77, 8], Operations: ['54+43=97', '97-89=8']
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.967014 | hs_3 | mult_heuristic |
[
92,
2,
12,
74
] | 77 | [
"92-12=80",
"74+80=154",
"154/2=77"
] | Current State: 77:[92, 2, 12, 74], Operations: []
Exploring Operation: 92-12=80, Resulting Numbers: [2, 74, 80]
Generated Node #2: [2, 74, 80] from Operation: 92-12=80
Current State: 77:[2, 74, 80], Operations: ['92-12=80']
Exploring Operation: 74+80=154, Resulting Numbers: [2, 154]
Generated Node #3: [2, 154] from Operation: 74+80=154
Current State: 77:[2, 154], Operations: ['92-12=80', '74+80=154']
Exploring Operation: 154/2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[92, 2, 12, 74], Operations: []
Exploring Operation: 92-12=80, Resulting Numbers: [2, 74, 80]
Generated Node #0,0: 77:[2, 74, 80] Operation: 92-12=80
Moving to Node #0,0
Current State: 77:[2, 74, 80], Operations: ['92-12=80']
Exploring Operation: 2+74=76, Resulting Numbers: [80, 76]
Generated Node #0,0,0: 77:[80, 76] Operation: 2+74=76
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[80, 76], Operations: ['92-12=80', '2+74=76']
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,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 |
[
34,
65,
67,
18
] | 35 | [
"67-65=2",
"34/2=17",
"18+17=35"
] | Current State: 35:[34, 65, 67, 18], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [34, 18, 2]
Generated Node #2: [34, 18, 2] from Operation: 67-65=2
Current State: 35:[34, 18, 2], Operations: ['67-65=2']
Exploring Operation: 34/2=17, Resulting Numbers: [18, 17]
Generated Node #3: [18, 17] from Operation: 34/2=17
Current State: 35:[18, 17], Operations: ['67-65=2', '34/2=17']
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[34, 65, 67, 18], Operations: []
Exploring Operation: 67-18=49, Resulting Numbers: [34, 65, 49]
Generated Node #0,0: 35:[34, 65, 49] Operation: 67-18=49
Exploring Operation: 67-34=33, Resulting Numbers: [65, 18, 33]
Generated Node #0,1: 35:[65, 18, 33] Operation: 67-34=33
Exploring Operation: 67-65=2, Resulting Numbers: [34, 18, 2]
Generated Node #0,2: 35:[34, 18, 2] Operation: 67-65=2
Exploring Operation: 65-18=47, Resulting Numbers: [34, 67, 47]
Generated Node #0,3: 35:[34, 67, 47] Operation: 65-18=47
Exploring Operation: 65-34=31, Resulting Numbers: [67, 18, 31]
Generated Node #0,4: 35:[67, 18, 31] Operation: 65-34=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[34, 18, 2], Operations: ['67-65=2']
Exploring Operation: 18/2=9, Resulting Numbers: [34, 9]
Generated Node #0,2,0: 35:[34, 9] Operation: 18/2=9
Exploring Operation: 34+2=36, Resulting Numbers: [18, 36]
Generated Node #0,2,1: 35:[18, 36] Operation: 34+2=36
Exploring Operation: 18-2=16, Resulting Numbers: [34, 16]
Generated Node #0,2,2: 35:[34, 16] Operation: 18-2=16
Exploring Operation: 34-18=16, Resulting Numbers: [2, 16]
Generated Node #0,2,3: 35:[2, 16] Operation: 34-18=16
Exploring Operation: 18*2=36, Resulting Numbers: [34, 36]
Generated Node #0,2,4: 35:[34, 36] Operation: 18*2=36
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 35:[34, 36], Operations: ['67-65=2', '18*2=36']
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,35 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[34, 9], Operations: ['67-65=2', '18/2=9']
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,35 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,35 unequal: No Solution
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[34, 16], Operations: ['67-65=2', '18-2=16']
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,35 unequal: No Solution
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[18, 36], Operations: ['67-65=2', '34+2=36']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 35:[2, 16], Operations: ['67-65=2', '34-18=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,35 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: 35:[65, 18, 33], Operations: ['67-34=33']
Exploring Operation: 65-33=32, Resulting Numbers: [18, 32]
Generated Node #0,1,0: 35:[18, 32] Operation: 65-33=32
Exploring Operation: 65+18=83, Resulting Numbers: [33, 83]
Generated Node #0,1,1: 35:[33, 83] Operation: 65+18=83
Exploring Operation: 33-18=15, Resulting Numbers: [65, 15]
Generated Node #0,1,2: 35:[65, 15] Operation: 33-18=15
Exploring Operation: 18+33=51, Resulting Numbers: [65, 51]
Generated Node #0,1,3: 35:[65, 51] Operation: 18+33=51
Exploring Operation: 65-18=47, Resulting Numbers: [33, 47]
Generated Node #0,1,4: 35:[33, 47] Operation: 65-18=47
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[18, 32], Operations: ['67-34=33', '65-33=32']
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,35 unequal: No Solution
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 35:[33, 47], Operations: ['67-34=33', '65-18=47']
Exploring Operation: 33*47=1551, Resulting Numbers: [1551]
1551,35 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 35:[65, 15], Operations: ['67-34=33', '33-18=15']
Exploring Operation: 65*15=975, Resulting Numbers: [975]
975,35 unequal: No Solution
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 65+15=80, Resulting Numbers: [80]
80,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 35:[65, 51], Operations: ['67-34=33', '18+33=51']
Exploring Operation: 65+51=116, Resulting Numbers: [116]
116,35 unequal: No Solution
Exploring Operation: 65*51=3315, Resulting Numbers: [3315]
3315,35 unequal: No Solution
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[33, 83], Operations: ['67-34=33', '65+18=83']
Exploring Operation: 33+83=116, Resulting Numbers: [116]
116,35 unequal: No Solution
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 33*83=2739, Resulting Numbers: [2739]
2739,35 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: 35:[34, 65, 49], Operations: ['67-18=49']
Exploring Operation: 34+49=83, Resulting Numbers: [65, 83]
Generated Node #0,0,0: 35:[65, 83] Operation: 34+49=83
Exploring Operation: 34+65=99, Resulting Numbers: [49, 99]
Generated Node #0,0,1: 35:[49, 99] Operation: 34+65=99
Exploring Operation: 49-34=15, Resulting Numbers: [65, 15]
Generated Node #0,0,2: 35:[65, 15] Operation: 49-34=15
Exploring Operation: 65-34=31, Resulting Numbers: [49, 31]
Generated Node #0,0,3: 35:[49, 31] Operation: 65-34=31
Exploring Operation: 65-49=16, Resulting Numbers: [34, 16]
Generated Node #0,0,4: 35:[34, 16] Operation: 65-49=16
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 35:[34, 16], Operations: ['67-18=49', '65-49=16']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,35 unequal: No Solution
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 35:[49, 31], Operations: ['67-18=49', '65-34=31']
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,35 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 35:[65, 15], Operations: ['67-18=49', '49-34=15']
Exploring Operation: 65*15=975, Resulting Numbers: [975]
975,35 unequal: No Solution
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 65+15=80, Resulting Numbers: [80]
80,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[65, 83], Operations: ['67-18=49', '34+49=83']
Exploring Operation: 65*83=5395, Resulting Numbers: [5395]
5395,35 unequal: No Solution
Exploring Operation: 83-65=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 65+83=148, Resulting Numbers: [148]
148,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[49, 99], Operations: ['67-18=49', '34+65=99']
Exploring Operation: 49*99=4851, Resulting Numbers: [4851]
4851,35 unequal: No Solution
Exploring Operation: 99-49=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 49+99=148, Resulting Numbers: [148]
148,35 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: 35:[34, 67, 47], Operations: ['65-18=47']
Exploring Operation: 47-34=13, Resulting Numbers: [67, 13]
Generated Node #0,3,0: 35:[67, 13] Operation: 47-34=13
Exploring Operation: 67-47=20, Resulting Numbers: [34, 20]
Generated Node #0,3,1: 35:[34, 20] Operation: 67-47=20
Exploring Operation: 34+47=81, Resulting Numbers: [67, 81]
Generated Node #0,3,2: 35:[67, 81] Operation: 34+47=81
Exploring Operation: 67-34=33, Resulting Numbers: [47, 33]
Generated Node #0,3,3: 35:[47, 33] Operation: 67-34=33
Exploring Operation: 34+67=101, Resulting Numbers: [47, 101]
Generated Node #0,3,4: 35:[47, 101] Operation: 34+67=101
Moving to Node #0,3,1
Current State: 35:[34, 20], Operations: ['65-18=47', '67-47=20']
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,35 unequal: No Solution
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[47, 33], Operations: ['65-18=47', '67-34=33']
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 47*33=1551, Resulting Numbers: [1551]
1551,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[67, 13], Operations: ['65-18=47', '47-34=13']
Exploring Operation: 67*13=871, Resulting Numbers: [871]
871,35 unequal: No Solution
Exploring Operation: 67+13=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Moving to Node #0,3,2
Current State: 35:[67, 81], Operations: ['65-18=47', '34+47=81']
Exploring Operation: 67*81=5427, Resulting Numbers: [5427]
5427,35 unequal: No Solution
Exploring Operation: 81-67=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 67+81=148, Resulting Numbers: [148]
148,35 unequal: No Solution
Moving to Node #0,3,4
Current State: 35:[47, 101], Operations: ['65-18=47', '34+67=101']
Exploring Operation: 101-47=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 47*101=4747, Resulting Numbers: [4747]
4747,35 unequal: No Solution
Exploring Operation: 47+101=148, Resulting Numbers: [148]
148,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,4
Current State: 35:[67, 18, 31], Operations: ['65-34=31']
Exploring Operation: 31-18=13, Resulting Numbers: [67, 13]
Generated Node #0,4,0: 35:[67, 13] Operation: 31-18=13
Exploring Operation: 18+31=49, Resulting Numbers: [67, 49]
Generated Node #0,4,1: 35:[67, 49] Operation: 18+31=49
Exploring Operation: 67-18=49, Resulting Numbers: [31, 49]
Generated Node #0,4,2: 35:[31, 49] Operation: 67-18=49
Exploring Operation: 67-31=36, Resulting Numbers: [18, 36]
Generated Node #0,4,3: 35:[18, 36] Operation: 67-31=36
Exploring Operation: 67+18=85, Resulting Numbers: [31, 85]
Generated Node #0,4,4: 35:[31, 85] Operation: 67+18=85
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 35:[18, 36], Operations: ['65-34=31', '67-31=36']
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,35 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 35:[31, 49], Operations: ['65-34=31', '67-18=49']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,35 unequal: No Solution
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 35:[67, 13], Operations: ['65-34=31', '31-18=13']
Exploring Operation: 67+13=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 67*13=871, Resulting Numbers: [871]
871,35 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 35:[67, 49], Operations: ['65-34=31', '18+31=49']
Exploring Operation: 67*49=3283, Resulting Numbers: [3283]
3283,35 unequal: No Solution
Exploring Operation: 67+49=116, Resulting Numbers: [116]
116,35 unequal: No Solution
Exploring Operation: 67-49=18, Resulting Numbers: [18]
18,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 35:[31, 85], Operations: ['65-34=31', '67+18=85']
Exploring Operation: 31+85=116, Resulting Numbers: [116]
116,35 unequal: No Solution
Exploring Operation: 31*85=2635, Resulting Numbers: [2635]
2635,35 unequal: No Solution
Exploring Operation: 85-31=54, Resulting Numbers: [54]
54,35 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 |
[
84,
55,
48,
85
] | 66 | [
"84-55=29",
"85-48=37",
"29+37=66"
] | Current State: 66:[84, 55, 48, 85], Operations: []
Exploring Operation: 84-55=29, Resulting Numbers: [48, 85, 29]
Generated Node #2: [48, 85, 29] from Operation: 84-55=29
Current State: 66:[48, 85, 29], Operations: ['84-55=29']
Exploring Operation: 85-48=37, Resulting Numbers: [29, 37]
Generated Node #3: [29, 37] from Operation: 85-48=37
Current State: 66:[29, 37], Operations: ['84-55=29', '85-48=37']
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[84, 55, 48, 85], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [55, 48, 1]
Generated Node #0,0: 66:[55, 48, 1] Operation: 85-84=1
Moving to Node #0,0
Current State: 66:[55, 48, 1], Operations: ['85-84=1']
Exploring Operation: 55-48=7, Resulting Numbers: [1, 7]
Generated Node #0,0,0: 66:[1, 7] Operation: 55-48=7
Moving to Node #0,0,0
Current State: 66:[1, 7], Operations: ['85-84=1', '55-48=7']
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,66 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
13,
26,
79,
12
] | 89 | [
"26/13=2",
"79+12=91",
"91-2=89"
] | Current State: 89:[13, 26, 79, 12], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [79, 12, 2]
Generated Node #2: [79, 12, 2] from Operation: 26/13=2
Current State: 89:[79, 12, 2], Operations: ['26/13=2']
Exploring Operation: 79+12=91, Resulting Numbers: [2, 91]
Generated Node #3: [2, 91] from Operation: 79+12=91
Current State: 89:[2, 91], Operations: ['26/13=2', '79+12=91']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[13, 26, 79, 12], Operations: []
Exploring Operation: 13+26=39, Resulting Numbers: [79, 12, 39]
Generated Node #0,0: 89:[79, 12, 39] Operation: 13+26=39
Moving to Node #0,0
Current State: 89:[79, 12, 39], Operations: ['13+26=39']
Exploring Operation: 12+39=51, Resulting Numbers: [79, 51]
Generated Node #0,0,0: 89:[79, 51] Operation: 12+39=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[79, 51], Operations: ['13+26=39', '12+39=51']
Exploring Operation: 79+51=130, Resulting Numbers: [130]
130,89 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,
84,
81,
55
] | 51 | [
"98+55=153",
"84-81=3",
"153/3=51"
] | Current State: 51:[98, 84, 81, 55], Operations: []
Exploring Operation: 98+55=153, Resulting Numbers: [84, 81, 153]
Generated Node #2: [84, 81, 153] from Operation: 98+55=153
Current State: 51:[84, 81, 153], Operations: ['98+55=153']
Exploring Operation: 84-81=3, Resulting Numbers: [153, 3]
Generated Node #3: [153, 3] from Operation: 84-81=3
Current State: 51:[153, 3], Operations: ['98+55=153', '84-81=3']
Exploring Operation: 153/3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[98, 84, 81, 55], Operations: []
Exploring Operation: 98-55=43, Resulting Numbers: [84, 81, 43]
Generated Node #0,0: 51:[84, 81, 43] Operation: 98-55=43
Exploring Operation: 84-55=29, Resulting Numbers: [98, 81, 29]
Generated Node #0,1: 51:[98, 81, 29] Operation: 84-55=29
Exploring Operation: 98-81=17, Resulting Numbers: [84, 55, 17]
Generated Node #0,2: 51:[84, 55, 17] Operation: 98-81=17
Exploring Operation: 98-84=14, Resulting Numbers: [81, 55, 14]
Generated Node #0,3: 51:[81, 55, 14] Operation: 98-84=14
Exploring Operation: 84-81=3, Resulting Numbers: [98, 55, 3]
Generated Node #0,4: 51:[98, 55, 3] Operation: 84-81=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[84, 55, 17], Operations: ['98-81=17']
Exploring Operation: 84-17=67, Resulting Numbers: [55, 67]
Generated Node #0,2,0: 51:[55, 67] Operation: 84-17=67
Exploring Operation: 55+17=72, Resulting Numbers: [84, 72]
Generated Node #0,2,1: 51:[84, 72] Operation: 55+17=72
Exploring Operation: 55-17=38, Resulting Numbers: [84, 38]
Generated Node #0,2,2: 51:[84, 38] Operation: 55-17=38
Exploring Operation: 84+17=101, Resulting Numbers: [55, 101]
Generated Node #0,2,3: 51:[55, 101] Operation: 84+17=101
Exploring Operation: 84-55=29, Resulting Numbers: [17, 29]
Generated Node #0,2,4: 51:[17, 29] Operation: 84-55=29
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 51:[17, 29], Operations: ['98-81=17', '84-55=29']
Exploring Operation: 17*29=493, Resulting Numbers: [493]
493,51 unequal: No Solution
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[55, 67], Operations: ['98-81=17', '84-17=67']
Exploring Operation: 55+67=122, Resulting Numbers: [122]
122,51 unequal: No Solution
Exploring Operation: 67-55=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 55*67=3685, Resulting Numbers: [3685]
3685,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[84, 38], Operations: ['98-81=17', '55-17=38']
Exploring Operation: 84*38=3192, Resulting Numbers: [3192]
3192,51 unequal: No Solution
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 84+38=122, Resulting Numbers: [122]
122,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[84, 72], Operations: ['98-81=17', '55+17=72']
Exploring Operation: 84+72=156, Resulting Numbers: [156]
156,51 unequal: No Solution
Exploring Operation: 84*72=6048, Resulting Numbers: [6048]
6048,51 unequal: No Solution
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[55, 101], Operations: ['98-81=17', '84+17=101']
Exploring Operation: 55*101=5555, Resulting Numbers: [5555]
5555,51 unequal: No Solution
Exploring Operation: 55+101=156, Resulting Numbers: [156]
156,51 unequal: No Solution
Exploring Operation: 101-55=46, Resulting Numbers: [46]
46,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[81, 55, 14], Operations: ['98-84=14']
Exploring Operation: 55-14=41, Resulting Numbers: [81, 41]
Generated Node #0,3,0: 51:[81, 41] Operation: 55-14=41
Exploring Operation: 81-55=26, Resulting Numbers: [14, 26]
Generated Node #0,3,1: 51:[14, 26] Operation: 81-55=26
Exploring Operation: 81+14=95, Resulting Numbers: [55, 95]
Generated Node #0,3,2: 51:[55, 95] Operation: 81+14=95
Exploring Operation: 81-14=67, Resulting Numbers: [55, 67]
Generated Node #0,3,3: 51:[55, 67] Operation: 81-14=67
Exploring Operation: 55+14=69, Resulting Numbers: [81, 69]
Generated Node #0,3,4: 51:[81, 69] Operation: 55+14=69
Moving to Node #0,3,1
Current State: 51:[14, 26], Operations: ['98-84=14', '81-55=26']
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 14*26=364, Resulting Numbers: [364]
364,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[55, 67], Operations: ['98-84=14', '81-14=67']
Exploring Operation: 67-55=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 55+67=122, Resulting Numbers: [122]
122,51 unequal: No Solution
Exploring Operation: 55*67=3685, Resulting Numbers: [3685]
3685,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[81, 41], Operations: ['98-84=14', '55-14=41']
Exploring Operation: 81*41=3321, Resulting Numbers: [3321]
3321,51 unequal: No Solution
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 81+41=122, Resulting Numbers: [122]
122,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[55, 95], Operations: ['98-84=14', '81+14=95']
Exploring Operation: 95-55=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 55*95=5225, Resulting Numbers: [5225]
5225,51 unequal: No Solution
Exploring Operation: 55+95=150, Resulting Numbers: [150]
150,51 unequal: No Solution
Moving to Node #0,3,4
Current State: 51:[81, 69], Operations: ['98-84=14', '55+14=69']
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 81*69=5589, Resulting Numbers: [5589]
5589,51 unequal: No Solution
Exploring Operation: 81+69=150, Resulting Numbers: [150]
150,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,4
Current State: 51:[98, 55, 3], Operations: ['84-81=3']
Exploring Operation: 55+3=58, Resulting Numbers: [98, 58]
Generated Node #0,4,0: 51:[98, 58] Operation: 55+3=58
Exploring Operation: 55-3=52, Resulting Numbers: [98, 52]
Generated Node #0,4,1: 51:[98, 52] Operation: 55-3=52
Exploring Operation: 98+3=101, Resulting Numbers: [55, 101]
Generated Node #0,4,2: 51:[55, 101] Operation: 98+3=101
Exploring Operation: 98-3=95, Resulting Numbers: [55, 95]
Generated Node #0,4,3: 51:[55, 95] Operation: 98-3=95
Exploring Operation: 98-55=43, Resulting Numbers: [3, 43]
Generated Node #0,4,4: 51:[3, 43] Operation: 98-55=43
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 51:[3, 43], Operations: ['84-81=3', '98-55=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 51:[98, 52], Operations: ['84-81=3', '55-3=52']
Exploring Operation: 98*52=5096, Resulting Numbers: [5096]
5096,51 unequal: No Solution
Exploring Operation: 98-52=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 98+52=150, Resulting Numbers: [150]
150,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 51:[55, 95], Operations: ['84-81=3', '98-3=95']
Exploring Operation: 55*95=5225, Resulting Numbers: [5225]
5225,51 unequal: No Solution
Exploring Operation: 55+95=150, Resulting Numbers: [150]
150,51 unequal: No Solution
Exploring Operation: 95-55=40, Resulting Numbers: [40]
40,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 51:[98, 58], Operations: ['84-81=3', '55+3=58']
Exploring Operation: 98-58=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 98*58=5684, Resulting Numbers: [5684]
5684,51 unequal: No Solution
Exploring Operation: 98+58=156, Resulting Numbers: [156]
156,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 51:[55, 101], Operations: ['84-81=3', '98+3=101']
Exploring Operation: 55*101=5555, Resulting Numbers: [5555]
5555,51 unequal: No Solution
Exploring Operation: 101-55=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 55+101=156, Resulting Numbers: [156]
156,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[84, 81, 43], Operations: ['98-55=43']
Exploring Operation: 84-81=3, Resulting Numbers: [43, 3]
Generated Node #0,0,0: 51:[43, 3] Operation: 84-81=3
Exploring Operation: 81-43=38, Resulting Numbers: [84, 38]
Generated Node #0,0,1: 51:[84, 38] Operation: 81-43=38
Exploring Operation: 81+43=124, Resulting Numbers: [84, 124]
Generated Node #0,0,2: 51:[84, 124] Operation: 81+43=124
Exploring Operation: 84-43=41, Resulting Numbers: [81, 41]
Generated Node #0,0,3: 51:[81, 41] Operation: 84-43=41
Exploring Operation: 84+43=127, Resulting Numbers: [81, 127]
Generated Node #0,0,4: 51:[81, 127] Operation: 84+43=127
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[43, 3], Operations: ['98-55=43', '84-81=3']
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,51 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 51:[81, 41], Operations: ['98-55=43', '84-43=41']
Exploring Operation: 81+41=122, Resulting Numbers: [122]
122,51 unequal: No Solution
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 81*41=3321, Resulting Numbers: [3321]
3321,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[84, 38], Operations: ['98-55=43', '81-43=38']
Exploring Operation: 84+38=122, Resulting Numbers: [122]
122,51 unequal: No Solution
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 84*38=3192, Resulting Numbers: [3192]
3192,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[84, 124], Operations: ['98-55=43', '81+43=124']
Exploring Operation: 84+124=208, Resulting Numbers: [208]
208,51 unequal: No Solution
Exploring Operation: 124-84=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 84*124=10416, Resulting Numbers: [10416]
10416,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 51:[81, 127], Operations: ['98-55=43', '84+43=127']
Exploring Operation: 127-81=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 81+127=208, Resulting Numbers: [208]
208,51 unequal: No Solution
Exploring Operation: 81*127=10287, Resulting Numbers: [10287]
10287,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[98, 81, 29], Operations: ['84-55=29']
Exploring Operation: 98+29=127, Resulting Numbers: [81, 127]
Generated Node #0,1,0: 51:[81, 127] Operation: 98+29=127
Exploring Operation: 81+29=110, Resulting Numbers: [98, 110]
Generated Node #0,1,1: 51:[98, 110] Operation: 81+29=110
Exploring Operation: 98-81=17, Resulting Numbers: [29, 17]
Generated Node #0,1,2: 51:[29, 17] Operation: 98-81=17
Exploring Operation: 98-29=69, Resulting Numbers: [81, 69]
Generated Node #0,1,3: 51:[81, 69] Operation: 98-29=69
Exploring Operation: 81-29=52, Resulting Numbers: [98, 52]
Generated Node #0,1,4: 51:[98, 52] Operation: 81-29=52
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[29, 17], Operations: ['84-55=29', '98-81=17']
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,51 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 51:[81, 69], Operations: ['84-55=29', '98-29=69']
Exploring Operation: 81*69=5589, Resulting Numbers: [5589]
5589,51 unequal: No Solution
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 81+69=150, Resulting Numbers: [150]
150,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 51:[98, 52], Operations: ['84-55=29', '81-29=52']
Exploring Operation: 98-52=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 98*52=5096, Resulting Numbers: [5096]
5096,51 unequal: No Solution
Exploring Operation: 98+52=150, Resulting Numbers: [150]
150,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[81, 127], Operations: ['84-55=29', '98+29=127']
Exploring Operation: 81*127=10287, Resulting Numbers: [10287]
10287,51 unequal: No Solution
Exploring Operation: 127-81=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 81+127=208, Resulting Numbers: [208]
208,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[98, 110], Operations: ['84-55=29', '81+29=110']
Exploring Operation: 110-98=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 98+110=208, Resulting Numbers: [208]
208,51 unequal: No Solution
Exploring Operation: 98*110=10780, Resulting Numbers: [10780]
10780,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
71,
64,
67,
85
] | 52 | [
"71+85=156",
"67-64=3",
"156/3=52"
] | Current State: 52:[71, 64, 67, 85], Operations: []
Exploring Operation: 71+85=156, Resulting Numbers: [64, 67, 156]
Generated Node #2: [64, 67, 156] from Operation: 71+85=156
Current State: 52:[64, 67, 156], Operations: ['71+85=156']
Exploring Operation: 67-64=3, Resulting Numbers: [156, 3]
Generated Node #3: [156, 3] from Operation: 67-64=3
Current State: 52:[156, 3], Operations: ['71+85=156', '67-64=3']
Exploring Operation: 156/3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[71, 64, 67, 85], Operations: []
Exploring Operation: 85-67=18, Resulting Numbers: [71, 64, 18]
Generated Node #0,0: 52:[71, 64, 18] Operation: 85-67=18
Exploring Operation: 71-64=7, Resulting Numbers: [67, 85, 7]
Generated Node #0,1: 52:[67, 85, 7] Operation: 71-64=7
Exploring Operation: 85-71=14, Resulting Numbers: [64, 67, 14]
Generated Node #0,2: 52:[64, 67, 14] Operation: 85-71=14
Exploring Operation: 85-64=21, Resulting Numbers: [71, 67, 21]
Generated Node #0,3: 52:[71, 67, 21] Operation: 85-64=21
Exploring Operation: 71-67=4, Resulting Numbers: [64, 85, 4]
Generated Node #0,4: 52:[64, 85, 4] Operation: 71-67=4
Moving to Node #0,2
Current State: 52:[64, 67, 14], Operations: ['85-71=14']
Exploring Operation: 67-14=53, Resulting Numbers: [64, 53]
Generated Node #0,2,0: 52:[64, 53] Operation: 67-14=53
Exploring Operation: 67+14=81, Resulting Numbers: [64, 81]
Generated Node #0,2,1: 52:[64, 81] Operation: 67+14=81
Exploring Operation: 64+14=78, Resulting Numbers: [67, 78]
Generated Node #0,2,2: 52:[67, 78] Operation: 64+14=78
Exploring Operation: 64-14=50, Resulting Numbers: [67, 50]
Generated Node #0,2,3: 52:[67, 50] Operation: 64-14=50
Exploring Operation: 67-64=3, Resulting Numbers: [14, 3]
Generated Node #0,2,4: 52:[14, 3] Operation: 67-64=3
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 52:[14, 3], Operations: ['85-71=14', '67-64=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[64, 53], Operations: ['85-71=14', '67-14=53']
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 64*53=3392, Resulting Numbers: [3392]
3392,52 unequal: No Solution
Exploring Operation: 64+53=117, Resulting Numbers: [117]
117,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 52:[67, 50], Operations: ['85-71=14', '64-14=50']
Exploring Operation: 67*50=3350, Resulting Numbers: [3350]
3350,52 unequal: No Solution
Exploring Operation: 67+50=117, Resulting Numbers: [117]
117,52 unequal: No Solution
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[64, 81], Operations: ['85-71=14', '67+14=81']
Exploring Operation: 64*81=5184, Resulting Numbers: [5184]
5184,52 unequal: No Solution
Exploring Operation: 64+81=145, Resulting Numbers: [145]
145,52 unequal: No Solution
Exploring Operation: 81-64=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[67, 78], Operations: ['85-71=14', '64+14=78']
Exploring Operation: 67*78=5226, Resulting Numbers: [5226]
5226,52 unequal: No Solution
Exploring Operation: 78-67=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 67+78=145, Resulting Numbers: [145]
145,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 52:[71, 64, 18], Operations: ['85-67=18']
Exploring Operation: 64+18=82, Resulting Numbers: [71, 82]
Generated Node #0,0,0: 52:[71, 82] Operation: 64+18=82
Exploring Operation: 71+18=89, Resulting Numbers: [64, 89]
Generated Node #0,0,1: 52:[64, 89] Operation: 71+18=89
Exploring Operation: 64-18=46, Resulting Numbers: [71, 46]
Generated Node #0,0,2: 52:[71, 46] Operation: 64-18=46
Exploring Operation: 71-18=53, Resulting Numbers: [64, 53]
Generated Node #0,0,3: 52:[64, 53] Operation: 71-18=53
Exploring Operation: 71-64=7, Resulting Numbers: [18, 7]
Generated Node #0,0,4: 52:[18, 7] Operation: 71-64=7
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 52:[18, 7], Operations: ['85-67=18', '71-64=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,52 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 52:[64, 53], Operations: ['85-67=18', '71-18=53']
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 64*53=3392, Resulting Numbers: [3392]
3392,52 unequal: No Solution
Exploring Operation: 64+53=117, Resulting Numbers: [117]
117,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[71, 46], Operations: ['85-67=18', '64-18=46']
Exploring Operation: 71+46=117, Resulting Numbers: [117]
117,52 unequal: No Solution
Exploring Operation: 71*46=3266, Resulting Numbers: [3266]
3266,52 unequal: No Solution
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[71, 82], Operations: ['85-67=18', '64+18=82']
Exploring Operation: 71+82=153, Resulting Numbers: [153]
153,52 unequal: No Solution
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 71*82=5822, Resulting Numbers: [5822]
5822,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[64, 89], Operations: ['85-67=18', '71+18=89']
Exploring Operation: 64+89=153, Resulting Numbers: [153]
153,52 unequal: No Solution
Exploring Operation: 64*89=5696, Resulting Numbers: [5696]
5696,52 unequal: No Solution
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 52:[71, 67, 21], Operations: ['85-64=21']
Exploring Operation: 71+21=92, Resulting Numbers: [67, 92]
Generated Node #0,3,0: 52:[67, 92] Operation: 71+21=92
Exploring Operation: 71-21=50, Resulting Numbers: [67, 50]
Generated Node #0,3,1: 52:[67, 50] Operation: 71-21=50
Exploring Operation: 67+21=88, Resulting Numbers: [71, 88]
Generated Node #0,3,2: 52:[71, 88] Operation: 67+21=88
Exploring Operation: 67-21=46, Resulting Numbers: [71, 46]
Generated Node #0,3,3: 52:[71, 46] Operation: 67-21=46
Exploring Operation: 71-67=4, Resulting Numbers: [21, 4]
Generated Node #0,3,4: 52:[21, 4] Operation: 71-67=4
Moving to Node #0,4
Current State: 52:[64, 85, 4], Operations: ['71-67=4']
Exploring Operation: 85-4=81, Resulting Numbers: [64, 81]
Generated Node #0,4,0: 52:[64, 81] Operation: 85-4=81
Exploring Operation: 64/4=16, Resulting Numbers: [85, 16]
Generated Node #0,4,1: 52:[85, 16] Operation: 64/4=16
Exploring Operation: 64-4=60, Resulting Numbers: [85, 60]
Generated Node #0,4,2: 52:[85, 60] Operation: 64-4=60
Exploring Operation: 85-64=21, Resulting Numbers: [4, 21]
Generated Node #0,4,3: 52:[4, 21] Operation: 85-64=21
Exploring Operation: 64+4=68, Resulting Numbers: [85, 68]
Generated Node #0,4,4: 52:[85, 68] Operation: 64+4=68
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 52:[4, 21], Operations: ['71-67=4', '85-64=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,52 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 52:[85, 16], Operations: ['71-67=4', '64/4=16']
Exploring Operation: 85+16=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 85-16=69, Resulting Numbers: [69]
69,52 unequal: No Solution
Exploring Operation: 85*16=1360, Resulting Numbers: [1360]
1360,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,0
Current State: 52:[64, 81], Operations: ['71-67=4', '85-4=81']
Exploring Operation: 81-64=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 64*81=5184, Resulting Numbers: [5184]
5184,52 unequal: No Solution
Exploring Operation: 64+81=145, Resulting Numbers: [145]
145,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,2
Current State: 52:[85, 60], Operations: ['71-67=4', '64-4=60']
Exploring Operation: 85-60=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 85+60=145, Resulting Numbers: [145]
145,52 unequal: No Solution
Exploring Operation: 85*60=5100, Resulting Numbers: [5100]
5100,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:[85, 68], Operations: ['71-67=4', '64+4=68']
Exploring Operation: 85+68=153, Resulting Numbers: [153]
153,52 unequal: No Solution
Exploring Operation: 85*68=5780, Resulting Numbers: [5780]
5780,52 unequal: No Solution
Exploring Operation: 85-68=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 52:[67, 85, 7], Operations: ['71-64=7']
Exploring Operation: 67+7=74, Resulting Numbers: [85, 74]
Generated Node #0,1,0: 52:[85, 74] Operation: 67+7=74
Exploring Operation: 85+7=92, Resulting Numbers: [67, 92]
Generated Node #0,1,1: 52:[67, 92] Operation: 85+7=92
Exploring Operation: 85-67=18, Resulting Numbers: [7, 18]
Generated Node #0,1,2: 52:[7, 18] Operation: 85-67=18
Exploring Operation: 85-7=78, Resulting Numbers: [67, 78]
Generated Node #0,1,3: 52:[67, 78] Operation: 85-7=78
Exploring Operation: 67-7=60, Resulting Numbers: [85, 60]
Generated Node #0,1,4: 52:[85, 60] Operation: 67-7=60
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[7, 18], Operations: ['71-64=7', '85-67=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[67, 78], Operations: ['71-64=7', '85-7=78']
Exploring Operation: 78-67=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 67+78=145, Resulting Numbers: [145]
145,52 unequal: No Solution
Exploring Operation: 67*78=5226, Resulting Numbers: [5226]
5226,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 52:[85, 60], Operations: ['71-64=7', '67-7=60']
Exploring Operation: 85*60=5100, Resulting Numbers: [5100]
5100,52 unequal: No Solution
Exploring Operation: 85-60=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 85+60=145, Resulting Numbers: [145]
145,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[85, 74], Operations: ['71-64=7', '67+7=74']
Exploring Operation: 85+74=159, Resulting Numbers: [159]
159,52 unequal: No Solution
Exploring Operation: 85-74=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 85*74=6290, Resulting Numbers: [6290]
6290,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[67, 92], Operations: ['71-64=7', '85+7=92']
Exploring Operation: 67+92=159, Resulting Numbers: [159]
159,52 unequal: No Solution
Exploring Operation: 67*92=6164, Resulting Numbers: [6164]
6164,52 unequal: No Solution
Exploring Operation: 92-67=25, Resulting Numbers: [25]
25,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 52:[21, 4], Operations: ['85-64=21', '71-67=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[67, 50], Operations: ['85-64=21', '71-21=50']
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 67*50=3350, Resulting Numbers: [3350]
3350,52 unequal: No Solution
Exploring Operation: 67+50=117, Resulting Numbers: [117]
117,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[71, 46], Operations: ['85-64=21', '67-21=46']
Exploring Operation: 71+46=117, Resulting Numbers: [117]
117,52 unequal: No Solution
Exploring Operation: 71*46=3266, Resulting Numbers: [3266]
3266,52 unequal: No Solution
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[67, 92], Operations: ['85-64=21', '71+21=92']
Exploring Operation: 92-67=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 67*92=6164, Resulting Numbers: [6164]
6164,52 unequal: No Solution
Exploring Operation: 67+92=159, Resulting Numbers: [159]
159,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[71, 88], Operations: ['85-64=21', '67+21=88']
Exploring Operation: 71*88=6248, Resulting Numbers: [6248]
6248,52 unequal: No Solution
Exploring Operation: 88-71=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 71+88=159, Resulting Numbers: [159]
159,52 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
88,
84,
49,
28
] | 25 | [
"88-84=4",
"49-28=21",
"4+21=25"
] | Current State: 25:[88, 84, 49, 28], Operations: []
Exploring Operation: 88-84=4, Resulting Numbers: [49, 28, 4]
Generated Node #2: [49, 28, 4] from Operation: 88-84=4
Current State: 25:[49, 28, 4], Operations: ['88-84=4']
Exploring Operation: 49-28=21, Resulting Numbers: [4, 21]
Generated Node #3: [4, 21] from Operation: 49-28=21
Current State: 25:[4, 21], Operations: ['88-84=4', '49-28=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[88, 84, 49, 28], Operations: []
Exploring Operation: 88-49=39, Resulting Numbers: [84, 28, 39]
Generated Node #0,0: 25:[84, 28, 39] Operation: 88-49=39
Exploring Operation: 84-49=35, Resulting Numbers: [88, 28, 35]
Generated Node #0,1: 25:[88, 28, 35] Operation: 84-49=35
Exploring Operation: 84/28=3, Resulting Numbers: [88, 49, 3]
Generated Node #0,2: 25:[88, 49, 3] Operation: 84/28=3
Exploring Operation: 88-84=4, Resulting Numbers: [49, 28, 4]
Generated Node #0,3: 25:[49, 28, 4] Operation: 88-84=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[49, 28, 4], Operations: ['88-84=4']
Exploring Operation: 28-4=24, Resulting Numbers: [49, 24]
Generated Node #0,3,0: 25:[49, 24] Operation: 28-4=24
Exploring Operation: 49-4=45, Resulting Numbers: [28, 45]
Generated Node #0,3,1: 25:[28, 45] Operation: 49-4=45
Exploring Operation: 28/4=7, Resulting Numbers: [49, 7]
Generated Node #0,3,2: 25:[49, 7] Operation: 28/4=7
Exploring Operation: 49-28=21, Resulting Numbers: [4, 21]
Generated Node #0,3,3: 25:[4, 21] Operation: 49-28=21
Moving to Node #0,3,3
Current State: 25:[4, 21], Operations: ['88-84=4', '49-28=21']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,25 unequal: No Solution
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[88, 84, 49, 28], Operations: []
Exploring Operation: 88-84=4, Resulting Numbers: [49, 28, 4]
Generated Node #0,3: 25:[49, 28, 4] Operation: 88-84=4
Moving to Node #0,3
Current State: 25:[49, 28, 4], Operations: ['88-84=4']
Exploring Operation: 49-28=21, Resulting Numbers: [4, 21]
Generated Node #0,3,3: 25:[4, 21] Operation: 49-28=21
Moving to Node #0,3,3
Current State: 25:[4, 21], Operations: ['88-84=4', '49-28=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
2,
38,
68,
34
] | 94 | [
"68-38=30",
"2*30=60",
"34+60=94"
] | Current State: 94:[2, 38, 68, 34], Operations: []
Exploring Operation: 68-38=30, Resulting Numbers: [2, 34, 30]
Generated Node #2: [2, 34, 30] from Operation: 68-38=30
Current State: 94:[2, 34, 30], Operations: ['68-38=30']
Exploring Operation: 2*30=60, Resulting Numbers: [34, 60]
Generated Node #3: [34, 60] from Operation: 2*30=60
Current State: 94:[34, 60], Operations: ['68-38=30', '2*30=60']
Exploring Operation: 34+60=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[2, 38, 68, 34], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [2, 38, 2]
Generated Node #0,0: 94:[2, 38, 2] Operation: 68/34=2
Exploring Operation: 68-34=34, Resulting Numbers: [2, 38, 34]
Generated Node #0,1: 94:[2, 38, 34] Operation: 68-34=34
Exploring Operation: 68+34=102, Resulting Numbers: [2, 38, 102]
Generated Node #0,2: 94:[2, 38, 102] Operation: 68+34=102
Moving to Node #0,0
Current State: 94:[2, 38, 2], Operations: ['68/34=2']
Exploring Operation: 2+38=40, Resulting Numbers: [2, 40]
Generated Node #0,0,0: 94:[2, 40] Operation: 2+38=40
Exploring Operation: 38+2=40, Resulting Numbers: [2, 40]
Generated Node #0,0,1: 94:[2, 40] Operation: 38+2=40
Exploring Operation: 2/2=1, Resulting Numbers: [38, 1]
Generated Node #0,0,2: 94:[38, 1] Operation: 2/2=1
Moving to Node #0,2
Current State: 94:[2, 38, 102], Operations: ['68+34=102']
Exploring Operation: 102-2=100, Resulting Numbers: [38, 100]
Generated Node #0,2,0: 94:[38, 100] Operation: 102-2=100
Exploring Operation: 2+38=40, Resulting Numbers: [102, 40]
Generated Node #0,2,1: 94:[102, 40] Operation: 2+38=40
Exploring Operation: 102/2=51, Resulting Numbers: [38, 51]
Generated Node #0,2,2: 94:[38, 51] Operation: 102/2=51
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[38, 51], Operations: ['68+34=102', '102/2=51']
Exploring Operation: 38*51=1938, Resulting Numbers: [1938]
1938,94 unequal: No Solution
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Exploring Operation: 38+51=89, Resulting Numbers: [89]
89,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[38, 100], Operations: ['68+34=102', '102-2=100']
Exploring Operation: 100-38=62, Resulting Numbers: [62]
62,94 unequal: No Solution
Exploring Operation: 38*100=3800, Resulting Numbers: [3800]
3800,94 unequal: No Solution
Exploring Operation: 38+100=138, Resulting Numbers: [138]
138,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[102, 40], Operations: ['68+34=102', '2+38=40']
Exploring Operation: 102-40=62, Resulting Numbers: [62]
62,94 unequal: No Solution
Exploring Operation: 102*40=4080, Resulting Numbers: [4080]
4080,94 unequal: No Solution
Exploring Operation: 102+40=142, Resulting Numbers: [142]
142,94 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: 94:[2, 38, 34], Operations: ['68-34=34']
Exploring Operation: 2+34=36, Resulting Numbers: [38, 36]
Generated Node #0,1,0: 94:[38, 36] Operation: 2+34=36
Exploring Operation: 38-34=4, Resulting Numbers: [2, 4]
Generated Node #0,1,1: 94:[2, 4] Operation: 38-34=4
Exploring Operation: 2+38=40, Resulting Numbers: [34, 40]
Generated Node #0,1,2: 94:[34, 40] Operation: 2+38=40
Moving to Node #0,1,1
Current State: 94:[2, 4], Operations: ['68-34=34', '38-34=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[2, 40], Operations: ['68/34=2', '2+38=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,94 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[2, 40], Operations: ['68/34=2', '38+2=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,94 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[38, 1], Operations: ['68/34=2', '2/2=1']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[34, 40], Operations: ['68-34=34', '2+38=40']
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,94 unequal: No Solution
Exploring Operation: 34*40=1360, Resulting Numbers: [1360]
1360,94 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[38, 36], Operations: ['68-34=34', '2+34=36']
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,94 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,94 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
68,
37,
46,
19
] | 78 | [
"68+37=105",
"46-19=27",
"105-27=78"
] | Current State: 78:[68, 37, 46, 19], Operations: []
Exploring Operation: 68+37=105, Resulting Numbers: [46, 19, 105]
Generated Node #2: [46, 19, 105] from Operation: 68+37=105
Current State: 78:[46, 19, 105], Operations: ['68+37=105']
Exploring Operation: 46-19=27, Resulting Numbers: [105, 27]
Generated Node #3: [105, 27] from Operation: 46-19=27
Current State: 78:[105, 27], Operations: ['68+37=105', '46-19=27']
Exploring Operation: 105-27=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[68, 37, 46, 19], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [37, 19, 22]
Generated Node #0,0: 78:[37, 19, 22] Operation: 68-46=22
Exploring Operation: 68-37=31, Resulting Numbers: [46, 19, 31]
Generated Node #0,1: 78:[46, 19, 31] Operation: 68-37=31
Exploring Operation: 46-19=27, Resulting Numbers: [68, 37, 27]
Generated Node #0,2: 78:[68, 37, 27] Operation: 46-19=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[37, 19, 22], Operations: ['68-46=22']
Exploring Operation: 22-19=3, Resulting Numbers: [37, 3]
Generated Node #0,0,0: 78:[37, 3] Operation: 22-19=3
Exploring Operation: 19+22=41, Resulting Numbers: [37, 41]
Generated Node #0,0,1: 78:[37, 41] Operation: 19+22=41
Exploring Operation: 37-22=15, Resulting Numbers: [19, 15]
Generated Node #0,0,2: 78:[19, 15] Operation: 37-22=15
Moving to Node #0,0,0
Current State: 78:[37, 3], Operations: ['68-46=22', '22-19=3']
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,78 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[37, 41], Operations: ['68-46=22', '19+22=41']
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[68, 37, 46, 19], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [37, 19, 22]
Generated Node #0,0: 78:[37, 19, 22] Operation: 68-46=22
Moving to Node #0,0
Current State: 78:[37, 19, 22], Operations: ['68-46=22']
Exploring Operation: 19+22=41, Resulting Numbers: [37, 41]
Generated Node #0,0,1: 78:[37, 41] Operation: 19+22=41
Moving to Node #0,0,1
Current State: 78:[37, 41], Operations: ['68-46=22', '19+22=41']
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
93,
31,
39,
42
] | 62 | [
"42-39=3",
"93/3=31",
"31+31=62"
] | Current State: 62:[93, 31, 39, 42], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [93, 31, 3]
Generated Node #2: [93, 31, 3] from Operation: 42-39=3
Current State: 62:[93, 31, 3], Operations: ['42-39=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31, 31]
Generated Node #3: [31, 31] from Operation: 93/3=31
Current State: 62:[31, 31], Operations: ['42-39=3', '93/3=31']
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[93, 31, 39, 42], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [93, 31, 3]
Generated Node #0,0: 62:[93, 31, 3] Operation: 42-39=3
Exploring Operation: 93-39=54, Resulting Numbers: [31, 42, 54]
Generated Node #0,1: 62:[31, 42, 54] Operation: 93-39=54
Exploring Operation: 93-31=62, Resulting Numbers: [39, 42, 62]
Generated Node #0,2: 62:[39, 42, 62] Operation: 93-31=62
Exploring Operation: 93-42=51, Resulting Numbers: [31, 39, 51]
Generated Node #0,3: 62:[31, 39, 51] Operation: 93-42=51
Exploring Operation: 93/31=3, Resulting Numbers: [39, 42, 3]
Generated Node #0,4: 62:[39, 42, 3] Operation: 93/31=3
Moving to Node #0,1
Current State: 62:[31, 42, 54], Operations: ['93-39=54']
Exploring Operation: 42-31=11, Resulting Numbers: [54, 11]
Generated Node #0,1,0: 62:[54, 11] Operation: 42-31=11
Exploring Operation: 31+42=73, Resulting Numbers: [54, 73]
Generated Node #0,1,1: 62:[54, 73] Operation: 31+42=73
Exploring Operation: 31+54=85, Resulting Numbers: [42, 85]
Generated Node #0,1,2: 62:[42, 85] Operation: 31+54=85
Exploring Operation: 54-42=12, Resulting Numbers: [31, 12]
Generated Node #0,1,3: 62:[31, 12] Operation: 54-42=12
Exploring Operation: 54-31=23, Resulting Numbers: [42, 23]
Generated Node #0,1,4: 62:[42, 23] Operation: 54-31=23
Moving to Node #0,3
Current State: 62:[31, 39, 51], Operations: ['93-42=51']
Exploring Operation: 31+39=70, Resulting Numbers: [51, 70]
Generated Node #0,3,0: 62:[51, 70] Operation: 31+39=70
Exploring Operation: 31+51=82, Resulting Numbers: [39, 82]
Generated Node #0,3,1: 62:[39, 82] Operation: 31+51=82
Exploring Operation: 39-31=8, Resulting Numbers: [51, 8]
Generated Node #0,3,2: 62:[51, 8] Operation: 39-31=8
Exploring Operation: 51-31=20, Resulting Numbers: [39, 20]
Generated Node #0,3,3: 62:[39, 20] Operation: 51-31=20
Exploring Operation: 51-39=12, Resulting Numbers: [31, 12]
Generated Node #0,3,4: 62:[31, 12] Operation: 51-39=12
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 62:[31, 12], Operations: ['93-42=51', '51-39=12']
Exploring Operation: 31*12=372, Resulting Numbers: [372]
372,62 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,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,3,2
Current State: 62:[51, 8], Operations: ['93-42=51', '39-31=8']
Exploring Operation: 51*8=408, Resulting Numbers: [408]
408,62 unequal: No Solution
Exploring Operation: 51+8=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,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,3,0
Current State: 62:[51, 70], Operations: ['93-42=51', '31+39=70']
Exploring Operation: 51*70=3570, Resulting Numbers: [3570]
3570,62 unequal: No Solution
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 51+70=121, Resulting Numbers: [121]
121,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,3,3
Current State: 62:[39, 20], Operations: ['93-42=51', '51-31=20']
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,62 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,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,3,1
Current State: 62:[39, 82], Operations: ['93-42=51', '31+51=82']
Exploring Operation: 82-39=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 39*82=3198, Resulting Numbers: [3198]
3198,62 unequal: No Solution
Exploring Operation: 39+82=121, Resulting Numbers: [121]
121,62 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: 62:[39, 42, 62], Operations: ['93-31=62']
Exploring Operation: 62-42=20, Resulting Numbers: [39, 20]
Generated Node #0,2,0: 62:[39, 20] Operation: 62-42=20
Exploring Operation: 62-39=23, Resulting Numbers: [42, 23]
Generated Node #0,2,1: 62:[42, 23] Operation: 62-39=23
Exploring Operation: 42-39=3, Resulting Numbers: [62, 3]
Generated Node #0,2,2: 62:[62, 3] Operation: 42-39=3
Exploring Operation: 39+42=81, Resulting Numbers: [62, 81]
Generated Node #0,2,3: 62:[62, 81] Operation: 39+42=81
Exploring Operation: 39+62=101, Resulting Numbers: [42, 101]
Generated Node #0,2,4: 62:[42, 101] Operation: 39+62=101
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[62, 3], Operations: ['93-31=62', '42-39=3']
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,62 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[39, 20], Operations: ['93-31=62', '62-42=20']
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,62 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[42, 23], Operations: ['93-31=62', '62-39=23']
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 42*23=966, Resulting Numbers: [966]
966,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 62:[62, 81], Operations: ['93-31=62', '39+42=81']
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 62+81=143, Resulting Numbers: [143]
143,62 unequal: No Solution
Exploring Operation: 62*81=5022, Resulting Numbers: [5022]
5022,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 62:[42, 101], Operations: ['93-31=62', '39+62=101']
Exploring Operation: 42*101=4242, Resulting Numbers: [4242]
4242,62 unequal: No Solution
Exploring Operation: 42+101=143, Resulting Numbers: [143]
143,62 unequal: No Solution
Exploring Operation: 101-42=59, Resulting Numbers: [59]
59,62 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: 62:[39, 42, 3], Operations: ['93/31=3']
Exploring Operation: 42/3=14, Resulting Numbers: [39, 14]
Generated Node #0,4,0: 62:[39, 14] Operation: 42/3=14
Exploring Operation: 39+42=81, Resulting Numbers: [3, 81]
Generated Node #0,4,1: 62:[3, 81] Operation: 39+42=81
Exploring Operation: 42-39=3, Resulting Numbers: [3, 3]
Generated Node #0,4,2: 62:[3, 3] Operation: 42-39=3
Exploring Operation: 39-3=36, Resulting Numbers: [42, 36]
Generated Node #0,4,3: 62:[42, 36] Operation: 39-3=36
Exploring Operation: 42-3=39, Resulting Numbers: [39, 39]
Generated Node #0,4,4: 62:[39, 39] Operation: 42-3=39
Moving to Node #0,0
Current State: 62:[93, 31, 3], Operations: ['42-39=3']
Exploring Operation: 93-31=62, Resulting Numbers: [3, 62]
Generated Node #0,0,0: 62:[3, 62] Operation: 93-31=62
Exploring Operation: 93/31=3, Resulting Numbers: [3, 3]
Generated Node #0,0,1: 62:[3, 3] Operation: 93/31=3
Exploring Operation: 93/3=31, Resulting Numbers: [31, 31]
Generated Node #0,0,2: 62:[31, 31] Operation: 93/3=31
Exploring Operation: 93-3=90, Resulting Numbers: [31, 90]
Generated Node #0,0,3: 62:[31, 90] Operation: 93-3=90
Exploring Operation: 93+3=96, Resulting Numbers: [31, 96]
Generated Node #0,0,4: 62:[31, 96] Operation: 93+3=96
Moving to Node #0,0,2
Current State: 62:[31, 31], Operations: ['42-39=3', '93/3=31']
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[93, 31, 39, 42], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [93, 31, 3]
Generated Node #0,0: 62:[93, 31, 3] Operation: 42-39=3
Moving to Node #0,0
Current State: 62:[93, 31, 3], Operations: ['42-39=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31, 31]
Generated Node #0,0,2: 62:[31, 31] Operation: 93/3=31
Moving to Node #0,0,2
Current State: 62:[31, 31], Operations: ['42-39=3', '93/3=31']
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.943576 | hs_5 | mult_heuristic |
[
60,
30,
60,
20
] | 82 | [
"60/30=2",
"60+20=80",
"2+80=82"
] | Current State: 82:[60, 30, 60, 20], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [20, 2]
Generated Node #2: [20, 2] from Operation: 60/30=2
Current State: 82:[20, 2], Operations: ['60/30=2']
Exploring Operation: 60+20=80, Resulting Numbers: [2, 80]
Generated Node #3: [2, 80] from Operation: 60+20=80
Current State: 82:[2, 80], Operations: ['60/30=2', '60+20=80']
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[60, 30, 60, 20], Operations: []
Exploring Operation: 60/60=1, Resulting Numbers: [30, 20, 1]
Generated Node #0,0: 82:[30, 20, 1] Operation: 60/60=1
Moving to Node #0,0
Current State: 82:[30, 20, 1], Operations: ['60/60=1']
Exploring Operation: 30-20=10, Resulting Numbers: [1, 10]
Generated Node #0,0,0: 82:[1, 10] Operation: 30-20=10
Moving to Node #0,0,0
Current State: 82:[1, 10], Operations: ['60/60=1', '30-20=10']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,82 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
63,
31,
67,
47
] | 64 | [
"67-63=4",
"47-31=16",
"4*16=64"
] | Current State: 64:[63, 31, 67, 47], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [31, 47, 4]
Generated Node #2: [31, 47, 4] from Operation: 67-63=4
Current State: 64:[31, 47, 4], Operations: ['67-63=4']
Exploring Operation: 47-31=16, Resulting Numbers: [4, 16]
Generated Node #3: [4, 16] from Operation: 47-31=16
Current State: 64:[4, 16], Operations: ['67-63=4', '47-31=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[63, 31, 67, 47], Operations: []
Exploring Operation: 63-47=16, Resulting Numbers: [31, 67, 16]
Generated Node #0,0: 64:[31, 67, 16] Operation: 63-47=16
Exploring Operation: 67-47=20, Resulting Numbers: [63, 31, 20]
Generated Node #0,1: 64:[63, 31, 20] Operation: 67-47=20
Exploring Operation: 47-31=16, Resulting Numbers: [63, 67, 16]
Generated Node #0,2: 64:[63, 67, 16] Operation: 47-31=16
Moving to Node #0,0
Current State: 64:[31, 67, 16], Operations: ['63-47=16']
Exploring Operation: 31-16=15, Resulting Numbers: [67, 15]
Generated Node #0,0,0: 64:[67, 15] Operation: 31-16=15
Exploring Operation: 67-31=36, Resulting Numbers: [16, 36]
Generated Node #0,0,1: 64:[16, 36] Operation: 67-31=36
Exploring Operation: 67-16=51, Resulting Numbers: [31, 51]
Generated Node #0,0,2: 64:[31, 51] Operation: 67-16=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[67, 15], Operations: ['63-47=16', '31-16=15']
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 67*15=1005, Resulting Numbers: [1005]
1005,64 unequal: No Solution
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,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,1
Current State: 64:[16, 36], Operations: ['63-47=16', '67-31=36']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 16*36=576, Resulting Numbers: [576]
576,64 unequal: No Solution
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,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:[31, 51], Operations: ['63-47=16', '67-16=51']
Exploring Operation: 31*51=1581, Resulting Numbers: [1581]
1581,64 unequal: No Solution
Exploring Operation: 31+51=82, Resulting Numbers: [82]
82,64 unequal: No Solution
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,64 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: 64:[63, 67, 16], Operations: ['47-31=16']
Exploring Operation: 67-16=51, Resulting Numbers: [63, 51]
Generated Node #0,2,0: 64:[63, 51] Operation: 67-16=51
Exploring Operation: 67-63=4, Resulting Numbers: [16, 4]
Generated Node #0,2,1: 64:[16, 4] Operation: 67-63=4
Exploring Operation: 63+16=79, Resulting Numbers: [67, 79]
Generated Node #0,2,2: 64:[67, 79] Operation: 63+16=79
Moving to Node #0,1
Current State: 64:[63, 31, 20], Operations: ['67-47=20']
Exploring Operation: 63-31=32, Resulting Numbers: [20, 32]
Generated Node #0,1,0: 64:[20, 32] Operation: 63-31=32
Exploring Operation: 63-20=43, Resulting Numbers: [31, 43]
Generated Node #0,1,1: 64:[31, 43] Operation: 63-20=43
Exploring Operation: 31-20=11, Resulting Numbers: [63, 11]
Generated Node #0,1,2: 64:[63, 11] Operation: 31-20=11
Moving to Node #0,2,1
Current State: 64:[16, 4], Operations: ['47-31=16', '67-63=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[63, 31, 67, 47], Operations: []
Exploring Operation: 47-31=16, Resulting Numbers: [63, 67, 16]
Generated Node #0,2: 64:[63, 67, 16] Operation: 47-31=16
Moving to Node #0,2
Current State: 64:[63, 67, 16], Operations: ['47-31=16']
Exploring Operation: 67-63=4, Resulting Numbers: [16, 4]
Generated Node #0,2,1: 64:[16, 4] Operation: 67-63=4
Moving to Node #0,2,1
Current State: 64:[16, 4], Operations: ['47-31=16', '67-63=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
22,
73,
50,
14
] | 13 | [
"73-22=51",
"50+14=64",
"64-51=13"
] | Current State: 13:[22, 73, 50, 14], Operations: []
Exploring Operation: 73-22=51, Resulting Numbers: [50, 14, 51]
Generated Node #2: [50, 14, 51] from Operation: 73-22=51
Current State: 13:[50, 14, 51], Operations: ['73-22=51']
Exploring Operation: 50+14=64, Resulting Numbers: [51, 64]
Generated Node #3: [51, 64] from Operation: 50+14=64
Current State: 13:[51, 64], Operations: ['73-22=51', '50+14=64']
Exploring Operation: 64-51=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[22, 73, 50, 14], Operations: []
Exploring Operation: 50-22=28, Resulting Numbers: [73, 14, 28]
Generated Node #0,0: 13:[73, 14, 28] Operation: 50-22=28
Exploring Operation: 50-14=36, Resulting Numbers: [22, 73, 36]
Generated Node #0,1: 13:[22, 73, 36] Operation: 50-14=36
Exploring Operation: 73-22=51, Resulting Numbers: [50, 14, 51]
Generated Node #0,2: 13:[50, 14, 51] Operation: 73-22=51
Exploring Operation: 73-50=23, Resulting Numbers: [22, 14, 23]
Generated Node #0,3: 13:[22, 14, 23] Operation: 73-50=23
Exploring Operation: 73-14=59, Resulting Numbers: [22, 50, 59]
Generated Node #0,4: 13:[22, 50, 59] Operation: 73-14=59
Moving to Node #0,3
Current State: 13:[22, 14, 23], Operations: ['73-50=23']
Exploring Operation: 22-14=8, Resulting Numbers: [23, 8]
Generated Node #0,3,0: 13:[23, 8] Operation: 22-14=8
Exploring Operation: 22+14=36, Resulting Numbers: [23, 36]
Generated Node #0,3,1: 13:[23, 36] Operation: 22+14=36
Exploring Operation: 22+23=45, Resulting Numbers: [14, 45]
Generated Node #0,3,2: 13:[14, 45] Operation: 22+23=45
Exploring Operation: 23-14=9, Resulting Numbers: [22, 9]
Generated Node #0,3,3: 13:[22, 9] Operation: 23-14=9
Exploring Operation: 23-22=1, Resulting Numbers: [14, 1]
Generated Node #0,3,4: 13:[14, 1] Operation: 23-22=1
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 13:[22, 9], Operations: ['73-50=23', '23-14=9']
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 22*9=198, Resulting Numbers: [198]
198,13 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[22, 73, 50, 14], Operations: []
Exploring Operation: 73-50=23, Resulting Numbers: [22, 14, 23]
Generated Node #0,3: 13:[22, 14, 23] Operation: 73-50=23
Moving to Node #0,3
Current State: 13:[22, 14, 23], Operations: ['73-50=23']
Exploring Operation: 23-14=9, Resulting Numbers: [22, 9]
Generated Node #0,3,3: 13:[22, 9] Operation: 23-14=9
Moving to Node #0,3,3
Current State: 13:[22, 9], Operations: ['73-50=23', '23-14=9']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
67,
59,
75,
91
] | 89 | [
"59+75=134",
"134/67=2",
"91-2=89"
] | Current State: 89:[67, 59, 75, 91], Operations: []
Exploring Operation: 59+75=134, Resulting Numbers: [67, 91, 134]
Generated Node #2: [67, 91, 134] from Operation: 59+75=134
Current State: 89:[67, 91, 134], Operations: ['59+75=134']
Exploring Operation: 134/67=2, Resulting Numbers: [91, 2]
Generated Node #3: [91, 2] from Operation: 134/67=2
Current State: 89:[91, 2], Operations: ['59+75=134', '134/67=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[67, 59, 75, 91], Operations: []
Exploring Operation: 59+75=134, Resulting Numbers: [67, 91, 134]
Generated Node #0,0: 89:[67, 91, 134] Operation: 59+75=134
Exploring Operation: 67+59=126, Resulting Numbers: [75, 91, 126]
Generated Node #0,1: 89:[75, 91, 126] Operation: 67+59=126
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[75, 91, 126], Operations: ['67+59=126']
Exploring Operation: 126-75=51, Resulting Numbers: [91, 51]
Generated Node #0,1,0: 89:[91, 51] Operation: 126-75=51
Exploring Operation: 126-91=35, Resulting Numbers: [75, 35]
Generated Node #0,1,1: 89:[75, 35] Operation: 126-91=35
Moving to Node #0,1,0
Current State: 89:[91, 51], Operations: ['67+59=126', '126-75=51']
Exploring Operation: 91-51=40, Resulting Numbers: [40]
40,89 unequal: No Solution
Exploring Operation: 91+51=142, Resulting Numbers: [142]
142,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[75, 35], Operations: ['67+59=126', '126-91=35']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,89 unequal: No Solution
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[67, 91, 134], Operations: ['59+75=134']
Exploring Operation: 134-67=67, Resulting Numbers: [91, 67]
Generated Node #0,0,0: 89:[91, 67] Operation: 134-67=67
Exploring Operation: 134-91=43, Resulting Numbers: [67, 43]
Generated Node #0,0,1: 89:[67, 43] Operation: 134-91=43
Moving to Node #0,0,0
Current State: 89:[91, 67], Operations: ['59+75=134', '134-67=67']
Exploring Operation: 91-67=24, Resulting Numbers: [24]
24,89 unequal: No Solution
Exploring Operation: 91+67=158, Resulting Numbers: [158]
158,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[67, 43], Operations: ['59+75=134', '134-91=43']
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,89 unequal: No Solution
Exploring Operation: 67+43=110, Resulting Numbers: [110]
110,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
93,
61,
8,
17
] | 21 | [
"93-61=32",
"32/8=4",
"17+4=21"
] | Current State: 21:[93, 61, 8, 17], Operations: []
Exploring Operation: 93-61=32, Resulting Numbers: [8, 17, 32]
Generated Node #2: [8, 17, 32] from Operation: 93-61=32
Current State: 21:[8, 17, 32], Operations: ['93-61=32']
Exploring Operation: 32/8=4, Resulting Numbers: [17, 4]
Generated Node #3: [17, 4] from Operation: 32/8=4
Current State: 21:[17, 4], Operations: ['93-61=32', '32/8=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[93, 61, 8, 17], Operations: []
Exploring Operation: 93-17=76, Resulting Numbers: [61, 8, 76]
Generated Node #0,0: 21:[61, 8, 76] Operation: 93-17=76
Exploring Operation: 93-61=32, Resulting Numbers: [8, 17, 32]
Generated Node #0,1: 21:[8, 17, 32] Operation: 93-61=32
Moving to Node #0,1
Current State: 21:[8, 17, 32], Operations: ['93-61=32']
Exploring Operation: 32/8=4, Resulting Numbers: [17, 4]
Generated Node #0,1,0: 21:[17, 4] Operation: 32/8=4
Exploring Operation: 32-8=24, Resulting Numbers: [17, 24]
Generated Node #0,1,1: 21:[17, 24] Operation: 32-8=24
Moving to Node #0,0
Current State: 21:[61, 8, 76], Operations: ['93-17=76']
Exploring Operation: 76-61=15, Resulting Numbers: [8, 15]
Generated Node #0,0,0: 21:[8, 15] Operation: 76-61=15
Exploring Operation: 61-8=53, Resulting Numbers: [76, 53]
Generated Node #0,0,1: 21:[76, 53] Operation: 61-8=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[8, 15], Operations: ['93-17=76', '76-61=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,21 unequal: No Solution
No 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: 21:[76, 53], Operations: ['93-17=76', '61-8=53']
Exploring Operation: 76-53=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 76+53=129, Resulting Numbers: [129]
129,21 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: 21:[17, 4], Operations: ['93-61=32', '32/8=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[93, 61, 8, 17], Operations: []
Exploring Operation: 93-61=32, Resulting Numbers: [8, 17, 32]
Generated Node #0,1: 21:[8, 17, 32] Operation: 93-61=32
Moving to Node #0,1
Current State: 21:[8, 17, 32], Operations: ['93-61=32']
Exploring Operation: 32/8=4, Resulting Numbers: [17, 4]
Generated Node #0,1,0: 21:[17, 4] Operation: 32/8=4
Moving to Node #0,1,0
Current State: 21:[17, 4], Operations: ['93-61=32', '32/8=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
77,
78,
63,
38
] | 61 | [
"77-38=39",
"78/39=2",
"63-2=61"
] | Current State: 61:[77, 78, 63, 38], Operations: []
Exploring Operation: 77-38=39, Resulting Numbers: [78, 63, 39]
Generated Node #2: [78, 63, 39] from Operation: 77-38=39
Current State: 61:[78, 63, 39], Operations: ['77-38=39']
Exploring Operation: 78/39=2, Resulting Numbers: [63, 2]
Generated Node #3: [63, 2] from Operation: 78/39=2
Current State: 61:[63, 2], Operations: ['77-38=39', '78/39=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[77, 78, 63, 38], Operations: []
Exploring Operation: 77+38=115, Resulting Numbers: [78, 63, 115]
Generated Node #0,0: 61:[78, 63, 115] Operation: 77+38=115
Exploring Operation: 77-38=39, Resulting Numbers: [78, 63, 39]
Generated Node #0,1: 61:[78, 63, 39] Operation: 77-38=39
Exploring Operation: 78+38=116, Resulting Numbers: [77, 63, 116]
Generated Node #0,2: 61:[77, 63, 116] Operation: 78+38=116
Exploring Operation: 78-38=40, Resulting Numbers: [77, 63, 40]
Generated Node #0,3: 61:[77, 63, 40] Operation: 78-38=40
Exploring Operation: 63-38=25, Resulting Numbers: [77, 78, 25]
Generated Node #0,4: 61:[77, 78, 25] Operation: 63-38=25
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[77, 63, 40], Operations: ['78-38=40']
Exploring Operation: 63+40=103, Resulting Numbers: [77, 103]
Generated Node #0,3,0: 61:[77, 103] Operation: 63+40=103
Exploring Operation: 63-40=23, Resulting Numbers: [77, 23]
Generated Node #0,3,1: 61:[77, 23] Operation: 63-40=23
Exploring Operation: 77+40=117, Resulting Numbers: [63, 117]
Generated Node #0,3,2: 61:[63, 117] Operation: 77+40=117
Exploring Operation: 77-40=37, Resulting Numbers: [63, 37]
Generated Node #0,3,3: 61:[63, 37] Operation: 77-40=37
Exploring Operation: 77-63=14, Resulting Numbers: [40, 14]
Generated Node #0,3,4: 61:[40, 14] Operation: 77-63=14
Moving to Node #0,3,3
Current State: 61:[63, 37], Operations: ['78-38=40', '77-40=37']
Exploring Operation: 63*37=2331, Resulting Numbers: [2331]
2331,61 unequal: No Solution
Exploring Operation: 63+37=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Exploring Operation: 63-37=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[77, 23], Operations: ['78-38=40', '63-40=23']
Exploring Operation: 77+23=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 77*23=1771, Resulting Numbers: [1771]
1771,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[77, 103], Operations: ['78-38=40', '63+40=103']
Exploring Operation: 77*103=7931, Resulting Numbers: [7931]
7931,61 unequal: No Solution
Exploring Operation: 103-77=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 77+103=180, Resulting Numbers: [180]
180,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[63, 117], Operations: ['78-38=40', '77+40=117']
Exploring Operation: 63+117=180, Resulting Numbers: [180]
180,61 unequal: No Solution
Exploring Operation: 117-63=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 63*117=7371, Resulting Numbers: [7371]
7371,61 unequal: No Solution
Moving to Node #0,3,4
Current State: 61:[40, 14], Operations: ['78-38=40', '77-63=14']
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,61 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[78, 63, 39], Operations: ['77-38=39']
Exploring Operation: 63-39=24, Resulting Numbers: [78, 24]
Generated Node #0,1,0: 61:[78, 24] Operation: 63-39=24
Exploring Operation: 78+39=117, Resulting Numbers: [63, 117]
Generated Node #0,1,1: 61:[63, 117] Operation: 78+39=117
Exploring Operation: 78-39=39, Resulting Numbers: [63, 39]
Generated Node #0,1,2: 61:[63, 39] Operation: 78-39=39
Exploring Operation: 63+39=102, Resulting Numbers: [78, 102]
Generated Node #0,1,3: 61:[78, 102] Operation: 63+39=102
Exploring Operation: 78/39=2, Resulting Numbers: [63, 2]
Generated Node #0,1,4: 61:[63, 2] Operation: 78/39=2
Moving to Node #0,1,2
Current State: 61:[63, 39], Operations: ['77-38=39', '78-39=39']
Exploring Operation: 63*39=2457, Resulting Numbers: [2457]
2457,61 unequal: No Solution
Exploring Operation: 63+39=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[78, 24], Operations: ['77-38=39', '63-39=24']
Exploring Operation: 78*24=1872, Resulting Numbers: [1872]
1872,61 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[63, 117], Operations: ['77-38=39', '78+39=117']
Exploring Operation: 63+117=180, Resulting Numbers: [180]
180,61 unequal: No Solution
Exploring Operation: 117-63=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 63*117=7371, Resulting Numbers: [7371]
7371,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[78, 102], Operations: ['77-38=39', '63+39=102']
Exploring Operation: 78*102=7956, Resulting Numbers: [7956]
7956,61 unequal: No Solution
Exploring Operation: 102-78=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 78+102=180, Resulting Numbers: [180]
180,61 unequal: No Solution
Moving to Node #0,1,4
Current State: 61:[63, 2], Operations: ['77-38=39', '78/39=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[77, 78, 63, 38], Operations: []
Exploring Operation: 77-38=39, Resulting Numbers: [78, 63, 39]
Generated Node #0,1: 61:[78, 63, 39] Operation: 77-38=39
Moving to Node #0,1
Current State: 61:[78, 63, 39], Operations: ['77-38=39']
Exploring Operation: 78/39=2, Resulting Numbers: [63, 2]
Generated Node #0,1,4: 61:[63, 2] Operation: 78/39=2
Moving to Node #0,1,4
Current State: 61:[63, 2], Operations: ['77-38=39', '78/39=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | mult_heuristic |
[
34,
3,
12,
41
] | 39 | [
"34+41=75",
"3*12=36",
"75-36=39"
] | Current State: 39:[34, 3, 12, 41], Operations: []
Exploring Operation: 34+41=75, Resulting Numbers: [3, 12, 75]
Generated Node #2: [3, 12, 75] from Operation: 34+41=75
Current State: 39:[3, 12, 75], Operations: ['34+41=75']
Exploring Operation: 3*12=36, Resulting Numbers: [75, 36]
Generated Node #3: [75, 36] from Operation: 3*12=36
Current State: 39:[75, 36], Operations: ['34+41=75', '3*12=36']
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[34, 3, 12, 41], Operations: []
Exploring Operation: 34+3=37, Resulting Numbers: [12, 41, 37]
Generated Node #0,0: 39:[12, 41, 37] Operation: 34+3=37
Exploring Operation: 12/3=4, Resulting Numbers: [34, 41, 4]
Generated Node #0,1: 39:[34, 41, 4] Operation: 12/3=4
Exploring Operation: 41-34=7, Resulting Numbers: [3, 12, 7]
Generated Node #0,2: 39:[3, 12, 7] Operation: 41-34=7
Exploring Operation: 34+12=46, Resulting Numbers: [3, 41, 46]
Generated Node #0,3: 39:[3, 41, 46] Operation: 34+12=46
Exploring Operation: 41-3=38, Resulting Numbers: [34, 12, 38]
Generated Node #0,4: 39:[34, 12, 38] Operation: 41-3=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[12, 41, 37], Operations: ['34+3=37']
Exploring Operation: 12+41=53, Resulting Numbers: [37, 53]
Generated Node #0,0,0: 39:[37, 53] Operation: 12+41=53
Exploring Operation: 37-12=25, Resulting Numbers: [41, 25]
Generated Node #0,0,1: 39:[41, 25] Operation: 37-12=25
Exploring Operation: 41-12=29, Resulting Numbers: [37, 29]
Generated Node #0,0,2: 39:[37, 29] Operation: 41-12=29
Exploring Operation: 41-37=4, Resulting Numbers: [12, 4]
Generated Node #0,0,3: 39:[12, 4] Operation: 41-37=4
Exploring Operation: 12+37=49, Resulting Numbers: [41, 49]
Generated Node #0,0,4: 39:[41, 49] Operation: 12+37=49
Moving to Node #0,0,3
Current State: 39:[12, 4], Operations: ['34+3=37', '41-37=4']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Moving to Node #0,0,4
Current State: 39:[41, 49], Operations: ['34+3=37', '12+37=49']
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,39 unequal: No Solution
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[37, 29], Operations: ['34+3=37', '41-12=29']
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[41, 25], Operations: ['34+3=37', '37-12=25']
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,39 unequal: No Solution
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[37, 53], Operations: ['34+3=37', '12+41=53']
Exploring Operation: 37*53=1961, Resulting Numbers: [1961]
1961,39 unequal: No Solution
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No 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: 39:[3, 12, 7], Operations: ['41-34=7']
Exploring Operation: 12/3=4, Resulting Numbers: [7, 4]
Generated Node #0,2,0: 39:[7, 4] Operation: 12/3=4
Exploring Operation: 3+12=15, Resulting Numbers: [7, 15]
Generated Node #0,2,1: 39:[7, 15] Operation: 3+12=15
Exploring Operation: 12-7=5, Resulting Numbers: [3, 5]
Generated Node #0,2,2: 39:[3, 5] Operation: 12-7=5
Exploring Operation: 7-3=4, Resulting Numbers: [12, 4]
Generated Node #0,2,3: 39:[12, 4] Operation: 7-3=4
Exploring Operation: 3+7=10, Resulting Numbers: [12, 10]
Generated Node #0,2,4: 39:[12, 10] Operation: 3+7=10
Moving to Node #0,2,2
Current State: 39:[3, 5], Operations: ['41-34=7', '12-7=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[12, 4], Operations: ['41-34=7', '7-3=4']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Moving to Node #0,2,4
Current State: 39:[12, 10], Operations: ['41-34=7', '3+7=10']
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 12*10=120, Resulting Numbers: [120]
120,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[7, 4], Operations: ['41-34=7', '12/3=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[7, 15], Operations: ['41-34=7', '3+12=15']
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,39 unequal: No Solution
No 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: 39:[34, 12, 38], Operations: ['41-3=38']
Exploring Operation: 12+38=50, Resulting Numbers: [34, 50]
Generated Node #0,4,0: 39:[34, 50] Operation: 12+38=50
Exploring Operation: 38-34=4, Resulting Numbers: [12, 4]
Generated Node #0,4,1: 39:[12, 4] Operation: 38-34=4
Exploring Operation: 38-12=26, Resulting Numbers: [34, 26]
Generated Node #0,4,2: 39:[34, 26] Operation: 38-12=26
Exploring Operation: 34+12=46, Resulting Numbers: [38, 46]
Generated Node #0,4,3: 39:[38, 46] Operation: 34+12=46
Exploring Operation: 34-12=22, Resulting Numbers: [38, 22]
Generated Node #0,4,4: 39:[38, 22] Operation: 34-12=22
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 39:[12, 4], Operations: ['41-3=38', '38-34=4']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 39:[38, 46], Operations: ['41-3=38', '34+12=46']
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,39 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,39 unequal: No Solution
No 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: 39:[38, 22], Operations: ['41-3=38', '34-12=22']
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,39 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,39 unequal: No Solution
No 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: 39:[34, 50], Operations: ['41-3=38', '12+38=50']
Exploring Operation: 34*50=1700, Resulting Numbers: [1700]
1700,39 unequal: No Solution
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 34+50=84, Resulting Numbers: [84]
84,39 unequal: No Solution
No 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: 39:[34, 26], Operations: ['41-3=38', '38-12=26']
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,39 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: 39:[34, 41, 4], Operations: ['12/3=4']
Exploring Operation: 41+4=45, Resulting Numbers: [34, 45]
Generated Node #0,1,0: 39:[34, 45] Operation: 41+4=45
Exploring Operation: 34+4=38, Resulting Numbers: [41, 38]
Generated Node #0,1,1: 39:[41, 38] Operation: 34+4=38
Exploring Operation: 41-34=7, Resulting Numbers: [4, 7]
Generated Node #0,1,2: 39:[4, 7] Operation: 41-34=7
Exploring Operation: 34-4=30, Resulting Numbers: [41, 30]
Generated Node #0,1,3: 39:[41, 30] Operation: 34-4=30
Exploring Operation: 41-4=37, Resulting Numbers: [34, 37]
Generated Node #0,1,4: 39:[34, 37] Operation: 41-4=37
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[41, 38], Operations: ['12/3=4', '34+4=38']
Exploring Operation: 41*38=1558, Resulting Numbers: [1558]
1558,39 unequal: No Solution
Exploring Operation: 41+38=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,39 unequal: No Solution
No 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: 39:[4, 7], Operations: ['12/3=4', '41-34=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,39 unequal: No Solution
No 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: 39:[34, 37], Operations: ['12/3=4', '41-4=37']
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,39 unequal: No Solution
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,39 unequal: No Solution
No 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: 39:[34, 45], Operations: ['12/3=4', '41+4=45']
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 34+45=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 34*45=1530, Resulting Numbers: [1530]
1530,39 unequal: No Solution
No 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: 39:[41, 30], Operations: ['12/3=4', '34-4=30']
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,39 unequal: No Solution
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,39 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,39 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: 39:[3, 41, 46], Operations: ['34+12=46']
Exploring Operation: 3+41=44, Resulting Numbers: [46, 44]
Generated Node #0,3,0: 39:[46, 44] Operation: 3+41=44
Exploring Operation: 41-3=38, Resulting Numbers: [46, 38]
Generated Node #0,3,1: 39:[46, 38] Operation: 41-3=38
Exploring Operation: 46-41=5, Resulting Numbers: [3, 5]
Generated Node #0,3,2: 39:[3, 5] Operation: 46-41=5
Exploring Operation: 3+46=49, Resulting Numbers: [41, 49]
Generated Node #0,3,3: 39:[41, 49] Operation: 3+46=49
Exploring Operation: 46-3=43, Resulting Numbers: [41, 43]
Generated Node #0,3,4: 39:[41, 43] Operation: 46-3=43
Moving to Node #0,3,2
Current State: 39:[3, 5], Operations: ['34+12=46', '46-41=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Moving to Node #0,3,4
Current State: 39:[41, 43], Operations: ['34+12=46', '46-3=43']
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,39 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 41*43=1763, Resulting Numbers: [1763]
1763,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[46, 38], Operations: ['34+12=46', '41-3=38']
Exploring Operation: 46*38=1748, Resulting Numbers: [1748]
1748,39 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[46, 44], Operations: ['34+12=46', '3+41=44']
Exploring Operation: 46*44=2024, Resulting Numbers: [2024]
2024,39 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[41, 49], Operations: ['34+12=46', '3+46=49']
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,39 unequal: No Solution
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,39 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 |
[
33,
23,
39,
41
] | 97 | [
"39-33=6",
"23*6=138",
"138-41=97"
] | Current State: 97:[33, 23, 39, 41], Operations: []
Exploring Operation: 39-33=6, Resulting Numbers: [23, 41, 6]
Generated Node #2: [23, 41, 6] from Operation: 39-33=6
Current State: 97:[23, 41, 6], Operations: ['39-33=6']
Exploring Operation: 23*6=138, Resulting Numbers: [41, 138]
Generated Node #3: [41, 138] from Operation: 23*6=138
Current State: 97:[41, 138], Operations: ['39-33=6', '23*6=138']
Exploring Operation: 138-41=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[33, 23, 39, 41], Operations: []
Exploring Operation: 33+39=72, Resulting Numbers: [23, 41, 72]
Generated Node #0,0: 97:[23, 41, 72] Operation: 33+39=72
Exploring Operation: 33+23=56, Resulting Numbers: [39, 41, 56]
Generated Node #0,1: 97:[39, 41, 56] Operation: 33+23=56
Moving to Node #0,0
Current State: 97:[23, 41, 72], Operations: ['33+39=72']
Exploring Operation: 23+41=64, Resulting Numbers: [72, 64]
Generated Node #0,0,0: 97:[72, 64] Operation: 23+41=64
Exploring Operation: 23+72=95, Resulting Numbers: [41, 95]
Generated Node #0,0,1: 97:[41, 95] Operation: 23+72=95
Moving to Node #0,1
Current State: 97:[39, 41, 56], Operations: ['33+23=56']
Exploring Operation: 39+41=80, Resulting Numbers: [56, 80]
Generated Node #0,1,0: 97:[56, 80] Operation: 39+41=80
Exploring Operation: 39+56=95, Resulting Numbers: [41, 95]
Generated Node #0,1,1: 97:[41, 95] Operation: 39+56=95
Moving to Node #0,0,0
Current State: 97:[72, 64], Operations: ['33+39=72', '23+41=64']
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 72+64=136, Resulting Numbers: [136]
136,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[56, 80], Operations: ['33+23=56', '39+41=80']
Exploring Operation: 56+80=136, Resulting Numbers: [136]
136,97 unequal: No Solution
Exploring Operation: 80-56=24, Resulting Numbers: [24]
24,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[41, 95], Operations: ['33+39=72', '23+72=95']
Exploring Operation: 41+95=136, Resulting Numbers: [136]
136,97 unequal: No Solution
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[41, 95], Operations: ['33+23=56', '39+56=95']
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,97 unequal: No Solution
Exploring Operation: 41+95=136, Resulting Numbers: [136]
136,97 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
17,
69,
58,
35
] | 60 | [
"69-35=34",
"34/17=2",
"58+2=60"
] | Current State: 60:[17, 69, 58, 35], Operations: []
Exploring Operation: 69-35=34, Resulting Numbers: [17, 58, 34]
Generated Node #2: [17, 58, 34] from Operation: 69-35=34
Current State: 60:[17, 58, 34], Operations: ['69-35=34']
Exploring Operation: 34/17=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 34/17=2
Current State: 60:[58, 2], Operations: ['69-35=34', '34/17=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[17, 69, 58, 35], Operations: []
Exploring Operation: 58-35=23, Resulting Numbers: [17, 69, 23]
Generated Node #0,0: 60:[17, 69, 23] Operation: 58-35=23
Exploring Operation: 35-17=18, Resulting Numbers: [69, 58, 18]
Generated Node #0,1: 60:[69, 58, 18] Operation: 35-17=18
Exploring Operation: 69-58=11, Resulting Numbers: [17, 35, 11]
Generated Node #0,2: 60:[17, 35, 11] Operation: 69-58=11
Exploring Operation: 69-17=52, Resulting Numbers: [58, 35, 52]
Generated Node #0,3: 60:[58, 35, 52] Operation: 69-17=52
Exploring Operation: 69-35=34, Resulting Numbers: [17, 58, 34]
Generated Node #0,4: 60:[17, 58, 34] Operation: 69-35=34
Moving to Node #0,2
Current State: 60:[17, 35, 11], Operations: ['69-58=11']
Exploring Operation: 35-11=24, Resulting Numbers: [17, 24]
Generated Node #0,2,0: 60:[17, 24] Operation: 35-11=24
Exploring Operation: 17+11=28, Resulting Numbers: [35, 28]
Generated Node #0,2,1: 60:[35, 28] Operation: 17+11=28
Exploring Operation: 17+35=52, Resulting Numbers: [11, 52]
Generated Node #0,2,2: 60:[11, 52] Operation: 17+35=52
Exploring Operation: 17-11=6, Resulting Numbers: [35, 6]
Generated Node #0,2,3: 60:[35, 6] Operation: 17-11=6
Exploring Operation: 35-17=18, Resulting Numbers: [11, 18]
Generated Node #0,2,4: 60:[11, 18] Operation: 35-17=18
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 60:[11, 18], Operations: ['69-58=11', '35-17=18']
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,60 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 60:[35, 6], Operations: ['69-58=11', '17-11=6']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,60 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[17, 24], Operations: ['69-58=11', '35-11=24']
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 60:[35, 28], Operations: ['69-58=11', '17+11=28']
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 60:[11, 52], Operations: ['69-58=11', '17+35=52']
Exploring Operation: 11*52=572, Resulting Numbers: [572]
572,60 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 11+52=63, Resulting Numbers: [63]
63,60 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: 60:[17, 58, 34], Operations: ['69-35=34']
Exploring Operation: 34-17=17, Resulting Numbers: [58, 17]
Generated Node #0,4,0: 60:[58, 17] Operation: 34-17=17
Exploring Operation: 17+34=51, Resulting Numbers: [58, 51]
Generated Node #0,4,1: 60:[58, 51] Operation: 17+34=51
Exploring Operation: 34/17=2, Resulting Numbers: [58, 2]
Generated Node #0,4,2: 60:[58, 2] Operation: 34/17=2
Exploring Operation: 58-34=24, Resulting Numbers: [17, 24]
Generated Node #0,4,3: 60:[17, 24] Operation: 58-34=24
Exploring Operation: 58-17=41, Resulting Numbers: [34, 41]
Generated Node #0,4,4: 60:[34, 41] Operation: 58-17=41
Moving to Node #0,1
Current State: 60:[69, 58, 18], Operations: ['35-17=18']
Exploring Operation: 69-18=51, Resulting Numbers: [58, 51]
Generated Node #0,1,0: 60:[58, 51] Operation: 69-18=51
Exploring Operation: 69+18=87, Resulting Numbers: [58, 87]
Generated Node #0,1,1: 60:[58, 87] Operation: 69+18=87
Exploring Operation: 58-18=40, Resulting Numbers: [69, 40]
Generated Node #0,1,2: 60:[69, 40] Operation: 58-18=40
Exploring Operation: 69-58=11, Resulting Numbers: [18, 11]
Generated Node #0,1,3: 60:[18, 11] Operation: 69-58=11
Exploring Operation: 58+18=76, Resulting Numbers: [69, 76]
Generated Node #0,1,4: 60:[69, 76] Operation: 58+18=76
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 60:[18, 11], Operations: ['35-17=18', '69-58=11']
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,60 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[58, 51], Operations: ['35-17=18', '69-18=51']
Exploring Operation: 58*51=2958, Resulting Numbers: [2958]
2958,60 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[69, 40], Operations: ['35-17=18', '58-18=40']
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 69*40=2760, Resulting Numbers: [2760]
2760,60 unequal: No Solution
Exploring Operation: 69+40=109, Resulting Numbers: [109]
109,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 60:[69, 76], Operations: ['35-17=18', '58+18=76']
Exploring Operation: 69*76=5244, Resulting Numbers: [5244]
5244,60 unequal: No Solution
Exploring Operation: 69+76=145, Resulting Numbers: [145]
145,60 unequal: No Solution
Exploring Operation: 76-69=7, Resulting Numbers: [7]
7,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[58, 87], Operations: ['35-17=18', '69+18=87']
Exploring Operation: 87-58=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 58*87=5046, Resulting Numbers: [5046]
5046,60 unequal: No Solution
Exploring Operation: 58+87=145, Resulting Numbers: [145]
145,60 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: 60:[17, 69, 23], Operations: ['58-35=23']
Exploring Operation: 69-23=46, Resulting Numbers: [17, 46]
Generated Node #0,0,0: 60:[17, 46] Operation: 69-23=46
Exploring Operation: 23-17=6, Resulting Numbers: [69, 6]
Generated Node #0,0,1: 60:[69, 6] Operation: 23-17=6
Exploring Operation: 17+23=40, Resulting Numbers: [69, 40]
Generated Node #0,0,2: 60:[69, 40] Operation: 17+23=40
Exploring Operation: 69/23=3, Resulting Numbers: [17, 3]
Generated Node #0,0,3: 60:[17, 3] Operation: 69/23=3
Exploring Operation: 69-17=52, Resulting Numbers: [23, 52]
Generated Node #0,0,4: 60:[23, 52] Operation: 69-17=52
Moving to Node #0,3
Current State: 60:[58, 35, 52], Operations: ['69-17=52']
Exploring Operation: 58+35=93, Resulting Numbers: [52, 93]
Generated Node #0,3,0: 60:[52, 93] Operation: 58+35=93
Exploring Operation: 58-35=23, Resulting Numbers: [52, 23]
Generated Node #0,3,1: 60:[52, 23] Operation: 58-35=23
Exploring Operation: 52-35=17, Resulting Numbers: [58, 17]
Generated Node #0,3,2: 60:[58, 17] Operation: 52-35=17
Exploring Operation: 35+52=87, Resulting Numbers: [58, 87]
Generated Node #0,3,3: 60:[58, 87] Operation: 35+52=87
Exploring Operation: 58-52=6, Resulting Numbers: [35, 6]
Generated Node #0,3,4: 60:[35, 6] Operation: 58-52=6
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 60:[58, 17], Operations: ['69-17=52', '52-35=17']
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 58*17=986, Resulting Numbers: [986]
986,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 60:[35, 6], Operations: ['69-17=52', '58-52=6']
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,60 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 60:[52, 23], Operations: ['69-17=52', '58-35=23']
Exploring Operation: 52+23=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 52*23=1196, Resulting Numbers: [1196]
1196,60 unequal: No Solution
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 60:[58, 87], Operations: ['69-17=52', '35+52=87']
Exploring Operation: 58+87=145, Resulting Numbers: [145]
145,60 unequal: No Solution
Exploring Operation: 87-58=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 58*87=5046, Resulting Numbers: [5046]
5046,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 60:[52, 93], Operations: ['69-17=52', '58+35=93']
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,60 unequal: No Solution
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 60:[58, 2], Operations: ['69-35=34', '34/17=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[17, 69, 58, 35], Operations: []
Exploring Operation: 69-35=34, Resulting Numbers: [17, 58, 34]
Generated Node #0,4: 60:[17, 58, 34] Operation: 69-35=34
Moving to Node #0,4
Current State: 60:[17, 58, 34], Operations: ['69-35=34']
Exploring Operation: 34/17=2, Resulting Numbers: [58, 2]
Generated Node #0,4,2: 60:[58, 2] Operation: 34/17=2
Moving to Node #0,4,2
Current State: 60:[58, 2], Operations: ['69-35=34', '34/17=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.929688 | hs_5 | sum_heuristic |
[
60,
95,
32,
31
] | 34 | [
"95-60=35",
"32-31=1",
"35-1=34"
] | Current State: 34:[60, 95, 32, 31], Operations: []
Exploring Operation: 95-60=35, Resulting Numbers: [32, 31, 35]
Generated Node #2: [32, 31, 35] from Operation: 95-60=35
Current State: 34:[32, 31, 35], Operations: ['95-60=35']
Exploring Operation: 32-31=1, Resulting Numbers: [35, 1]
Generated Node #3: [35, 1] from Operation: 32-31=1
Current State: 34:[35, 1], Operations: ['95-60=35', '32-31=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[60, 95, 32, 31], Operations: []
Exploring Operation: 95-32=63, Resulting Numbers: [60, 31, 63]
Generated Node #0,0: 34:[60, 31, 63] Operation: 95-32=63
Exploring Operation: 95-31=64, Resulting Numbers: [60, 32, 64]
Generated Node #0,1: 34:[60, 32, 64] Operation: 95-31=64
Exploring Operation: 60-31=29, Resulting Numbers: [95, 32, 29]
Generated Node #0,2: 34:[95, 32, 29] Operation: 60-31=29
Exploring Operation: 60-32=28, Resulting Numbers: [95, 31, 28]
Generated Node #0,3: 34:[95, 31, 28] Operation: 60-32=28
Exploring Operation: 95-60=35, Resulting Numbers: [32, 31, 35]
Generated Node #0,4: 34:[32, 31, 35] Operation: 95-60=35
Moving to Node #0,4
Current State: 34:[32, 31, 35], Operations: ['95-60=35']
Exploring Operation: 35-32=3, Resulting Numbers: [31, 3]
Generated Node #0,4,0: 34:[31, 3] Operation: 35-32=3
Exploring Operation: 32+31=63, Resulting Numbers: [35, 63]
Generated Node #0,4,1: 34:[35, 63] Operation: 32+31=63
Exploring Operation: 32-31=1, Resulting Numbers: [35, 1]
Generated Node #0,4,2: 34:[35, 1] Operation: 32-31=1
Exploring Operation: 31+35=66, Resulting Numbers: [32, 66]
Generated Node #0,4,3: 34:[32, 66] Operation: 31+35=66
Exploring Operation: 35-31=4, Resulting Numbers: [32, 4]
Generated Node #0,4,4: 34:[32, 4] Operation: 35-31=4
Moving to Node #0,1
Current State: 34:[60, 32, 64], Operations: ['95-31=64']
Exploring Operation: 64-60=4, Resulting Numbers: [32, 4]
Generated Node #0,1,0: 34:[32, 4] Operation: 64-60=4
Exploring Operation: 60+32=92, Resulting Numbers: [64, 92]
Generated Node #0,1,1: 34:[64, 92] Operation: 60+32=92
Exploring Operation: 64-32=32, Resulting Numbers: [60, 32]
Generated Node #0,1,2: 34:[60, 32] Operation: 64-32=32
Exploring Operation: 64/32=2, Resulting Numbers: [60, 2]
Generated Node #0,1,3: 34:[60, 2] Operation: 64/32=2
Exploring Operation: 60-32=28, Resulting Numbers: [64, 28]
Generated Node #0,1,4: 34:[64, 28] Operation: 60-32=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[32, 4], Operations: ['95-31=64', '64-60=4']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,34 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 34:[60, 2], Operations: ['95-31=64', '64/32=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,34 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[60, 32], Operations: ['95-31=64', '64-32=32']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 60*32=1920, Resulting Numbers: [1920]
1920,34 unequal: No Solution
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 34:[64, 28], Operations: ['95-31=64', '60-32=28']
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 64*28=1792, Resulting Numbers: [1792]
1792,34 unequal: No Solution
Exploring Operation: 64+28=92, Resulting Numbers: [92]
92,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[64, 92], Operations: ['95-31=64', '60+32=92']
Exploring Operation: 64+92=156, Resulting Numbers: [156]
156,34 unequal: No Solution
Exploring Operation: 64*92=5888, Resulting Numbers: [5888]
5888,34 unequal: No Solution
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 34:[60, 31, 63], Operations: ['95-32=63']
Exploring Operation: 63-60=3, Resulting Numbers: [31, 3]
Generated Node #0,0,0: 34:[31, 3] Operation: 63-60=3
Exploring Operation: 31+63=94, Resulting Numbers: [60, 94]
Generated Node #0,0,1: 34:[60, 94] Operation: 31+63=94
Exploring Operation: 63-31=32, Resulting Numbers: [60, 32]
Generated Node #0,0,2: 34:[60, 32] Operation: 63-31=32
Exploring Operation: 60-31=29, Resulting Numbers: [63, 29]
Generated Node #0,0,3: 34:[63, 29] Operation: 60-31=29
Exploring Operation: 60+31=91, Resulting Numbers: [63, 91]
Generated Node #0,0,4: 34:[63, 91] Operation: 60+31=91
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[31, 3], Operations: ['95-32=63', '63-60=3']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[60, 95, 32, 31], Operations: []
Exploring Operation: 95-32=63, Resulting Numbers: [60, 31, 63]
Generated Node #0,0: 34:[60, 31, 63] Operation: 95-32=63
Moving to Node #0,0
Current State: 34:[60, 31, 63], Operations: ['95-32=63']
Exploring Operation: 63-60=3, Resulting Numbers: [31, 3]
Generated Node #0,0,0: 34:[31, 3] Operation: 63-60=3
Moving to Node #0,0,0
Current State: 34:[31, 3], Operations: ['95-32=63', '63-60=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | sum_heuristic |
[
72,
89,
17,
73
] | 16 | [
"17*73=1241",
"1241-89=1152",
"1152/72=16"
] | Current State: 16:[72, 89, 17, 73], Operations: []
Exploring Operation: 17*73=1241, Resulting Numbers: [72, 89, 1241]
Generated Node #2: [72, 89, 1241] from Operation: 17*73=1241
Current State: 16:[72, 89, 1241], Operations: ['17*73=1241']
Exploring Operation: 1241-89=1152, Resulting Numbers: [72, 1152]
Generated Node #3: [72, 1152] from Operation: 1241-89=1152
Current State: 16:[72, 1152], Operations: ['17*73=1241', '1241-89=1152']
Exploring Operation: 1152/72=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[72, 89, 17, 73], Operations: []
Exploring Operation: 89-73=16, Resulting Numbers: [72, 17, 16]
Generated Node #0,0: 16:[72, 17, 16] Operation: 89-73=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[72, 17, 16], Operations: ['89-73=16']
Exploring Operation: 72-17=55, Resulting Numbers: [16, 55]
Generated Node #0,0,0: 16:[16, 55] Operation: 72-17=55
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[16, 55], Operations: ['89-73=16', '72-17=55']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,16 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 |
[
36,
2,
2,
52
] | 89 | [
"36+52=88",
"2/2=1",
"88+1=89"
] | Current State: 89:[36, 2, 2, 52], Operations: []
Exploring Operation: 36+52=88, Resulting Numbers: [2, 2, 88]
Generated Node #2: [2, 2, 88] from Operation: 36+52=88
Current State: 89:[2, 2, 88], Operations: ['36+52=88']
Exploring Operation: 2/2=1, Resulting Numbers: [88, 1]
Generated Node #3: [88, 1] from Operation: 2/2=1
Current State: 89:[88, 1], Operations: ['36+52=88', '2/2=1']
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[36, 2, 2, 52], Operations: []
Exploring Operation: 36*2=72, Resulting Numbers: [2, 52, 72]
Generated Node #0,0: 89:[2, 52, 72] Operation: 36*2=72
Exploring Operation: 36*2=72, Resulting Numbers: [2, 52, 72]
Generated Node #0,1: 89:[2, 52, 72] Operation: 36*2=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[2, 52, 72], Operations: ['36*2=72']
Exploring Operation: 2+52=54, Resulting Numbers: [72, 54]
Generated Node #0,0,0: 89:[72, 54] Operation: 2+52=54
Exploring Operation: 2*52=104, Resulting Numbers: [72, 104]
Generated Node #0,0,1: 89:[72, 104] Operation: 2*52=104
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[72, 104], Operations: ['36*2=72', '2*52=104']
Exploring Operation: 72+104=176, Resulting Numbers: [176]
176,89 unequal: No Solution
Exploring Operation: 104-72=32, Resulting Numbers: [32]
32,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[72, 54], Operations: ['36*2=72', '2+52=54']
Exploring Operation: 72+54=126, Resulting Numbers: [126]
126,89 unequal: No Solution
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[2, 52, 72], Operations: ['36*2=72']
Exploring Operation: 2+52=54, Resulting Numbers: [72, 54]
Generated Node #0,1,0: 89:[72, 54] Operation: 2+52=54
Exploring Operation: 2*52=104, Resulting Numbers: [72, 104]
Generated Node #0,1,1: 89:[72, 104] Operation: 2*52=104
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[72, 104], Operations: ['36*2=72', '2*52=104']
Exploring Operation: 104-72=32, Resulting Numbers: [32]
32,89 unequal: No Solution
Exploring Operation: 72+104=176, Resulting Numbers: [176]
176,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[72, 54], Operations: ['36*2=72', '2+52=54']
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,89 unequal: No Solution
Exploring Operation: 72+54=126, Resulting Numbers: [126]
126,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
81,
2,
16
] | 75 | [
"2+16=18",
"18/3=6",
"81-6=75"
] | Current State: 75:[3, 81, 2, 16], Operations: []
Exploring Operation: 2+16=18, Resulting Numbers: [3, 81, 18]
Generated Node #2: [3, 81, 18] from Operation: 2+16=18
Current State: 75:[3, 81, 18], Operations: ['2+16=18']
Exploring Operation: 18/3=6, Resulting Numbers: [81, 6]
Generated Node #3: [81, 6] from Operation: 18/3=6
Current State: 75:[81, 6], Operations: ['2+16=18', '18/3=6']
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[3, 81, 2, 16], Operations: []
Exploring Operation: 81/3=27, Resulting Numbers: [2, 16, 27]
Generated Node #0,0: 75:[2, 16, 27] Operation: 81/3=27
Exploring Operation: 81-3=78, Resulting Numbers: [2, 16, 78]
Generated Node #0,1: 75:[2, 16, 78] Operation: 81-3=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[2, 16, 27], Operations: ['81/3=27']
Exploring Operation: 16-2=14, Resulting Numbers: [27, 14]
Generated Node #0,0,0: 75:[27, 14] Operation: 16-2=14
Exploring Operation: 27-2=25, Resulting Numbers: [16, 25]
Generated Node #0,0,1: 75:[16, 25] Operation: 27-2=25
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[16, 25], Operations: ['81/3=27', '27-2=25']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[27, 14], Operations: ['81/3=27', '16-2=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[2, 16, 78], Operations: ['81-3=78']
Exploring Operation: 78-2=76, Resulting Numbers: [16, 76]
Generated Node #0,1,0: 75:[16, 76] Operation: 78-2=76
Exploring Operation: 16-2=14, Resulting Numbers: [78, 14]
Generated Node #0,1,1: 75:[78, 14] Operation: 16-2=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[16, 76], Operations: ['81-3=78', '78-2=76']
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 16+76=92, Resulting Numbers: [92]
92,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[78, 14], Operations: ['81-3=78', '16-2=14']
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,75 unequal: No Solution
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
53,
82,
89
] | 42 | [
"59-53=6",
"89-82=7",
"6*7=42"
] | Current State: 42:[59, 53, 82, 89], Operations: []
Exploring Operation: 59-53=6, Resulting Numbers: [82, 89, 6]
Generated Node #2: [82, 89, 6] from Operation: 59-53=6
Current State: 42:[82, 89, 6], Operations: ['59-53=6']
Exploring Operation: 89-82=7, Resulting Numbers: [6, 7]
Generated Node #3: [6, 7] from Operation: 89-82=7
Current State: 42:[6, 7], Operations: ['59-53=6', '89-82=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[59, 53, 82, 89], Operations: []
Exploring Operation: 82-59=23, Resulting Numbers: [53, 89, 23]
Generated Node #0,0: 42:[53, 89, 23] Operation: 82-59=23
Exploring Operation: 89-82=7, Resulting Numbers: [59, 53, 7]
Generated Node #0,1: 42:[59, 53, 7] Operation: 89-82=7
Exploring Operation: 82-53=29, Resulting Numbers: [59, 89, 29]
Generated Node #0,2: 42:[59, 89, 29] Operation: 82-53=29
Exploring Operation: 89-53=36, Resulting Numbers: [59, 82, 36]
Generated Node #0,3: 42:[59, 82, 36] Operation: 89-53=36
Exploring Operation: 89-59=30, Resulting Numbers: [53, 82, 30]
Generated Node #0,4: 42:[53, 82, 30] Operation: 89-59=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[59, 53, 7], Operations: ['89-82=7']
Exploring Operation: 53+7=60, Resulting Numbers: [59, 60]
Generated Node #0,1,0: 42:[59, 60] Operation: 53+7=60
Exploring Operation: 59-53=6, Resulting Numbers: [7, 6]
Generated Node #0,1,1: 42:[7, 6] Operation: 59-53=6
Exploring Operation: 59+7=66, Resulting Numbers: [53, 66]
Generated Node #0,1,2: 42:[53, 66] Operation: 59+7=66
Exploring Operation: 53-7=46, Resulting Numbers: [59, 46]
Generated Node #0,1,3: 42:[59, 46] Operation: 53-7=46
Exploring Operation: 59-7=52, Resulting Numbers: [53, 52]
Generated Node #0,1,4: 42:[53, 52] Operation: 59-7=52
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[7, 6], Operations: ['89-82=7', '59-53=6']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[59, 53, 82, 89], Operations: []
Exploring Operation: 89-82=7, Resulting Numbers: [59, 53, 7]
Generated Node #0,1: 42:[59, 53, 7] Operation: 89-82=7
Moving to Node #0,1
Current State: 42:[59, 53, 7], Operations: ['89-82=7']
Exploring Operation: 59-53=6, Resulting Numbers: [7, 6]
Generated Node #0,1,1: 42:[7, 6] Operation: 59-53=6
Moving to Node #0,1,1
Current State: 42:[7, 6], Operations: ['89-82=7', '59-53=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
3,
82,
15,
70
] | 24 | [
"82-3=79",
"70-15=55",
"79-55=24"
] | Current State: 24:[3, 82, 15, 70], Operations: []
Exploring Operation: 82-3=79, Resulting Numbers: [15, 70, 79]
Generated Node #2: [15, 70, 79] from Operation: 82-3=79
Current State: 24:[15, 70, 79], Operations: ['82-3=79']
Exploring Operation: 70-15=55, Resulting Numbers: [79, 55]
Generated Node #3: [79, 55] from Operation: 70-15=55
Current State: 24:[79, 55], Operations: ['82-3=79', '70-15=55']
Exploring Operation: 79-55=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[3, 82, 15, 70], Operations: []
Exploring Operation: 15-3=12, Resulting Numbers: [82, 70, 12]
Generated Node #0,0: 24:[82, 70, 12] Operation: 15-3=12
Exploring Operation: 82-15=67, Resulting Numbers: [3, 70, 67]
Generated Node #0,1: 24:[3, 70, 67] Operation: 82-15=67
Exploring Operation: 82-3=79, Resulting Numbers: [15, 70, 79]
Generated Node #0,2: 24:[15, 70, 79] Operation: 82-3=79
Exploring Operation: 82-70=12, Resulting Numbers: [3, 15, 12]
Generated Node #0,3: 24:[3, 15, 12] Operation: 82-70=12
Exploring Operation: 70-15=55, Resulting Numbers: [3, 82, 55]
Generated Node #0,4: 24:[3, 82, 55] Operation: 70-15=55
Moving to Node #0,3
Current State: 24:[3, 15, 12], Operations: ['82-70=12']
Exploring Operation: 15+12=27, Resulting Numbers: [3, 27]
Generated Node #0,3,0: 24:[3, 27] Operation: 15+12=27
Exploring Operation: 15/3=5, Resulting Numbers: [12, 5]
Generated Node #0,3,1: 24:[12, 5] Operation: 15/3=5
Exploring Operation: 15-12=3, Resulting Numbers: [3, 3]
Generated Node #0,3,2: 24:[3, 3] Operation: 15-12=3
Exploring Operation: 12/3=4, Resulting Numbers: [15, 4]
Generated Node #0,3,3: 24:[15, 4] Operation: 12/3=4
Exploring Operation: 15-3=12, Resulting Numbers: [12, 12]
Generated Node #0,3,4: 24:[12, 12] Operation: 15-3=12
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[3, 3], Operations: ['82-70=12', '15-12=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,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,3,4
Current State: 24:[12, 12], Operations: ['82-70=12', '15-3=12']
Exploring Operation: 12*12=144, Resulting Numbers: [144]
144,24 unequal: No Solution
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[3, 82, 15, 70], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [3, 15, 12]
Generated Node #0,3: 24:[3, 15, 12] Operation: 82-70=12
Moving to Node #0,3
Current State: 24:[3, 15, 12], Operations: ['82-70=12']
Exploring Operation: 15-3=12, Resulting Numbers: [12, 12]
Generated Node #0,3,4: 24:[12, 12] Operation: 15-3=12
Moving to Node #0,3,4
Current State: 24:[12, 12], Operations: ['82-70=12', '15-3=12']
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
72,
29,
19,
7
] | 38 | [
"72*19=1368",
"29+7=36",
"1368/36=38"
] | Current State: 38:[72, 29, 19, 7], Operations: []
Exploring Operation: 72*19=1368, Resulting Numbers: [29, 7, 1368]
Generated Node #2: [29, 7, 1368] from Operation: 72*19=1368
Current State: 38:[29, 7, 1368], Operations: ['72*19=1368']
Exploring Operation: 29+7=36, Resulting Numbers: [1368, 36]
Generated Node #3: [1368, 36] from Operation: 29+7=36
Current State: 38:[1368, 36], Operations: ['72*19=1368', '29+7=36']
Exploring Operation: 1368/36=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[72, 29, 19, 7], Operations: []
Exploring Operation: 29+7=36, Resulting Numbers: [72, 19, 36]
Generated Node #0,0: 38:[72, 19, 36] Operation: 29+7=36
Exploring Operation: 72-19=53, Resulting Numbers: [29, 7, 53]
Generated Node #0,1: 38:[29, 7, 53] Operation: 72-19=53
Exploring Operation: 72-7=65, Resulting Numbers: [29, 19, 65]
Generated Node #0,2: 38:[29, 19, 65] Operation: 72-7=65
Exploring Operation: 72-29=43, Resulting Numbers: [19, 7, 43]
Generated Node #0,3: 38:[19, 7, 43] Operation: 72-29=43
Exploring Operation: 29-7=22, Resulting Numbers: [72, 19, 22]
Generated Node #0,4: 38:[72, 19, 22] Operation: 29-7=22
Moving to Node #0,3
Current State: 38:[19, 7, 43], Operations: ['72-29=43']
Exploring Operation: 19+7=26, Resulting Numbers: [43, 26]
Generated Node #0,3,0: 38:[43, 26] Operation: 19+7=26
Exploring Operation: 43-19=24, Resulting Numbers: [7, 24]
Generated Node #0,3,1: 38:[7, 24] Operation: 43-19=24
Exploring Operation: 19-7=12, Resulting Numbers: [43, 12]
Generated Node #0,3,2: 38:[43, 12] Operation: 19-7=12
Exploring Operation: 7+43=50, Resulting Numbers: [19, 50]
Generated Node #0,3,3: 38:[19, 50] Operation: 7+43=50
Exploring Operation: 43-7=36, Resulting Numbers: [19, 36]
Generated Node #0,3,4: 38:[19, 36] Operation: 43-7=36
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 38:[19, 36], Operations: ['72-29=43', '43-7=36']
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 19*36=684, Resulting Numbers: [684]
684,38 unequal: No Solution
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 38:[7, 24], Operations: ['72-29=43', '43-19=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,38 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 38:[43, 26], Operations: ['72-29=43', '19+7=26']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 43*26=1118, Resulting Numbers: [1118]
1118,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 38:[43, 12], Operations: ['72-29=43', '19-7=12']
Exploring Operation: 43*12=516, Resulting Numbers: [516]
516,38 unequal: No Solution
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,38 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 38:[19, 50], Operations: ['72-29=43', '7+43=50']
Exploring Operation: 19*50=950, Resulting Numbers: [950]
950,38 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,38 unequal: No Solution
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 38:[29, 7, 53], Operations: ['72-19=53']
Exploring Operation: 53-29=24, Resulting Numbers: [7, 24]
Generated Node #0,1,0: 38:[7, 24] Operation: 53-29=24
Exploring Operation: 7+53=60, Resulting Numbers: [29, 60]
Generated Node #0,1,1: 38:[29, 60] Operation: 7+53=60
Exploring Operation: 29-7=22, Resulting Numbers: [53, 22]
Generated Node #0,1,2: 38:[53, 22] Operation: 29-7=22
Exploring Operation: 29+7=36, Resulting Numbers: [53, 36]
Generated Node #0,1,3: 38:[53, 36] Operation: 29+7=36
Exploring Operation: 53-7=46, Resulting Numbers: [29, 46]
Generated Node #0,1,4: 38:[29, 46] Operation: 53-7=46
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[7, 24], Operations: ['72-19=53', '53-29=24']
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,38 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,38 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 38:[53, 36], Operations: ['72-19=53', '29+7=36']
Exploring Operation: 53*36=1908, Resulting Numbers: [1908]
1908,38 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 53+36=89, Resulting Numbers: [89]
89,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 38:[29, 46], Operations: ['72-19=53', '53-7=46']
Exploring Operation: 29+46=75, Resulting Numbers: [75]
75,38 unequal: No Solution
Exploring Operation: 29*46=1334, Resulting Numbers: [1334]
1334,38 unequal: No Solution
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 38:[53, 22], Operations: ['72-19=53', '29-7=22']
Exploring Operation: 53*22=1166, Resulting Numbers: [1166]
1166,38 unequal: No Solution
Exploring Operation: 53+22=75, Resulting Numbers: [75]
75,38 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[29, 60], Operations: ['72-19=53', '7+53=60']
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,38 unequal: No Solution
Exploring Operation: 29*60=1740, Resulting Numbers: [1740]
1740,38 unequal: No Solution
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 38:[72, 19, 36], Operations: ['29+7=36']
Exploring Operation: 72-36=36, Resulting Numbers: [19, 36]
Generated Node #0,0,0: 38:[19, 36] Operation: 72-36=36
Exploring Operation: 72-19=53, Resulting Numbers: [36, 53]
Generated Node #0,0,1: 38:[36, 53] Operation: 72-19=53
Exploring Operation: 19+36=55, Resulting Numbers: [72, 55]
Generated Node #0,0,2: 38:[72, 55] Operation: 19+36=55
Exploring Operation: 36-19=17, Resulting Numbers: [72, 17]
Generated Node #0,0,3: 38:[72, 17] Operation: 36-19=17
Exploring Operation: 72/36=2, Resulting Numbers: [19, 2]
Generated Node #0,0,4: 38:[19, 2] Operation: 72/36=2
Moving to Node #0,2
Current State: 38:[29, 19, 65], Operations: ['72-7=65']
Exploring Operation: 29-19=10, Resulting Numbers: [65, 10]
Generated Node #0,2,0: 38:[65, 10] Operation: 29-19=10
Exploring Operation: 65-19=46, Resulting Numbers: [29, 46]
Generated Node #0,2,1: 38:[29, 46] Operation: 65-19=46
Exploring Operation: 65-29=36, Resulting Numbers: [19, 36]
Generated Node #0,2,2: 38:[19, 36] Operation: 65-29=36
Exploring Operation: 19+65=84, Resulting Numbers: [29, 84]
Generated Node #0,2,3: 38:[29, 84] Operation: 19+65=84
Exploring Operation: 29+19=48, Resulting Numbers: [65, 48]
Generated Node #0,2,4: 38:[65, 48] Operation: 29+19=48
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[19, 36], Operations: ['72-7=65', '65-29=36']
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,38 unequal: No Solution
Exploring Operation: 19*36=684, Resulting Numbers: [684]
684,38 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[29, 46], Operations: ['72-7=65', '65-19=46']
Exploring Operation: 29*46=1334, Resulting Numbers: [1334]
1334,38 unequal: No Solution
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 29+46=75, Resulting Numbers: [75]
75,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[65, 10], Operations: ['72-7=65', '29-19=10']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,38 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,38 unequal: No Solution
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 38:[65, 48], Operations: ['72-7=65', '29+19=48']
Exploring Operation: 65*48=3120, Resulting Numbers: [3120]
3120,38 unequal: No Solution
Exploring Operation: 65+48=113, Resulting Numbers: [113]
113,38 unequal: No Solution
Exploring Operation: 65-48=17, Resulting Numbers: [17]
17,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 38:[29, 84], Operations: ['72-7=65', '19+65=84']
Exploring Operation: 29*84=2436, Resulting Numbers: [2436]
2436,38 unequal: No Solution
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,38 unequal: No Solution
Exploring Operation: 29+84=113, Resulting Numbers: [113]
113,38 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: 38:[72, 19, 22], Operations: ['29-7=22']
Exploring Operation: 72-22=50, Resulting Numbers: [19, 50]
Generated Node #0,4,0: 38:[19, 50] Operation: 72-22=50
Exploring Operation: 22-19=3, Resulting Numbers: [72, 3]
Generated Node #0,4,1: 38:[72, 3] Operation: 22-19=3
Exploring Operation: 19+22=41, Resulting Numbers: [72, 41]
Generated Node #0,4,2: 38:[72, 41] Operation: 19+22=41
Exploring Operation: 72-19=53, Resulting Numbers: [22, 53]
Generated Node #0,4,3: 38:[22, 53] Operation: 72-19=53
Exploring Operation: 72+19=91, Resulting Numbers: [22, 91]
Generated Node #0,4,4: 38:[22, 91] Operation: 72+19=91
Moving to Node #0,0,4
Current State: 38:[19, 2], Operations: ['29+7=36', '72/36=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[72, 29, 19, 7], Operations: []
Exploring Operation: 29+7=36, Resulting Numbers: [72, 19, 36]
Generated Node #0,0: 38:[72, 19, 36] Operation: 29+7=36
Moving to Node #0,0
Current State: 38:[72, 19, 36], Operations: ['29+7=36']
Exploring Operation: 72/36=2, Resulting Numbers: [19, 2]
Generated Node #0,0,4: 38:[19, 2] Operation: 72/36=2
Moving to Node #0,0,4
Current State: 38:[19, 2], Operations: ['29+7=36', '72/36=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.928819 | hs_5 | sum_heuristic |
[
37,
21,
24,
8
] | 83 | [
"37-24=13",
"8*13=104",
"104-21=83"
] | Current State: 83:[37, 21, 24, 8], Operations: []
Exploring Operation: 37-24=13, Resulting Numbers: [21, 8, 13]
Generated Node #2: [21, 8, 13] from Operation: 37-24=13
Current State: 83:[21, 8, 13], Operations: ['37-24=13']
Exploring Operation: 8*13=104, Resulting Numbers: [21, 104]
Generated Node #3: [21, 104] from Operation: 8*13=104
Current State: 83:[21, 104], Operations: ['37-24=13', '8*13=104']
Exploring Operation: 104-21=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[37, 21, 24, 8], Operations: []
Exploring Operation: 21+24=45, Resulting Numbers: [37, 8, 45]
Generated Node #0,0: 83:[37, 8, 45] Operation: 21+24=45
Exploring Operation: 37+24=61, Resulting Numbers: [21, 8, 61]
Generated Node #0,1: 83:[21, 8, 61] Operation: 37+24=61
Exploring Operation: 37+21=58, Resulting Numbers: [24, 8, 58]
Generated Node #0,2: 83:[24, 8, 58] Operation: 37+21=58
Exploring Operation: 37+8=45, Resulting Numbers: [21, 24, 45]
Generated Node #0,3: 83:[21, 24, 45] Operation: 37+8=45
Moving to Node #0,0
Current State: 83:[37, 8, 45], Operations: ['21+24=45']
Exploring Operation: 37+8=45, Resulting Numbers: [45, 45]
Generated Node #0,0,0: 83:[45, 45] Operation: 37+8=45
Exploring Operation: 37-8=29, Resulting Numbers: [45, 29]
Generated Node #0,0,1: 83:[45, 29] Operation: 37-8=29
Exploring Operation: 37+45=82, Resulting Numbers: [8, 82]
Generated Node #0,0,2: 83:[8, 82] Operation: 37+45=82
Exploring Operation: 8+45=53, Resulting Numbers: [37, 53]
Generated Node #0,0,3: 83:[37, 53] Operation: 8+45=53
Moving to Node #0,2
Current State: 83:[24, 8, 58], Operations: ['37+21=58']
Exploring Operation: 24+8=32, Resulting Numbers: [58, 32]
Generated Node #0,2,0: 83:[58, 32] Operation: 24+8=32
Exploring Operation: 24+58=82, Resulting Numbers: [8, 82]
Generated Node #0,2,1: 83:[8, 82] Operation: 24+58=82
Exploring Operation: 8+58=66, Resulting Numbers: [24, 66]
Generated Node #0,2,2: 83:[24, 66] Operation: 8+58=66
Exploring Operation: 24-8=16, Resulting Numbers: [58, 16]
Generated Node #0,2,3: 83:[58, 16] Operation: 24-8=16
Moving to Node #0,1
Current State: 83:[21, 8, 61], Operations: ['37+24=61']
Exploring Operation: 21+61=82, Resulting Numbers: [8, 82]
Generated Node #0,1,0: 83:[8, 82] Operation: 21+61=82
Exploring Operation: 8+61=69, Resulting Numbers: [21, 69]
Generated Node #0,1,1: 83:[21, 69] Operation: 8+61=69
Exploring Operation: 21-8=13, Resulting Numbers: [61, 13]
Generated Node #0,1,2: 83:[61, 13] Operation: 21-8=13
Exploring Operation: 21+8=29, Resulting Numbers: [61, 29]
Generated Node #0,1,3: 83:[61, 29] Operation: 21+8=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[8, 82], Operations: ['37+24=61', '21+61=82']
Exploring Operation: 8+82=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 8*82=656, Resulting Numbers: [656]
656,83 unequal: No Solution
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[21, 69], Operations: ['37+24=61', '8+61=69']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 21+69=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 21*69=1449, Resulting Numbers: [1449]
1449,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 83:[61, 29], Operations: ['37+24=61', '21+8=29']
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,83 unequal: No Solution
Exploring Operation: 61*29=1769, Resulting Numbers: [1769]
1769,83 unequal: No Solution
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[61, 13], Operations: ['37+24=61', '21-8=13']
Exploring Operation: 61+13=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 61*13=793, Resulting Numbers: [793]
793,83 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: 83:[21, 24, 45], Operations: ['37+8=45']
Exploring Operation: 24-21=3, Resulting Numbers: [45, 3]
Generated Node #0,3,0: 83:[45, 3] Operation: 24-21=3
Exploring Operation: 21+24=45, Resulting Numbers: [45, 45]
Generated Node #0,3,1: 83:[45, 45] Operation: 21+24=45
Exploring Operation: 24+45=69, Resulting Numbers: [21, 69]
Generated Node #0,3,2: 83:[21, 69] Operation: 24+45=69
Exploring Operation: 21+45=66, Resulting Numbers: [24, 66]
Generated Node #0,3,3: 83:[24, 66] Operation: 21+45=66
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 83:[45, 45], Operations: ['37+8=45', '21+24=45']
Exploring Operation: 45*45=2025, Resulting Numbers: [2025]
2025,83 unequal: No Solution
Exploring Operation: 45-45=0, Resulting Numbers: [0]
0,83 unequal: No Solution
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 83:[21, 69], Operations: ['37+8=45', '24+45=69']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 21+69=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 21*69=1449, Resulting Numbers: [1449]
1449,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[24, 66], Operations: ['37+8=45', '21+45=66']
Exploring Operation: 24+66=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,83 unequal: No Solution
Exploring Operation: 24*66=1584, Resulting Numbers: [1584]
1584,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 83:[45, 3], Operations: ['37+8=45', '24-21=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,83 unequal: No Solution
Exploring Operation: 45*3=135, Resulting Numbers: [135]
135,83 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: 83:[45, 45], Operations: ['21+24=45', '37+8=45']
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 45*45=2025, Resulting Numbers: [2025]
2025,83 unequal: No Solution
Exploring Operation: 45-45=0, Resulting Numbers: [0]
0,83 unequal: No Solution
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[37, 53], Operations: ['21+24=45', '8+45=53']
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 37*53=1961, Resulting Numbers: [1961]
1961,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[24, 66], Operations: ['37+21=58', '8+58=66']
Exploring Operation: 24*66=1584, Resulting Numbers: [1584]
1584,83 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,83 unequal: No Solution
Exploring Operation: 24+66=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[8, 82], Operations: ['37+21=58', '24+58=82']
Exploring Operation: 8+82=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 8*82=656, Resulting Numbers: [656]
656,83 unequal: No Solution
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[8, 82], Operations: ['21+24=45', '37+45=82']
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Exploring Operation: 8+82=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 8*82=656, Resulting Numbers: [656]
656,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[58, 32], Operations: ['37+21=58', '24+8=32']
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,83 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[45, 29], Operations: ['21+24=45', '37-8=29']
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,83 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[58, 16], Operations: ['37+21=58', '24-8=16']
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Exploring Operation: 58*16=928, Resulting Numbers: [928]
928,83 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,83 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.