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 |
|---|---|---|---|---|---|---|---|---|
[
77,
73,
27,
27
] | 81 | [
"77-73=4",
"27*4=108",
"108-27=81"
] | Current State: 81:[77, 73, 27, 27], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [27, 27, 4]
Generated Node #2: [27, 27, 4] from Operation: 77-73=4
Current State: 81:[27, 27, 4], Operations: ['77-73=4']
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,81 equal: Goal Reached
Exploring Operation: 108-27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[77, 73, 27, 27], Operations: []
Exploring Operation: 27/27=1, Resulting Numbers: [77, 73, 1]
Generated Node #0,0: 81:[77, 73, 1] Operation: 27/27=1
Exploring Operation: 77-73=4, Resulting Numbers: [27, 27, 4]
Generated Node #0,1: 81:[27, 27, 4] Operation: 77-73=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[27, 27, 4], Operations: ['77-73=4']
Exploring Operation: 27/27=1, Resulting Numbers: [4, 1]
Generated Node #0,1,0: 81:[4, 1] Operation: 27/27=1
Exploring Operation: 27-27=0, Resulting Numbers: [4, 0]
Generated Node #0,1,1: 81:[4, 0] Operation: 27-27=0
Moving to Node #0,1,0
Current State: 81:[4, 1], Operations: ['77-73=4', '27/27=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[4, 0], Operations: ['77-73=4', '27-27=0']
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[77, 73, 1], Operations: ['27/27=1']
Exploring Operation: 77+1=78, Resulting Numbers: [73, 78]
Generated Node #0,0,0: 81:[73, 78] Operation: 77+1=78
Exploring Operation: 77-73=4, Resulting Numbers: [1, 4]
Generated Node #0,0,1: 81:[1, 4] Operation: 77-73=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[1, 4], Operations: ['27/27=1', '77-73=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[73, 78], Operations: ['27/27=1', '77+1=78']
Exploring Operation: 78-73=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 73+78=151, Resulting Numbers: [151]
151,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
30,
45,
69,
8
] | 62 | [
"45-30=15",
"69+8=77",
"77-15=62"
] | Current State: 62:[30, 45, 69, 8], Operations: []
Exploring Operation: 45-30=15, Resulting Numbers: [69, 8, 15]
Generated Node #2: [69, 8, 15] from Operation: 45-30=15
Current State: 62:[69, 8, 15], Operations: ['45-30=15']
Exploring Operation: 69+8=77, Resulting Numbers: [15, 77]
Generated Node #3: [15, 77] from Operation: 69+8=77
Current State: 62:[15, 77], Operations: ['45-30=15', '69+8=77']
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[30, 45, 69, 8], Operations: []
Exploring Operation: 69-45=24, Resulting Numbers: [30, 8, 24]
Generated Node #0,0: 62:[30, 8, 24] Operation: 69-45=24
Moving to Node #0,0
Current State: 62:[30, 8, 24], Operations: ['69-45=24']
Exploring Operation: 8+24=32, Resulting Numbers: [30, 32]
Generated Node #0,0,0: 62:[30, 32] Operation: 8+24=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[30, 32], Operations: ['69-45=24', '8+24=32']
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[30, 45, 69, 8], Operations: []
Exploring Operation: 69-45=24, Resulting Numbers: [30, 8, 24]
Generated Node #0,0: 62:[30, 8, 24] Operation: 69-45=24
Moving to Node #0,0
Current State: 62:[30, 8, 24], Operations: ['69-45=24']
Exploring Operation: 8+24=32, Resulting Numbers: [30, 32]
Generated Node #0,0,0: 62:[30, 32] Operation: 8+24=32
Moving to Node #0,0,0
Current State: 62:[30, 32], Operations: ['69-45=24', '8+24=32']
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
4,
12,
37,
22
] | 33 | [
"4*12=48",
"37-22=15",
"48-15=33"
] | Current State: 33:[4, 12, 37, 22], Operations: []
Exploring Operation: 4*12=48, Resulting Numbers: [37, 22, 48]
Generated Node #2: [37, 22, 48] from Operation: 4*12=48
Current State: 33:[37, 22, 48], Operations: ['4*12=48']
Exploring Operation: 37-22=15, Resulting Numbers: [48, 15]
Generated Node #3: [48, 15] from Operation: 37-22=15
Current State: 33:[48, 15], Operations: ['4*12=48', '37-22=15']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[4, 12, 37, 22], Operations: []
Exploring Operation: 12+22=34, Resulting Numbers: [4, 37, 34]
Generated Node #0,0: 33:[4, 37, 34] Operation: 12+22=34
Moving to Node #0,0
Current State: 33:[4, 37, 34], Operations: ['12+22=34']
Exploring Operation: 37-4=33, Resulting Numbers: [34, 33]
Generated Node #0,0,0: 33:[34, 33] Operation: 37-4=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[34, 33], Operations: ['12+22=34', '37-4=33']
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,33 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 |
[
30,
28,
53,
29
] | 51 | [
"30+28=58",
"58/29=2",
"53-2=51"
] | Current State: 51:[30, 28, 53, 29], Operations: []
Exploring Operation: 30+28=58, Resulting Numbers: [53, 29, 58]
Generated Node #2: [53, 29, 58] from Operation: 30+28=58
Current State: 51:[53, 29, 58], Operations: ['30+28=58']
Exploring Operation: 58/29=2, Resulting Numbers: [53, 2]
Generated Node #3: [53, 2] from Operation: 58/29=2
Current State: 51:[53, 2], Operations: ['30+28=58', '58/29=2']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[30, 28, 53, 29], Operations: []
Exploring Operation: 30-28=2, Resulting Numbers: [53, 29, 2]
Generated Node #0,0: 51:[53, 29, 2] Operation: 30-28=2
Exploring Operation: 30-29=1, Resulting Numbers: [28, 53, 1]
Generated Node #0,1: 51:[28, 53, 1] Operation: 30-29=1
Exploring Operation: 29-28=1, Resulting Numbers: [30, 53, 1]
Generated Node #0,2: 51:[30, 53, 1] Operation: 29-28=1
Exploring Operation: 30+28=58, Resulting Numbers: [53, 29, 58]
Generated Node #0,3: 51:[53, 29, 58] Operation: 30+28=58
Moving to Node #0,0
Current State: 51:[53, 29, 2], Operations: ['30-28=2']
Exploring Operation: 53-29=24, Resulting Numbers: [2, 24]
Generated Node #0,0,0: 51:[2, 24] Operation: 53-29=24
Exploring Operation: 53-2=51, Resulting Numbers: [29, 51]
Generated Node #0,0,1: 51:[29, 51] Operation: 53-2=51
Exploring Operation: 29*2=58, Resulting Numbers: [53, 58]
Generated Node #0,0,2: 51:[53, 58] Operation: 29*2=58
Exploring Operation: 29-2=27, Resulting Numbers: [53, 27]
Generated Node #0,0,3: 51:[53, 27] Operation: 29-2=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[2, 24], Operations: ['30-28=2', '53-29=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[53, 58], Operations: ['30-28=2', '29*2=58']
Exploring Operation: 53*58=3074, Resulting Numbers: [3074]
3074,51 unequal: No Solution
Exploring Operation: 53+58=111, Resulting Numbers: [111]
111,51 unequal: No Solution
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[29, 51], Operations: ['30-28=2', '53-2=51']
Exploring Operation: 29+51=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 29*51=1479, Resulting Numbers: [1479]
1479,51 unequal: No Solution
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 51:[53, 27], Operations: ['30-28=2', '29-2=27']
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,51 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: 51:[28, 53, 1], Operations: ['30-29=1']
Exploring Operation: 53-28=25, Resulting Numbers: [1, 25]
Generated Node #0,1,0: 51:[1, 25] Operation: 53-28=25
Exploring Operation: 53-1=52, Resulting Numbers: [28, 52]
Generated Node #0,1,1: 51:[28, 52] Operation: 53-1=52
Exploring Operation: 28-1=27, Resulting Numbers: [53, 27]
Generated Node #0,1,2: 51:[53, 27] Operation: 28-1=27
Exploring Operation: 28*1=28, Resulting Numbers: [53, 28]
Generated Node #0,1,3: 51:[53, 28] Operation: 28*1=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[1, 25], Operations: ['30-29=1', '53-28=25']
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[28, 52], Operations: ['30-29=1', '53-1=52']
Exploring Operation: 28*52=1456, Resulting Numbers: [1456]
1456,51 unequal: No Solution
Exploring Operation: 28+52=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[53, 27], Operations: ['30-29=1', '28-1=27']
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,51 unequal: No Solution
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 51:[53, 28], Operations: ['30-29=1', '28*1=28']
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 51:[30, 53, 1], Operations: ['29-28=1']
Exploring Operation: 53-1=52, Resulting Numbers: [30, 52]
Generated Node #0,2,0: 51:[30, 52] Operation: 53-1=52
Exploring Operation: 30*1=30, Resulting Numbers: [53, 30]
Generated Node #0,2,1: 51:[53, 30] Operation: 30*1=30
Exploring Operation: 30-1=29, Resulting Numbers: [53, 29]
Generated Node #0,2,2: 51:[53, 29] Operation: 30-1=29
Exploring Operation: 53-30=23, Resulting Numbers: [1, 23]
Generated Node #0,2,3: 51:[1, 23] Operation: 53-30=23
Moving to Node #0,3
Current State: 51:[53, 29, 58], Operations: ['30+28=58']
Exploring Operation: 58-29=29, Resulting Numbers: [53, 29]
Generated Node #0,3,0: 51:[53, 29] Operation: 58-29=29
Exploring Operation: 53-29=24, Resulting Numbers: [58, 24]
Generated Node #0,3,1: 51:[58, 24] Operation: 53-29=24
Exploring Operation: 58-53=5, Resulting Numbers: [29, 5]
Generated Node #0,3,2: 51:[29, 5] Operation: 58-53=5
Exploring Operation: 58/29=2, Resulting Numbers: [53, 2]
Generated Node #0,3,3: 51:[53, 2] Operation: 58/29=2
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 51:[53, 2], Operations: ['30+28=58', '58/29=2']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[30, 28, 53, 29], Operations: []
Exploring Operation: 30+28=58, Resulting Numbers: [53, 29, 58]
Generated Node #0,3: 51:[53, 29, 58] Operation: 30+28=58
Moving to Node #0,3
Current State: 51:[53, 29, 58], Operations: ['30+28=58']
Exploring Operation: 58/29=2, Resulting Numbers: [53, 2]
Generated Node #0,3,3: 51:[53, 2] Operation: 58/29=2
Moving to Node #0,3,3
Current State: 51:[53, 2], Operations: ['30+28=58', '58/29=2']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_4 | mult_heuristic |
[
93,
50,
57,
50
] | 93 | [
"50-50=0",
"57*0=0",
"93+0=93"
] | Current State: 93:[93, 50, 57, 50], Operations: []
Exploring Operation: 50-50=0, Resulting Numbers: [93, 57, 0]
Generated Node #2: [93, 57, 0] from Operation: 50-50=0
Current State: 93:[93, 57, 0], Operations: ['50-50=0']
Exploring Operation: 57*0=0, Resulting Numbers: [93, 0]
Generated Node #3: [93, 0] from Operation: 57*0=0
Current State: 93:[93, 0], Operations: ['50-50=0', '57*0=0']
Exploring Operation: 93+0=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[93, 50, 57, 50], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [93, 50, 7]
Generated Node #0,0: 93:[93, 50, 7] Operation: 57-50=7
Exploring Operation: 50/50=1, Resulting Numbers: [93, 57, 1]
Generated Node #0,1: 93:[93, 57, 1] Operation: 50/50=1
Exploring Operation: 57-50=7, Resulting Numbers: [93, 50, 7]
Generated Node #0,2: 93:[93, 50, 7] Operation: 57-50=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[93, 50, 7], Operations: ['57-50=7']
Exploring Operation: 50-7=43, Resulting Numbers: [93, 43]
Generated Node #0,0,0: 93:[93, 43] Operation: 50-7=43
Exploring Operation: 93+7=100, Resulting Numbers: [50, 100]
Generated Node #0,0,1: 93:[50, 100] Operation: 93+7=100
Exploring Operation: 93-50=43, Resulting Numbers: [7, 43]
Generated Node #0,0,2: 93:[7, 43] Operation: 93-50=43
Moving to Node #0,0,0
Current State: 93:[93, 43], Operations: ['57-50=7', '50-7=43']
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,93 unequal: No Solution
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,93 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[7, 43], Operations: ['57-50=7', '93-50=43']
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,93 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[50, 100], Operations: ['57-50=7', '93+7=100']
Exploring Operation: 100/50=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 100-50=50, Resulting Numbers: [50]
50,93 unequal: No Solution
Exploring Operation: 50+100=150, Resulting Numbers: [150]
150,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[93, 50, 7], Operations: ['57-50=7']
Exploring Operation: 93+7=100, Resulting Numbers: [50, 100]
Generated Node #0,2,0: 93:[50, 100] Operation: 93+7=100
Exploring Operation: 50-7=43, Resulting Numbers: [93, 43]
Generated Node #0,2,1: 93:[93, 43] Operation: 50-7=43
Exploring Operation: 93-50=43, Resulting Numbers: [7, 43]
Generated Node #0,2,2: 93:[7, 43] Operation: 93-50=43
Moving to Node #0,2,1
Current State: 93:[93, 43], Operations: ['57-50=7', '50-7=43']
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,93 unequal: No Solution
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,93 unequal: No Solution
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[7, 43], Operations: ['57-50=7', '93-50=43']
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,93 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,93 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[50, 100], Operations: ['57-50=7', '93+7=100']
Exploring Operation: 100/50=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 50+100=150, Resulting Numbers: [150]
150,93 unequal: No Solution
Exploring Operation: 100-50=50, Resulting Numbers: [50]
50,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[93, 57, 1], Operations: ['50/50=1']
Exploring Operation: 93-57=36, Resulting Numbers: [1, 36]
Generated Node #0,1,0: 93:[1, 36] Operation: 93-57=36
Exploring Operation: 57-1=56, Resulting Numbers: [93, 56]
Generated Node #0,1,1: 93:[93, 56] Operation: 57-1=56
Exploring Operation: 93*1=93, Resulting Numbers: [57, 93]
Generated Node #0,1,2: 93:[57, 93] Operation: 93*1=93
Moving to Node #0,1,0
Current State: 93:[1, 36], Operations: ['50/50=1', '93-57=36']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[93, 56], Operations: ['50/50=1', '57-1=56']
Exploring Operation: 93+56=149, Resulting Numbers: [149]
149,93 unequal: No Solution
Exploring Operation: 93-56=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Exploring Operation: 93*56=5208, Resulting Numbers: [5208]
5208,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[57, 93], Operations: ['50/50=1', '93*1=93']
Exploring Operation: 57*93=5301, Resulting Numbers: [5301]
5301,93 unequal: No Solution
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 57+93=150, Resulting Numbers: [150]
150,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
37,
10,
96,
83
] | 34 | [
"37+10=47",
"96-83=13",
"47-13=34"
] | Current State: 34:[37, 10, 96, 83], Operations: []
Exploring Operation: 37+10=47, Resulting Numbers: [96, 83, 47]
Generated Node #2: [96, 83, 47] from Operation: 37+10=47
Current State: 34:[96, 83, 47], Operations: ['37+10=47']
Exploring Operation: 96-83=13, Resulting Numbers: [47, 13]
Generated Node #3: [47, 13] from Operation: 96-83=13
Current State: 34:[47, 13], Operations: ['37+10=47', '96-83=13']
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[37, 10, 96, 83], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [37, 10, 13]
Generated Node #0,0: 34:[37, 10, 13] Operation: 96-83=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[37, 10, 13], Operations: ['96-83=13']
Exploring Operation: 13-10=3, Resulting Numbers: [37, 3]
Generated Node #0,0,0: 34:[37, 3] Operation: 13-10=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[37, 3], Operations: ['96-83=13', '13-10=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[37, 10, 96, 83], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [37, 10, 13]
Generated Node #0,0: 34:[37, 10, 13] Operation: 96-83=13
Moving to Node #0,0
Current State: 34:[37, 10, 13], Operations: ['96-83=13']
Exploring Operation: 13-10=3, Resulting Numbers: [37, 3]
Generated Node #0,0,0: 34:[37, 3] Operation: 13-10=3
Moving to Node #0,0,0
Current State: 34:[37, 3], Operations: ['96-83=13', '13-10=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
5,
97,
26,
55
] | 73 | [
"5+97=102",
"55-26=29",
"102-29=73"
] | Current State: 73:[5, 97, 26, 55], Operations: []
Exploring Operation: 5+97=102, Resulting Numbers: [26, 55, 102]
Generated Node #2: [26, 55, 102] from Operation: 5+97=102
Current State: 73:[26, 55, 102], Operations: ['5+97=102']
Exploring Operation: 55-26=29, Resulting Numbers: [102, 29]
Generated Node #3: [102, 29] from Operation: 55-26=29
Current State: 73:[102, 29], Operations: ['5+97=102', '55-26=29']
Exploring Operation: 102-29=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[5, 97, 26, 55], Operations: []
Exploring Operation: 5+97=102, Resulting Numbers: [26, 55, 102]
Generated Node #0,0: 73:[26, 55, 102] Operation: 5+97=102
Exploring Operation: 97-26=71, Resulting Numbers: [5, 55, 71]
Generated Node #0,1: 73:[5, 55, 71] Operation: 97-26=71
Exploring Operation: 97-5=92, Resulting Numbers: [26, 55, 92]
Generated Node #0,2: 73:[26, 55, 92] Operation: 97-5=92
Exploring Operation: 5+55=60, Resulting Numbers: [97, 26, 60]
Generated Node #0,3: 73:[97, 26, 60] Operation: 5+55=60
Exploring Operation: 5+26=31, Resulting Numbers: [97, 55, 31]
Generated Node #0,4: 73:[97, 55, 31] Operation: 5+26=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[26, 55, 92], Operations: ['97-5=92']
Exploring Operation: 26+92=118, Resulting Numbers: [55, 118]
Generated Node #0,2,0: 73:[55, 118] Operation: 26+92=118
Exploring Operation: 92-55=37, Resulting Numbers: [26, 37]
Generated Node #0,2,1: 73:[26, 37] Operation: 92-55=37
Exploring Operation: 92-26=66, Resulting Numbers: [55, 66]
Generated Node #0,2,2: 73:[55, 66] Operation: 92-26=66
Exploring Operation: 55-26=29, Resulting Numbers: [92, 29]
Generated Node #0,2,3: 73:[92, 29] Operation: 55-26=29
Exploring Operation: 26+55=81, Resulting Numbers: [92, 81]
Generated Node #0,2,4: 73:[92, 81] Operation: 26+55=81
Moving to Node #0,2,2
Current State: 73:[55, 66], Operations: ['97-5=92', '92-26=66']
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 55*66=3630, Resulting Numbers: [3630]
3630,73 unequal: No Solution
Exploring Operation: 55+66=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[92, 81], Operations: ['97-5=92', '26+55=81']
Exploring Operation: 92*81=7452, Resulting Numbers: [7452]
7452,73 unequal: No Solution
Exploring Operation: 92+81=173, Resulting Numbers: [173]
173,73 unequal: No Solution
Exploring Operation: 92-81=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[55, 118], Operations: ['97-5=92', '26+92=118']
Exploring Operation: 118-55=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 55+118=173, Resulting Numbers: [173]
173,73 unequal: No Solution
Exploring Operation: 55*118=6490, Resulting Numbers: [6490]
6490,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[92, 29], Operations: ['97-5=92', '55-26=29']
Exploring Operation: 92*29=2668, Resulting Numbers: [2668]
2668,73 unequal: No Solution
Exploring Operation: 92+29=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 92-29=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[26, 37], Operations: ['97-5=92', '92-55=37']
Exploring Operation: 26+37=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 26*37=962, Resulting Numbers: [962]
962,73 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,73 unequal: No Solution
No 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: 73:[97, 26, 60], Operations: ['5+55=60']
Exploring Operation: 26+60=86, Resulting Numbers: [97, 86]
Generated Node #0,3,0: 73:[97, 86] Operation: 26+60=86
Exploring Operation: 60-26=34, Resulting Numbers: [97, 34]
Generated Node #0,3,1: 73:[97, 34] Operation: 60-26=34
Exploring Operation: 97-26=71, Resulting Numbers: [60, 71]
Generated Node #0,3,2: 73:[60, 71] Operation: 97-26=71
Exploring Operation: 97+26=123, Resulting Numbers: [60, 123]
Generated Node #0,3,3: 73:[60, 123] Operation: 97+26=123
Exploring Operation: 97-60=37, Resulting Numbers: [26, 37]
Generated Node #0,3,4: 73:[26, 37] Operation: 97-60=37
Moving to Node #0,3,2
Current State: 73:[60, 71], Operations: ['5+55=60', '97-26=71']
Exploring Operation: 60+71=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Exploring Operation: 60*71=4260, Resulting Numbers: [4260]
4260,73 unequal: No Solution
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[97, 86], Operations: ['5+55=60', '26+60=86']
Exploring Operation: 97*86=8342, Resulting Numbers: [8342]
8342,73 unequal: No Solution
Exploring Operation: 97-86=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 97+86=183, Resulting Numbers: [183]
183,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[97, 34], Operations: ['5+55=60', '60-26=34']
Exploring Operation: 97*34=3298, Resulting Numbers: [3298]
3298,73 unequal: No Solution
Exploring Operation: 97-34=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 97+34=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[60, 123], Operations: ['5+55=60', '97+26=123']
Exploring Operation: 60*123=7380, Resulting Numbers: [7380]
7380,73 unequal: No Solution
Exploring Operation: 60+123=183, Resulting Numbers: [183]
183,73 unequal: No Solution
Exploring Operation: 123-60=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Moving to Node #0,3,4
Current State: 73:[26, 37], Operations: ['5+55=60', '97-60=37']
Exploring Operation: 26*37=962, Resulting Numbers: [962]
962,73 unequal: No Solution
Exploring Operation: 26+37=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,73 unequal: No Solution
No 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: 73:[97, 55, 31], Operations: ['5+26=31']
Exploring Operation: 97-55=42, Resulting Numbers: [31, 42]
Generated Node #0,4,0: 73:[31, 42] Operation: 97-55=42
Exploring Operation: 97-31=66, Resulting Numbers: [55, 66]
Generated Node #0,4,1: 73:[55, 66] Operation: 97-31=66
Exploring Operation: 55-31=24, Resulting Numbers: [97, 24]
Generated Node #0,4,2: 73:[97, 24] Operation: 55-31=24
Exploring Operation: 97+31=128, Resulting Numbers: [55, 128]
Generated Node #0,4,3: 73:[55, 128] Operation: 97+31=128
Exploring Operation: 55+31=86, Resulting Numbers: [97, 86]
Generated Node #0,4,4: 73:[97, 86] Operation: 55+31=86
Moving to Node #0,4,1
Current State: 73:[55, 66], Operations: ['5+26=31', '97-31=66']
Exploring Operation: 55+66=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 55*66=3630, Resulting Numbers: [3630]
3630,73 unequal: No Solution
Moving to Node #0,4,4
Current State: 73:[97, 86], Operations: ['5+26=31', '55+31=86']
Exploring Operation: 97*86=8342, Resulting Numbers: [8342]
8342,73 unequal: No Solution
Exploring Operation: 97-86=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 97+86=183, Resulting Numbers: [183]
183,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[31, 42], Operations: ['5+26=31', '97-55=42']
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 31+42=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[5, 97, 26, 55], Operations: []
Exploring Operation: 5+26=31, Resulting Numbers: [97, 55, 31]
Generated Node #0,4: 73:[97, 55, 31] Operation: 5+26=31
Moving to Node #0,4
Current State: 73:[97, 55, 31], Operations: ['5+26=31']
Exploring Operation: 97-55=42, Resulting Numbers: [31, 42]
Generated Node #0,4,0: 73:[31, 42] Operation: 97-55=42
Moving to Node #0,4,0
Current State: 73:[31, 42], Operations: ['5+26=31', '97-55=42']
Exploring Operation: 31+42=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.946181 | hs_5 | mult_heuristic |
[
68,
24,
57,
36
] | 65 | [
"68-24=44",
"57-36=21",
"44+21=65"
] | Current State: 65:[68, 24, 57, 36], Operations: []
Exploring Operation: 68-24=44, Resulting Numbers: [57, 36, 44]
Generated Node #2: [57, 36, 44] from Operation: 68-24=44
Current State: 65:[57, 36, 44], Operations: ['68-24=44']
Exploring Operation: 57-36=21, Resulting Numbers: [44, 21]
Generated Node #3: [44, 21] from Operation: 57-36=21
Current State: 65:[44, 21], Operations: ['68-24=44', '57-36=21']
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[68, 24, 57, 36], Operations: []
Exploring Operation: 24+36=60, Resulting Numbers: [68, 57, 60]
Generated Node #0,0: 65:[68, 57, 60] Operation: 24+36=60
Exploring Operation: 68-57=11, Resulting Numbers: [24, 36, 11]
Generated Node #0,1: 65:[24, 36, 11] Operation: 68-57=11
Exploring Operation: 36-24=12, Resulting Numbers: [68, 57, 12]
Generated Node #0,2: 65:[68, 57, 12] Operation: 36-24=12
Exploring Operation: 57-36=21, Resulting Numbers: [68, 24, 21]
Generated Node #0,3: 65:[68, 24, 21] Operation: 57-36=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[68, 57, 12], Operations: ['36-24=12']
Exploring Operation: 68-12=56, Resulting Numbers: [57, 56]
Generated Node #0,2,0: 65:[57, 56] Operation: 68-12=56
Exploring Operation: 68-57=11, Resulting Numbers: [12, 11]
Generated Node #0,2,1: 65:[12, 11] Operation: 68-57=11
Exploring Operation: 57+12=69, Resulting Numbers: [68, 69]
Generated Node #0,2,2: 65:[68, 69] Operation: 57+12=69
Exploring Operation: 68+12=80, Resulting Numbers: [57, 80]
Generated Node #0,2,3: 65:[57, 80] Operation: 68+12=80
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 65:[12, 11], Operations: ['36-24=12', '68-57=11']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,65 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 65:[68, 69], Operations: ['36-24=12', '57+12=69']
Exploring Operation: 68+69=137, Resulting Numbers: [137]
137,65 unequal: No Solution
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 68*69=4692, Resulting Numbers: [4692]
4692,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 65:[57, 56], Operations: ['36-24=12', '68-12=56']
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 57*56=3192, Resulting Numbers: [3192]
3192,65 unequal: No Solution
Exploring Operation: 57+56=113, Resulting Numbers: [113]
113,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 65:[57, 80], Operations: ['36-24=12', '68+12=80']
Exploring Operation: 57+80=137, Resulting Numbers: [137]
137,65 unequal: No Solution
Exploring Operation: 57*80=4560, Resulting Numbers: [4560]
4560,65 unequal: No Solution
Exploring Operation: 80-57=23, Resulting Numbers: [23]
23,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[68, 57, 60], Operations: ['24+36=60']
Exploring Operation: 60-57=3, Resulting Numbers: [68, 3]
Generated Node #0,0,0: 65:[68, 3] Operation: 60-57=3
Exploring Operation: 57+60=117, Resulting Numbers: [68, 117]
Generated Node #0,0,1: 65:[68, 117] Operation: 57+60=117
Exploring Operation: 68-60=8, Resulting Numbers: [57, 8]
Generated Node #0,0,2: 65:[57, 8] Operation: 68-60=8
Exploring Operation: 68-57=11, Resulting Numbers: [60, 11]
Generated Node #0,0,3: 65:[60, 11] Operation: 68-57=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[68, 3], Operations: ['24+36=60', '60-57=3']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[68, 24, 57, 36], Operations: []
Exploring Operation: 24+36=60, Resulting Numbers: [68, 57, 60]
Generated Node #0,0: 65:[68, 57, 60] Operation: 24+36=60
Moving to Node #0,0
Current State: 65:[68, 57, 60], Operations: ['24+36=60']
Exploring Operation: 60-57=3, Resulting Numbers: [68, 3]
Generated Node #0,0,0: 65:[68, 3] Operation: 60-57=3
Moving to Node #0,0,0
Current State: 65:[68, 3], Operations: ['24+36=60', '60-57=3']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
68,
96,
82,
24
] | 10 | [
"82-68=14",
"96/24=4",
"14-4=10"
] | Current State: 10:[68, 96, 82, 24], Operations: []
Exploring Operation: 82-68=14, Resulting Numbers: [96, 24, 14]
Generated Node #2: [96, 24, 14] from Operation: 82-68=14
Current State: 10:[96, 24, 14], Operations: ['82-68=14']
Exploring Operation: 96/24=4, Resulting Numbers: [14, 4]
Generated Node #3: [14, 4] from Operation: 96/24=4
Current State: 10:[14, 4], Operations: ['82-68=14', '96/24=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[68, 96, 82, 24], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [68, 24, 14]
Generated Node #0,0: 10:[68, 24, 14] Operation: 96-82=14
Moving to Node #0,0
Current State: 10:[68, 24, 14], Operations: ['96-82=14']
Exploring Operation: 68-24=44, Resulting Numbers: [14, 44]
Generated Node #0,0,0: 10:[14, 44] Operation: 68-24=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[14, 44], Operations: ['96-82=14', '68-24=44']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,10 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 |
[
37,
74,
52,
86
] | 51 | [
"37*74=2738",
"2738-86=2652",
"2652/52=51"
] | Current State: 51:[37, 74, 52, 86], Operations: []
Exploring Operation: 37*74=2738, Resulting Numbers: [52, 86, 2738]
Generated Node #2: [52, 86, 2738] from Operation: 37*74=2738
Current State: 51:[52, 86, 2738], Operations: ['37*74=2738']
Exploring Operation: 2738-86=2652, Resulting Numbers: [52, 2652]
Generated Node #3: [52, 2652] from Operation: 2738-86=2652
Current State: 51:[52, 2652], Operations: ['37*74=2738', '2738-86=2652']
Exploring Operation: 2652/52=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[37, 74, 52, 86], Operations: []
Exploring Operation: 74-37=37, Resulting Numbers: [52, 86, 37]
Generated Node #0,0: 51:[52, 86, 37] Operation: 74-37=37
Exploring Operation: 86-37=49, Resulting Numbers: [74, 52, 49]
Generated Node #0,1: 51:[74, 52, 49] Operation: 86-37=49
Exploring Operation: 74/37=2, Resulting Numbers: [52, 86, 2]
Generated Node #0,2: 51:[52, 86, 2] Operation: 74/37=2
Exploring Operation: 86-74=12, Resulting Numbers: [37, 52, 12]
Generated Node #0,3: 51:[37, 52, 12] Operation: 86-74=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[37, 52, 12], Operations: ['86-74=12']
Exploring Operation: 37-12=25, Resulting Numbers: [52, 25]
Generated Node #0,3,0: 51:[52, 25] Operation: 37-12=25
Exploring Operation: 37+12=49, Resulting Numbers: [52, 49]
Generated Node #0,3,1: 51:[52, 49] Operation: 37+12=49
Exploring Operation: 52-12=40, Resulting Numbers: [37, 40]
Generated Node #0,3,2: 51:[37, 40] Operation: 52-12=40
Exploring Operation: 52-37=15, Resulting Numbers: [12, 15]
Generated Node #0,3,3: 51:[12, 15] Operation: 52-37=15
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 51:[52, 49], Operations: ['86-74=12', '37+12=49']
Exploring Operation: 52+49=101, Resulting Numbers: [101]
101,51 unequal: No Solution
Exploring Operation: 52*49=2548, Resulting Numbers: [2548]
2548,51 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,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,3,3
Current State: 51:[12, 15], Operations: ['86-74=12', '52-37=15']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,51 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,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,3,0
Current State: 51:[52, 25], Operations: ['86-74=12', '37-12=25']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,51 unequal: No Solution
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,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,3,2
Current State: 51:[37, 40], Operations: ['86-74=12', '52-12=40']
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,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:[74, 52, 49], Operations: ['86-37=49']
Exploring Operation: 74+49=123, Resulting Numbers: [52, 123]
Generated Node #0,1,0: 51:[52, 123] Operation: 74+49=123
Exploring Operation: 52-49=3, Resulting Numbers: [74, 3]
Generated Node #0,1,1: 51:[74, 3] Operation: 52-49=3
Exploring Operation: 74-49=25, Resulting Numbers: [52, 25]
Generated Node #0,1,2: 51:[52, 25] Operation: 74-49=25
Exploring Operation: 74-52=22, Resulting Numbers: [49, 22]
Generated Node #0,1,3: 51:[49, 22] Operation: 74-52=22
Moving to Node #0,1,3
Current State: 51:[49, 22], Operations: ['86-37=49', '74-52=22']
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[52, 25], Operations: ['86-37=49', '74-49=25']
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,51 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[74, 3], Operations: ['86-37=49', '52-49=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,51 unequal: No Solution
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[52, 123], Operations: ['86-37=49', '74+49=123']
Exploring Operation: 52+123=175, Resulting Numbers: [175]
175,51 unequal: No Solution
Exploring Operation: 123-52=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 52*123=6396, Resulting Numbers: [6396]
6396,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[52, 86, 2], Operations: ['74/37=2']
Exploring Operation: 86/2=43, Resulting Numbers: [52, 43]
Generated Node #0,2,0: 51:[52, 43] Operation: 86/2=43
Exploring Operation: 86-52=34, Resulting Numbers: [2, 34]
Generated Node #0,2,1: 51:[2, 34] Operation: 86-52=34
Exploring Operation: 86-2=84, Resulting Numbers: [52, 84]
Generated Node #0,2,2: 51:[52, 84] Operation: 86-2=84
Exploring Operation: 52-2=50, Resulting Numbers: [86, 50]
Generated Node #0,2,3: 51:[86, 50] Operation: 52-2=50
Moving to Node #0,2,0
Current State: 51:[52, 43], Operations: ['74/37=2', '86/2=43']
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 52*43=2236, Resulting Numbers: [2236]
2236,51 unequal: No Solution
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[2, 34], Operations: ['74/37=2', '86-52=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,51 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[52, 84], Operations: ['74/37=2', '86-2=84']
Exploring Operation: 52*84=4368, Resulting Numbers: [4368]
4368,51 unequal: No Solution
Exploring Operation: 52+84=136, Resulting Numbers: [136]
136,51 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[86, 50], Operations: ['74/37=2', '52-2=50']
Exploring Operation: 86+50=136, Resulting Numbers: [136]
136,51 unequal: No Solution
Exploring Operation: 86-50=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 86*50=4300, Resulting Numbers: [4300]
4300,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[52, 86, 37], Operations: ['74-37=37']
Exploring Operation: 52-37=15, Resulting Numbers: [86, 15]
Generated Node #0,0,0: 51:[86, 15] Operation: 52-37=15
Exploring Operation: 52+37=89, Resulting Numbers: [86, 89]
Generated Node #0,0,1: 51:[86, 89] Operation: 52+37=89
Exploring Operation: 86-52=34, Resulting Numbers: [37, 34]
Generated Node #0,0,2: 51:[37, 34] Operation: 86-52=34
Exploring Operation: 86-37=49, Resulting Numbers: [52, 49]
Generated Node #0,0,3: 51:[52, 49] Operation: 86-37=49
Moving to Node #0,0,3
Current State: 51:[52, 49], Operations: ['74-37=37', '86-37=49']
Exploring Operation: 52+49=101, Resulting Numbers: [101]
101,51 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 52*49=2548, Resulting Numbers: [2548]
2548,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[37, 34], Operations: ['74-37=37', '86-52=34']
Exploring Operation: 37*34=1258, Resulting Numbers: [1258]
1258,51 unequal: No Solution
Exploring Operation: 37+34=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[86, 15], Operations: ['74-37=37', '52-37=15']
Exploring Operation: 86+15=101, Resulting Numbers: [101]
101,51 unequal: No Solution
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 86*15=1290, Resulting Numbers: [1290]
1290,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[86, 89], Operations: ['74-37=37', '52+37=89']
Exploring Operation: 86*89=7654, Resulting Numbers: [7654]
7654,51 unequal: No Solution
Exploring Operation: 89-86=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 86+89=175, Resulting Numbers: [175]
175,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
41,
90,
6,
3
] | 27 | [
"41*3=123",
"90+6=96",
"123-96=27"
] | Current State: 27:[41, 90, 6, 3], Operations: []
Exploring Operation: 41*3=123, Resulting Numbers: [90, 6, 123]
Generated Node #2: [90, 6, 123] from Operation: 41*3=123
Current State: 27:[90, 6, 123], Operations: ['41*3=123']
Exploring Operation: 90+6=96, Resulting Numbers: [123, 96]
Generated Node #3: [123, 96] from Operation: 90+6=96
Current State: 27:[123, 96], Operations: ['41*3=123', '90+6=96']
Exploring Operation: 123-96=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[41, 90, 6, 3], Operations: []
Exploring Operation: 90/6=15, Resulting Numbers: [41, 3, 15]
Generated Node #0,0: 27:[41, 3, 15] Operation: 90/6=15
Exploring Operation: 90/3=30, Resulting Numbers: [41, 6, 30]
Generated Node #0,1: 27:[41, 6, 30] Operation: 90/3=30
Exploring Operation: 41-6=35, Resulting Numbers: [90, 3, 35]
Generated Node #0,2: 27:[90, 3, 35] Operation: 41-6=35
Exploring Operation: 90-41=49, Resulting Numbers: [6, 3, 49]
Generated Node #0,3: 27:[6, 3, 49] Operation: 90-41=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[41, 3, 15], Operations: ['90/6=15']
Exploring Operation: 15/3=5, Resulting Numbers: [41, 5]
Generated Node #0,0,0: 27:[41, 5] Operation: 15/3=5
Exploring Operation: 15-3=12, Resulting Numbers: [41, 12]
Generated Node #0,0,1: 27:[41, 12] Operation: 15-3=12
Exploring Operation: 41-3=38, Resulting Numbers: [15, 38]
Generated Node #0,0,2: 27:[15, 38] Operation: 41-3=38
Exploring Operation: 41-15=26, Resulting Numbers: [3, 26]
Generated Node #0,0,3: 27:[3, 26] Operation: 41-15=26
Moving to Node #0,0,3
Current State: 27:[3, 26], Operations: ['90/6=15', '41-15=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[41, 5], Operations: ['90/6=15', '15/3=5']
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,27 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[15, 38], Operations: ['90/6=15', '41-3=38']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,27 unequal: No Solution
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[41, 12], Operations: ['90/6=15', '15-3=12']
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,27 unequal: No Solution
Exploring Operation: 41*12=492, Resulting Numbers: [492]
492,27 unequal: No Solution
No 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: 27:[41, 6, 30], Operations: ['90/3=30']
Exploring Operation: 41-6=35, Resulting Numbers: [30, 35]
Generated Node #0,1,0: 27:[30, 35] Operation: 41-6=35
Exploring Operation: 41-30=11, Resulting Numbers: [6, 11]
Generated Node #0,1,1: 27:[6, 11] Operation: 41-30=11
Exploring Operation: 30-6=24, Resulting Numbers: [41, 24]
Generated Node #0,1,2: 27:[41, 24] Operation: 30-6=24
Exploring Operation: 30/6=5, Resulting Numbers: [41, 5]
Generated Node #0,1,3: 27:[41, 5] Operation: 30/6=5
Moving to Node #0,1,1
Current State: 27:[6, 11], Operations: ['90/3=30', '41-30=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[30, 35], Operations: ['90/3=30', '41-6=35']
Exploring Operation: 30*35=1050, Resulting Numbers: [1050]
1050,27 unequal: No Solution
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,27 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[41, 5], Operations: ['90/3=30', '30/6=5']
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,27 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[41, 24], Operations: ['90/3=30', '30-6=24']
Exploring Operation: 41+24=65, Resulting Numbers: [65]
65,27 unequal: No Solution
Exploring Operation: 41*24=984, Resulting Numbers: [984]
984,27 unequal: No Solution
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,27 unequal: No Solution
No 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: 27:[6, 3, 49], Operations: ['90-41=49']
Exploring Operation: 49-6=43, Resulting Numbers: [3, 43]
Generated Node #0,3,0: 27:[3, 43] Operation: 49-6=43
Exploring Operation: 49-3=46, Resulting Numbers: [6, 46]
Generated Node #0,3,1: 27:[6, 46] Operation: 49-3=46
Exploring Operation: 6+3=9, Resulting Numbers: [49, 9]
Generated Node #0,3,2: 27:[49, 9] Operation: 6+3=9
Exploring Operation: 6-3=3, Resulting Numbers: [49, 3]
Generated Node #0,3,3: 27:[49, 3] Operation: 6-3=3
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 27:[3, 43], Operations: ['90-41=49', '49-6=43']
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,27 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,27 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,27 unequal: No Solution
No 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: 27:[6, 46], Operations: ['90-41=49', '49-3=46']
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,27 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,27 unequal: No Solution
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,27 unequal: No Solution
No 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: 27:[49, 9], Operations: ['90-41=49', '6+3=9']
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 49*9=441, Resulting Numbers: [441]
441,27 unequal: No Solution
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,27 unequal: No Solution
No 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: 27:[49, 3], Operations: ['90-41=49', '6-3=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[90, 3, 35], Operations: ['41-6=35']
Exploring Operation: 90-35=55, Resulting Numbers: [3, 55]
Generated Node #0,2,0: 27:[3, 55] Operation: 90-35=55
Exploring Operation: 90-3=87, Resulting Numbers: [35, 87]
Generated Node #0,2,1: 27:[35, 87] Operation: 90-3=87
Exploring Operation: 35-3=32, Resulting Numbers: [90, 32]
Generated Node #0,2,2: 27:[90, 32] Operation: 35-3=32
Exploring Operation: 90/3=30, Resulting Numbers: [35, 30]
Generated Node #0,2,3: 27:[35, 30] Operation: 90/3=30
Moving to Node #0,2,3
Current State: 27:[35, 30], Operations: ['41-6=35', '90/3=30']
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,27 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 35*30=1050, Resulting Numbers: [1050]
1050,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[3, 55], Operations: ['41-6=35', '90-35=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[90, 32], Operations: ['41-6=35', '35-3=32']
Exploring Operation: 90+32=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Exploring Operation: 90*32=2880, Resulting Numbers: [2880]
2880,27 unequal: No Solution
Exploring Operation: 90-32=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[35, 87], Operations: ['41-6=35', '90-3=87']
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 35*87=3045, Resulting Numbers: [3045]
3045,27 unequal: No Solution
Exploring Operation: 35+87=122, Resulting Numbers: [122]
122,27 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 |
[
15,
12,
34,
30
] | 91 | [
"15+12=27",
"34+30=64",
"27+64=91"
] | Current State: 91:[15, 12, 34, 30], Operations: []
Exploring Operation: 15+12=27, Resulting Numbers: [34, 30, 27]
Generated Node #2: [34, 30, 27] from Operation: 15+12=27
Current State: 91:[34, 30, 27], Operations: ['15+12=27']
Exploring Operation: 34+30=64, Resulting Numbers: [27, 64]
Generated Node #3: [27, 64] from Operation: 34+30=64
Current State: 91:[27, 64], Operations: ['15+12=27', '34+30=64']
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[15, 12, 34, 30], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [15, 12, 4]
Generated Node #0,0: 91:[15, 12, 4] Operation: 34-30=4
Exploring Operation: 34-15=19, Resulting Numbers: [12, 30, 19]
Generated Node #0,1: 91:[12, 30, 19] Operation: 34-15=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[15, 12, 4], Operations: ['34-30=4']
Exploring Operation: 12-4=8, Resulting Numbers: [15, 8]
Generated Node #0,0,0: 91:[15, 8] Operation: 12-4=8
Exploring Operation: 15-4=11, Resulting Numbers: [12, 11]
Generated Node #0,0,1: 91:[12, 11] Operation: 15-4=11
Moving to Node #0,0,0
Current State: 91:[15, 8], Operations: ['34-30=4', '12-4=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[12, 11], Operations: ['34-30=4', '15-4=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[12, 30, 19], Operations: ['34-15=19']
Exploring Operation: 30-12=18, Resulting Numbers: [19, 18]
Generated Node #0,1,0: 91:[19, 18] Operation: 30-12=18
Exploring Operation: 30-19=11, Resulting Numbers: [12, 11]
Generated Node #0,1,1: 91:[12, 11] Operation: 30-19=11
Moving to Node #0,1,1
Current State: 91:[12, 11], Operations: ['34-15=19', '30-19=11']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[19, 18], Operations: ['34-15=19', '30-12=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,91 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,91 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 |
[
61,
98,
56,
56
] | 38 | [
"98-61=37",
"56/56=1",
"37+1=38"
] | Current State: 38:[61, 98, 56, 56], Operations: []
Exploring Operation: 98-61=37, Resulting Numbers: [56, 56, 37]
Generated Node #2: [56, 56, 37] from Operation: 98-61=37
Current State: 38:[56, 56, 37], Operations: ['98-61=37']
Exploring Operation: 56/56=1, Resulting Numbers: [37, 1]
Generated Node #3: [37, 1] from Operation: 56/56=1
Current State: 38:[37, 1], Operations: ['98-61=37', '56/56=1']
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[61, 98, 56, 56], Operations: []
Exploring Operation: 98-56=42, Resulting Numbers: [61, 56, 42]
Generated Node #0,0: 38:[61, 56, 42] Operation: 98-56=42
Exploring Operation: 98-61=37, Resulting Numbers: [56, 56, 37]
Generated Node #0,1: 38:[56, 56, 37] Operation: 98-61=37
Exploring Operation: 98-56=42, Resulting Numbers: [61, 56, 42]
Generated Node #0,2: 38:[61, 56, 42] Operation: 98-56=42
Moving to Node #0,1
Current State: 38:[56, 56, 37], Operations: ['98-61=37']
Exploring Operation: 56-56=0, Resulting Numbers: [37, 0]
Generated Node #0,1,0: 38:[37, 0] Operation: 56-56=0
Exploring Operation: 56-37=19, Resulting Numbers: [56, 19]
Generated Node #0,1,1: 38:[56, 19] Operation: 56-37=19
Exploring Operation: 56/56=1, Resulting Numbers: [37, 1]
Generated Node #0,1,2: 38:[37, 1] Operation: 56/56=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 38:[37, 1], Operations: ['98-61=37', '56/56=1']
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[61, 98, 56, 56], Operations: []
Exploring Operation: 98-61=37, Resulting Numbers: [56, 56, 37]
Generated Node #0,1: 38:[56, 56, 37] Operation: 98-61=37
Moving to Node #0,1
Current State: 38:[56, 56, 37], Operations: ['98-61=37']
Exploring Operation: 56/56=1, Resulting Numbers: [37, 1]
Generated Node #0,1,2: 38:[37, 1] Operation: 56/56=1
Moving to Node #0,1,2
Current State: 38:[37, 1], Operations: ['98-61=37', '56/56=1']
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
38,
55,
50,
41
] | 26 | [
"55-38=17",
"50-41=9",
"17+9=26"
] | Current State: 26:[38, 55, 50, 41], Operations: []
Exploring Operation: 55-38=17, Resulting Numbers: [50, 41, 17]
Generated Node #2: [50, 41, 17] from Operation: 55-38=17
Current State: 26:[50, 41, 17], Operations: ['55-38=17']
Exploring Operation: 50-41=9, Resulting Numbers: [17, 9]
Generated Node #3: [17, 9] from Operation: 50-41=9
Current State: 26:[17, 9], Operations: ['55-38=17', '50-41=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[38, 55, 50, 41], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [38, 41, 5]
Generated Node #0,0: 26:[38, 41, 5] Operation: 55-50=5
Exploring Operation: 55-38=17, Resulting Numbers: [50, 41, 17]
Generated Node #0,1: 26:[50, 41, 17] Operation: 55-38=17
Exploring Operation: 55-41=14, Resulting Numbers: [38, 50, 14]
Generated Node #0,2: 26:[38, 50, 14] Operation: 55-41=14
Exploring Operation: 50-38=12, Resulting Numbers: [55, 41, 12]
Generated Node #0,3: 26:[55, 41, 12] Operation: 50-38=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[38, 41, 5], Operations: ['55-50=5']
Exploring Operation: 38-5=33, Resulting Numbers: [41, 33]
Generated Node #0,0,0: 26:[41, 33] Operation: 38-5=33
Exploring Operation: 41-5=36, Resulting Numbers: [38, 36]
Generated Node #0,0,1: 26:[38, 36] Operation: 41-5=36
Exploring Operation: 41-38=3, Resulting Numbers: [5, 3]
Generated Node #0,0,2: 26:[5, 3] Operation: 41-38=3
Exploring Operation: 38+5=43, Resulting Numbers: [41, 43]
Generated Node #0,0,3: 26:[41, 43] Operation: 38+5=43
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 26:[5, 3], Operations: ['55-50=5', '41-38=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[41, 33], Operations: ['55-50=5', '38-5=33']
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Exploring Operation: 41*33=1353, Resulting Numbers: [1353]
1353,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[38, 36], Operations: ['55-50=5', '41-5=36']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,26 unequal: No Solution
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 26:[41, 43], Operations: ['55-50=5', '38+5=43']
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,26 unequal: No Solution
Exploring Operation: 41*43=1763, Resulting Numbers: [1763]
1763,26 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[38, 50, 14], Operations: ['55-41=14']
Exploring Operation: 38+14=52, Resulting Numbers: [50, 52]
Generated Node #0,2,0: 26:[50, 52] Operation: 38+14=52
Exploring Operation: 50-14=36, Resulting Numbers: [38, 36]
Generated Node #0,2,1: 26:[38, 36] Operation: 50-14=36
Exploring Operation: 50-38=12, Resulting Numbers: [14, 12]
Generated Node #0,2,2: 26:[14, 12] Operation: 50-38=12
Exploring Operation: 38-14=24, Resulting Numbers: [50, 24]
Generated Node #0,2,3: 26:[50, 24] Operation: 38-14=24
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 26:[14, 12], Operations: ['55-41=14', '50-38=12']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[38, 55, 50, 41], Operations: []
Exploring Operation: 55-41=14, Resulting Numbers: [38, 50, 14]
Generated Node #0,2: 26:[38, 50, 14] Operation: 55-41=14
Moving to Node #0,2
Current State: 26:[38, 50, 14], Operations: ['55-41=14']
Exploring Operation: 50-38=12, Resulting Numbers: [14, 12]
Generated Node #0,2,2: 26:[14, 12] Operation: 50-38=12
Moving to Node #0,2,2
Current State: 26:[14, 12], Operations: ['55-41=14', '50-38=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
6,
5,
28,
37
] | 49 | [
"37-28=9",
"6*9=54",
"54-5=49"
] | Current State: 49:[6, 5, 28, 37], Operations: []
Exploring Operation: 37-28=9, Resulting Numbers: [6, 5, 9]
Generated Node #2: [6, 5, 9] from Operation: 37-28=9
Current State: 49:[6, 5, 9], Operations: ['37-28=9']
Exploring Operation: 6*9=54, Resulting Numbers: [5, 54]
Generated Node #3: [5, 54] from Operation: 6*9=54
Current State: 49:[5, 54], Operations: ['37-28=9', '6*9=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[6, 5, 28, 37], Operations: []
Exploring Operation: 6+28=34, Resulting Numbers: [5, 37, 34]
Generated Node #0,0: 49:[5, 37, 34] Operation: 6+28=34
Exploring Operation: 28+37=65, Resulting Numbers: [6, 5, 65]
Generated Node #0,1: 49:[6, 5, 65] Operation: 28+37=65
Exploring Operation: 37-28=9, Resulting Numbers: [6, 5, 9]
Generated Node #0,2: 49:[6, 5, 9] Operation: 37-28=9
Moving to Node #0,2
Current State: 49:[6, 5, 9], Operations: ['37-28=9']
Exploring Operation: 9-5=4, Resulting Numbers: [6, 4]
Generated Node #0,2,0: 49:[6, 4] Operation: 9-5=4
Exploring Operation: 5*9=45, Resulting Numbers: [6, 45]
Generated Node #0,2,1: 49:[6, 45] Operation: 5*9=45
Exploring Operation: 6+5=11, Resulting Numbers: [9, 11]
Generated Node #0,2,2: 49:[9, 11] Operation: 6+5=11
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[6, 4], Operations: ['37-28=9', '9-5=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[6, 45], Operations: ['37-28=9', '5*9=45']
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,49 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[9, 11], Operations: ['37-28=9', '6+5=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,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:[6, 5, 65], Operations: ['28+37=65']
Exploring Operation: 65-5=60, Resulting Numbers: [6, 60]
Generated Node #0,1,0: 49:[6, 60] Operation: 65-5=60
Exploring Operation: 65/5=13, Resulting Numbers: [6, 13]
Generated Node #0,1,1: 49:[6, 13] Operation: 65/5=13
Exploring Operation: 65-6=59, Resulting Numbers: [5, 59]
Generated Node #0,1,2: 49:[5, 59] Operation: 65-6=59
Moving to Node #0,0
Current State: 49:[5, 37, 34], Operations: ['6+28=34']
Exploring Operation: 37-34=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 49:[5, 3] Operation: 37-34=3
Exploring Operation: 5+34=39, Resulting Numbers: [37, 39]
Generated Node #0,0,1: 49:[37, 39] Operation: 5+34=39
Exploring Operation: 5+37=42, Resulting Numbers: [34, 42]
Generated Node #0,0,2: 49:[34, 42] Operation: 5+37=42
Moving to Node #0,0,0
Current State: 49:[5, 3], Operations: ['6+28=34', '37-34=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[6, 13], Operations: ['28+37=65', '65/5=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[5, 59], Operations: ['28+37=65', '65-6=59']
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,49 unequal: No Solution
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,49 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[6, 60], Operations: ['28+37=65', '65-5=60']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,49 unequal: No Solution
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[34, 42], Operations: ['6+28=34', '5+37=42']
Exploring Operation: 34*42=1428, Resulting Numbers: [1428]
1428,49 unequal: No Solution
Exploring Operation: 34+42=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[37, 39], Operations: ['6+28=34', '5+34=39']
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 37*39=1443, Resulting Numbers: [1443]
1443,49 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,49 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
2,
77,
44,
62
] | 64 | [
"62/2=31",
"77-44=33",
"31+33=64"
] | Current State: 64:[2, 77, 44, 62], Operations: []
Exploring Operation: 62/2=31, Resulting Numbers: [77, 44, 31]
Generated Node #2: [77, 44, 31] from Operation: 62/2=31
Current State: 64:[77, 44, 31], Operations: ['62/2=31']
Exploring Operation: 77-44=33, Resulting Numbers: [31, 33]
Generated Node #3: [31, 33] from Operation: 77-44=33
Current State: 64:[31, 33], Operations: ['62/2=31', '77-44=33']
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[2, 77, 44, 62], Operations: []
Exploring Operation: 62-44=18, Resulting Numbers: [2, 77, 18]
Generated Node #0,0: 64:[2, 77, 18] Operation: 62-44=18
Exploring Operation: 77-62=15, Resulting Numbers: [2, 44, 15]
Generated Node #0,1: 64:[2, 44, 15] Operation: 77-62=15
Exploring Operation: 44/2=22, Resulting Numbers: [77, 62, 22]
Generated Node #0,2: 64:[77, 62, 22] Operation: 44/2=22
Exploring Operation: 77-44=33, Resulting Numbers: [2, 62, 33]
Generated Node #0,3: 64:[2, 62, 33] Operation: 77-44=33
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[2, 62, 33], Operations: ['77-44=33']
Exploring Operation: 33-2=31, Resulting Numbers: [62, 31]
Generated Node #0,3,0: 64:[62, 31] Operation: 33-2=31
Exploring Operation: 62/2=31, Resulting Numbers: [33, 31]
Generated Node #0,3,1: 64:[33, 31] Operation: 62/2=31
Exploring Operation: 62-33=29, Resulting Numbers: [2, 29]
Generated Node #0,3,2: 64:[2, 29] Operation: 62-33=29
Exploring Operation: 2+62=64, Resulting Numbers: [33, 64]
Generated Node #0,3,3: 64:[33, 64] Operation: 2+62=64
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 64:[33, 64], Operations: ['77-44=33', '2+62=64']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 33*64=2112, Resulting Numbers: [2112]
2112,64 unequal: No Solution
Exploring Operation: 33+64=97, Resulting Numbers: [97]
97,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 64:[33, 31], Operations: ['77-44=33', '62/2=31']
Exploring Operation: 33*31=1023, Resulting Numbers: [1023]
1023,64 unequal: No Solution
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[2, 77, 44, 62], Operations: []
Exploring Operation: 77-44=33, Resulting Numbers: [2, 62, 33]
Generated Node #0,3: 64:[2, 62, 33] Operation: 77-44=33
Moving to Node #0,3
Current State: 64:[2, 62, 33], Operations: ['77-44=33']
Exploring Operation: 62/2=31, Resulting Numbers: [33, 31]
Generated Node #0,3,1: 64:[33, 31] Operation: 62/2=31
Moving to Node #0,3,1
Current State: 64:[33, 31], Operations: ['77-44=33', '62/2=31']
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
84,
77,
21,
95
] | 92 | [
"84-77=7",
"21/7=3",
"95-3=92"
] | Current State: 92:[84, 77, 21, 95], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [21, 95, 7]
Generated Node #2: [21, 95, 7] from Operation: 84-77=7
Current State: 92:[21, 95, 7], Operations: ['84-77=7']
Exploring Operation: 21/7=3, Resulting Numbers: [95, 3]
Generated Node #3: [95, 3] from Operation: 21/7=3
Current State: 92:[95, 3], Operations: ['84-77=7', '21/7=3']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[84, 77, 21, 95], Operations: []
Exploring Operation: 95-77=18, Resulting Numbers: [84, 21, 18]
Generated Node #0,0: 92:[84, 21, 18] Operation: 95-77=18
Exploring Operation: 77+21=98, Resulting Numbers: [84, 95, 98]
Generated Node #0,1: 92:[84, 95, 98] Operation: 77+21=98
Exploring Operation: 84-77=7, Resulting Numbers: [21, 95, 7]
Generated Node #0,2: 92:[21, 95, 7] Operation: 84-77=7
Moving to Node #0,2
Current State: 92:[21, 95, 7], Operations: ['84-77=7']
Exploring Operation: 21/7=3, Resulting Numbers: [95, 3]
Generated Node #0,2,0: 92:[95, 3] Operation: 21/7=3
Exploring Operation: 21+7=28, Resulting Numbers: [95, 28]
Generated Node #0,2,1: 92:[95, 28] Operation: 21+7=28
Exploring Operation: 95-7=88, Resulting Numbers: [21, 88]
Generated Node #0,2,2: 92:[21, 88] Operation: 95-7=88
Moving to Node #0,0
Current State: 92:[84, 21, 18], Operations: ['95-77=18']
Exploring Operation: 21-18=3, Resulting Numbers: [84, 3]
Generated Node #0,0,0: 92:[84, 3] Operation: 21-18=3
Exploring Operation: 84+18=102, Resulting Numbers: [21, 102]
Generated Node #0,0,1: 92:[21, 102] Operation: 84+18=102
Exploring Operation: 84/21=4, Resulting Numbers: [18, 4]
Generated Node #0,0,2: 92:[18, 4] Operation: 84/21=4
Moving to Node #0,1
Current State: 92:[84, 95, 98], Operations: ['77+21=98']
Exploring Operation: 98-84=14, Resulting Numbers: [95, 14]
Generated Node #0,1,0: 92:[95, 14] Operation: 98-84=14
Exploring Operation: 95-84=11, Resulting Numbers: [98, 11]
Generated Node #0,1,1: 92:[98, 11] Operation: 95-84=11
Exploring Operation: 98-95=3, Resulting Numbers: [84, 3]
Generated Node #0,1,2: 92:[84, 3] Operation: 98-95=3
Moving to Node #0,2,0
Current State: 92:[95, 3], Operations: ['84-77=7', '21/7=3']
Exploring Operation: 95*3=285, Resulting Numbers: [285]
285,92 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[84, 77, 21, 95], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [21, 95, 7]
Generated Node #0,2: 92:[21, 95, 7] Operation: 84-77=7
Moving to Node #0,2
Current State: 92:[21, 95, 7], Operations: ['84-77=7']
Exploring Operation: 21/7=3, Resulting Numbers: [95, 3]
Generated Node #0,2,0: 92:[95, 3] Operation: 21/7=3
Moving to Node #0,2,0
Current State: 92:[95, 3], Operations: ['84-77=7', '21/7=3']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.984375 | hs_3 | mult_heuristic |
[
67,
71,
73,
56
] | 22 | [
"67-56=11",
"73-71=2",
"11*2=22"
] | Current State: 22:[67, 71, 73, 56], Operations: []
Exploring Operation: 67-56=11, Resulting Numbers: [71, 73, 11]
Generated Node #2: [71, 73, 11] from Operation: 67-56=11
Current State: 22:[71, 73, 11], Operations: ['67-56=11']
Exploring Operation: 73-71=2, Resulting Numbers: [11, 2]
Generated Node #3: [11, 2] from Operation: 73-71=2
Current State: 22:[11, 2], Operations: ['67-56=11', '73-71=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[67, 71, 73, 56], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [67, 56, 2]
Generated Node #0,0: 22:[67, 56, 2] Operation: 73-71=2
Exploring Operation: 71-67=4, Resulting Numbers: [73, 56, 4]
Generated Node #0,1: 22:[73, 56, 4] Operation: 71-67=4
Moving to Node #0,0
Current State: 22:[67, 56, 2], Operations: ['73-71=2']
Exploring Operation: 56/2=28, Resulting Numbers: [67, 28]
Generated Node #0,0,0: 22:[67, 28] Operation: 56/2=28
Exploring Operation: 67-56=11, Resulting Numbers: [2, 11]
Generated Node #0,0,1: 22:[2, 11] Operation: 67-56=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[2, 11], Operations: ['73-71=2', '67-56=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[67, 71, 73, 56], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [67, 56, 2]
Generated Node #0,0: 22:[67, 56, 2] Operation: 73-71=2
Moving to Node #0,0
Current State: 22:[67, 56, 2], Operations: ['73-71=2']
Exploring Operation: 67-56=11, Resulting Numbers: [2, 11]
Generated Node #0,0,1: 22:[2, 11] Operation: 67-56=11
Moving to Node #0,0,1
Current State: 22:[2, 11], Operations: ['73-71=2', '67-56=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
17,
53,
61,
68
] | 10 | [
"17+53=70",
"68-61=7",
"70/7=10"
] | Current State: 10:[17, 53, 61, 68], Operations: []
Exploring Operation: 17+53=70, Resulting Numbers: [61, 68, 70]
Generated Node #2: [61, 68, 70] from Operation: 17+53=70
Current State: 10:[61, 68, 70], Operations: ['17+53=70']
Exploring Operation: 68-61=7, Resulting Numbers: [70, 7]
Generated Node #3: [70, 7] from Operation: 68-61=7
Current State: 10:[70, 7], Operations: ['17+53=70', '68-61=7']
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[17, 53, 61, 68], Operations: []
Exploring Operation: 68-61=7, Resulting Numbers: [17, 53, 7]
Generated Node #0,0: 10:[17, 53, 7] Operation: 68-61=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[17, 53, 7], Operations: ['68-61=7']
Exploring Operation: 53-17=36, Resulting Numbers: [7, 36]
Generated Node #0,0,0: 10:[7, 36] Operation: 53-17=36
Moving to Node #0,0,0
Current State: 10:[7, 36], Operations: ['68-61=7', '53-17=36']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,10 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 |
[
74,
25,
58,
6
] | 54 | [
"74-25=49",
"58-49=9",
"6*9=54"
] | Current State: 54:[74, 25, 58, 6], Operations: []
Exploring Operation: 74-25=49, Resulting Numbers: [58, 6, 49]
Generated Node #2: [58, 6, 49] from Operation: 74-25=49
Current State: 54:[58, 6, 49], Operations: ['74-25=49']
Exploring Operation: 58-49=9, Resulting Numbers: [6, 9]
Generated Node #3: [6, 9] from Operation: 58-49=9
Current State: 54:[6, 9], Operations: ['74-25=49', '58-49=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[74, 25, 58, 6], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [25, 6, 16]
Generated Node #0,0: 54:[25, 6, 16] Operation: 74-58=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[25, 6, 16], Operations: ['74-58=16']
Exploring Operation: 25-16=9, Resulting Numbers: [6, 9]
Generated Node #0,0,0: 54:[6, 9] Operation: 25-16=9
Moving to Node #0,0,0
Current State: 54:[6, 9], Operations: ['74-58=16', '25-16=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[74, 25, 58, 6], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [25, 6, 16]
Generated Node #0,0: 54:[25, 6, 16] Operation: 74-58=16
Moving to Node #0,0
Current State: 54:[25, 6, 16], Operations: ['74-58=16']
Exploring Operation: 25-16=9, Resulting Numbers: [6, 9]
Generated Node #0,0,0: 54:[6, 9] Operation: 25-16=9
Moving to Node #0,0,0
Current State: 54:[6, 9], Operations: ['74-58=16', '25-16=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
28,
7,
34,
20
] | 39 | [
"28/7=4",
"20/4=5",
"34+5=39"
] | Current State: 39:[28, 7, 34, 20], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [34, 20, 4]
Generated Node #2: [34, 20, 4] from Operation: 28/7=4
Current State: 39:[34, 20, 4], Operations: ['28/7=4']
Exploring Operation: 20/4=5, Resulting Numbers: [34, 5]
Generated Node #3: [34, 5] from Operation: 20/4=5
Current State: 39:[34, 5], Operations: ['28/7=4', '20/4=5']
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[28, 7, 34, 20], Operations: []
Exploring Operation: 34-28=6, Resulting Numbers: [7, 20, 6]
Generated Node #0,0: 39:[7, 20, 6] Operation: 34-28=6
Exploring Operation: 28+7=35, Resulting Numbers: [34, 20, 35]
Generated Node #0,1: 39:[34, 20, 35] Operation: 28+7=35
Exploring Operation: 28-20=8, Resulting Numbers: [7, 34, 8]
Generated Node #0,2: 39:[7, 34, 8] Operation: 28-20=8
Exploring Operation: 28/7=4, Resulting Numbers: [34, 20, 4]
Generated Node #0,3: 39:[34, 20, 4] Operation: 28/7=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[34, 20, 4], Operations: ['28/7=4']
Exploring Operation: 34+4=38, Resulting Numbers: [20, 38]
Generated Node #0,3,0: 39:[20, 38] Operation: 34+4=38
Exploring Operation: 20-4=16, Resulting Numbers: [34, 16]
Generated Node #0,3,1: 39:[34, 16] Operation: 20-4=16
Exploring Operation: 20/4=5, Resulting Numbers: [34, 5]
Generated Node #0,3,2: 39:[34, 5] Operation: 20/4=5
Exploring Operation: 34-20=14, Resulting Numbers: [4, 14]
Generated Node #0,3,3: 39:[4, 14] Operation: 34-20=14
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[4, 14], Operations: ['28/7=4', '34-20=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,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,3,2
Current State: 39:[34, 5], Operations: ['28/7=4', '20/4=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,39 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[28, 7, 34, 20], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [34, 20, 4]
Generated Node #0,3: 39:[34, 20, 4] Operation: 28/7=4
Moving to Node #0,3
Current State: 39:[34, 20, 4], Operations: ['28/7=4']
Exploring Operation: 20/4=5, Resulting Numbers: [34, 5]
Generated Node #0,3,2: 39:[34, 5] Operation: 20/4=5
Moving to Node #0,3,2
Current State: 39:[34, 5], Operations: ['28/7=4', '20/4=5']
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
99,
11,
29,
18
] | 38 | [
"99/11=9",
"29+18=47",
"47-9=38"
] | Current State: 38:[99, 11, 29, 18], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [29, 18, 9]
Generated Node #2: [29, 18, 9] from Operation: 99/11=9
Current State: 38:[29, 18, 9], Operations: ['99/11=9']
Exploring Operation: 29+18=47, Resulting Numbers: [9, 47]
Generated Node #3: [9, 47] from Operation: 29+18=47
Current State: 38:[9, 47], Operations: ['99/11=9', '29+18=47']
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[99, 11, 29, 18], Operations: []
Exploring Operation: 99-18=81, Resulting Numbers: [11, 29, 81]
Generated Node #0,0: 38:[11, 29, 81] Operation: 99-18=81
Exploring Operation: 99-11=88, Resulting Numbers: [29, 18, 88]
Generated Node #0,1: 38:[29, 18, 88] Operation: 99-11=88
Exploring Operation: 99/11=9, Resulting Numbers: [29, 18, 9]
Generated Node #0,2: 38:[29, 18, 9] Operation: 99/11=9
Exploring Operation: 99-29=70, Resulting Numbers: [11, 18, 70]
Generated Node #0,3: 38:[11, 18, 70] Operation: 99-29=70
Exploring Operation: 29-11=18, Resulting Numbers: [99, 18, 18]
Generated Node #0,4: 38:[99, 18, 18] Operation: 29-11=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[29, 18, 9], Operations: ['99/11=9']
Exploring Operation: 29-9=20, Resulting Numbers: [18, 20]
Generated Node #0,2,0: 38:[18, 20] Operation: 29-9=20
Exploring Operation: 29+9=38, Resulting Numbers: [18, 38]
Generated Node #0,2,1: 38:[18, 38] Operation: 29+9=38
Exploring Operation: 29+18=47, Resulting Numbers: [9, 47]
Generated Node #0,2,2: 38:[9, 47] Operation: 29+18=47
Exploring Operation: 29-18=11, Resulting Numbers: [9, 11]
Generated Node #0,2,3: 38:[9, 11] Operation: 29-18=11
Exploring Operation: 18/9=2, Resulting Numbers: [29, 2]
Generated Node #0,2,4: 38:[29, 2] Operation: 18/9=2
Moving to Node #0,2,1
Current State: 38:[18, 38], Operations: ['99/11=9', '29+9=38']
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,38 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[18, 20], Operations: ['99/11=9', '29-9=20']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,38 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[99, 11, 29, 18], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [29, 18, 9]
Generated Node #0,2: 38:[29, 18, 9] Operation: 99/11=9
Moving to Node #0,2
Current State: 38:[29, 18, 9], Operations: ['99/11=9']
Exploring Operation: 29-9=20, Resulting Numbers: [18, 20]
Generated Node #0,2,0: 38:[18, 20] Operation: 29-9=20
Moving to Node #0,2,0
Current State: 38:[18, 20], Operations: ['99/11=9', '29-9=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
77,
15,
14,
47
] | 49 | [
"14*47=658",
"77+658=735",
"735/15=49"
] | Current State: 49:[77, 15, 14, 47], Operations: []
Exploring Operation: 14*47=658, Resulting Numbers: [77, 15, 658]
Generated Node #2: [77, 15, 658] from Operation: 14*47=658
Current State: 49:[77, 15, 658], Operations: ['14*47=658']
Exploring Operation: 77+658=735, Resulting Numbers: [15, 735]
Generated Node #3: [15, 735] from Operation: 77+658=735
Current State: 49:[15, 735], Operations: ['14*47=658', '77+658=735']
Exploring Operation: 735/15=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[77, 15, 14, 47], Operations: []
Exploring Operation: 15-14=1, Resulting Numbers: [77, 47, 1]
Generated Node #0,0: 49:[77, 47, 1] Operation: 15-14=1
Exploring Operation: 77-14=63, Resulting Numbers: [15, 47, 63]
Generated Node #0,1: 49:[15, 47, 63] Operation: 77-14=63
Exploring Operation: 15+47=62, Resulting Numbers: [77, 14, 62]
Generated Node #0,2: 49:[77, 14, 62] Operation: 15+47=62
Exploring Operation: 77-47=30, Resulting Numbers: [15, 14, 30]
Generated Node #0,3: 49:[15, 14, 30] Operation: 77-47=30
Exploring Operation: 77-15=62, Resulting Numbers: [14, 47, 62]
Generated Node #0,4: 49:[14, 47, 62] Operation: 77-15=62
Start Sub Search at level 1: Moving to Node #0,4
Current State: 49:[14, 47, 62], Operations: ['77-15=62']
Exploring Operation: 47-14=33, Resulting Numbers: [62, 33]
Generated Node #0,4,0: 49:[62, 33] Operation: 47-14=33
Exploring Operation: 62-47=15, Resulting Numbers: [14, 15]
Generated Node #0,4,1: 49:[14, 15] Operation: 62-47=15
Exploring Operation: 14+62=76, Resulting Numbers: [47, 76]
Generated Node #0,4,2: 49:[47, 76] Operation: 14+62=76
Exploring Operation: 14+47=61, Resulting Numbers: [62, 61]
Generated Node #0,4,3: 49:[62, 61] Operation: 14+47=61
Exploring Operation: 62-14=48, Resulting Numbers: [47, 48]
Generated Node #0,4,4: 49:[47, 48] Operation: 62-14=48
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 49:[47, 48], Operations: ['77-15=62', '62-14=48']
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 47*48=2256, Resulting Numbers: [2256]
2256,49 unequal: No Solution
Exploring Operation: 47+48=95, Resulting Numbers: [95]
95,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 49:[14, 15], Operations: ['77-15=62', '62-47=15']
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 49:[62, 61], Operations: ['77-15=62', '14+47=61']
Exploring Operation: 62+61=123, Resulting Numbers: [123]
123,49 unequal: No Solution
Exploring Operation: 62-61=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 62*61=3782, Resulting Numbers: [3782]
3782,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 49:[62, 33], Operations: ['77-15=62', '47-14=33']
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 49:[47, 76], Operations: ['77-15=62', '14+62=76']
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 47+76=123, Resulting Numbers: [123]
123,49 unequal: No Solution
Exploring Operation: 47*76=3572, Resulting Numbers: [3572]
3572,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[15, 47, 63], Operations: ['77-14=63']
Exploring Operation: 47-15=32, Resulting Numbers: [63, 32]
Generated Node #0,1,0: 49:[63, 32] Operation: 47-15=32
Exploring Operation: 63-47=16, Resulting Numbers: [15, 16]
Generated Node #0,1,1: 49:[15, 16] Operation: 63-47=16
Exploring Operation: 15+63=78, Resulting Numbers: [47, 78]
Generated Node #0,1,2: 49:[47, 78] Operation: 15+63=78
Exploring Operation: 63-15=48, Resulting Numbers: [47, 48]
Generated Node #0,1,3: 49:[47, 48] Operation: 63-15=48
Exploring Operation: 15+47=62, Resulting Numbers: [63, 62]
Generated Node #0,1,4: 49:[63, 62] Operation: 15+47=62
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 49:[47, 48], Operations: ['77-14=63', '63-15=48']
Exploring Operation: 47+48=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 47*48=2256, Resulting Numbers: [2256]
2256,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[15, 16], Operations: ['77-14=63', '63-47=16']
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,49 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 49:[63, 62], Operations: ['77-14=63', '15+47=62']
Exploring Operation: 63*62=3906, Resulting Numbers: [3906]
3906,49 unequal: No Solution
Exploring Operation: 63+62=125, Resulting Numbers: [125]
125,49 unequal: No Solution
Exploring Operation: 63-62=1, Resulting Numbers: [1]
1,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[63, 32], Operations: ['77-14=63', '47-15=32']
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 49:[47, 78], Operations: ['77-14=63', '15+63=78']
Exploring Operation: 47*78=3666, Resulting Numbers: [3666]
3666,49 unequal: No Solution
Exploring Operation: 47+78=125, Resulting Numbers: [125]
125,49 unequal: No Solution
Exploring Operation: 78-47=31, Resulting Numbers: [31]
31,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[15, 14, 30], Operations: ['77-47=30']
Exploring Operation: 30-15=15, Resulting Numbers: [14, 15]
Generated Node #0,3,0: 49:[14, 15] Operation: 30-15=15
Exploring Operation: 30/15=2, Resulting Numbers: [14, 2]
Generated Node #0,3,1: 49:[14, 2] Operation: 30/15=2
Exploring Operation: 14+30=44, Resulting Numbers: [15, 44]
Generated Node #0,3,2: 49:[15, 44] Operation: 14+30=44
Exploring Operation: 15+30=45, Resulting Numbers: [14, 45]
Generated Node #0,3,3: 49:[14, 45] Operation: 15+30=45
Exploring Operation: 30-14=16, Resulting Numbers: [15, 16]
Generated Node #0,3,4: 49:[15, 16] Operation: 30-14=16
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 49:[14, 45], Operations: ['77-47=30', '15+30=45']
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,49 unequal: No Solution
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 49:[14, 2], Operations: ['77-47=30', '30/15=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 49:[15, 44], Operations: ['77-47=30', '14+30=44']
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,49 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 49:[14, 15], Operations: ['77-47=30', '30-15=15']
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,49 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 49:[15, 16], Operations: ['77-47=30', '30-14=16']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,49 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[77, 47, 1], Operations: ['15-14=1']
Exploring Operation: 77-47=30, Resulting Numbers: [1, 30]
Generated Node #0,0,0: 49:[1, 30] Operation: 77-47=30
Exploring Operation: 77/1=77, Resulting Numbers: [47, 77]
Generated Node #0,0,1: 49:[47, 77] Operation: 77/1=77
Exploring Operation: 77-1=76, Resulting Numbers: [47, 76]
Generated Node #0,0,2: 49:[47, 76] Operation: 77-1=76
Exploring Operation: 47+1=48, Resulting Numbers: [77, 48]
Generated Node #0,0,3: 49:[77, 48] Operation: 47+1=48
Exploring Operation: 77*1=77, Resulting Numbers: [47, 77]
Generated Node #0,0,4: 49:[47, 77] Operation: 77*1=77
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[1, 30], Operations: ['15-14=1', '77-47=30']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 1+30=31, Resulting Numbers: [31]
31,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[47, 76], Operations: ['15-14=1', '77-1=76']
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 47*76=3572, Resulting Numbers: [3572]
3572,49 unequal: No Solution
Exploring Operation: 47+76=123, Resulting Numbers: [123]
123,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 49:[77, 48], Operations: ['15-14=1', '47+1=48']
Exploring Operation: 77+48=125, Resulting Numbers: [125]
125,49 unequal: No Solution
Exploring Operation: 77*48=3696, Resulting Numbers: [3696]
3696,49 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[47, 77], Operations: ['15-14=1', '77/1=77']
Exploring Operation: 77-47=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Exploring Operation: 47*77=3619, Resulting Numbers: [3619]
3619,49 unequal: No Solution
Exploring Operation: 47+77=124, Resulting Numbers: [124]
124,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 49:[47, 77], Operations: ['15-14=1', '77*1=77']
Exploring Operation: 47*77=3619, Resulting Numbers: [3619]
3619,49 unequal: No Solution
Exploring Operation: 47+77=124, Resulting Numbers: [124]
124,49 unequal: No Solution
Exploring Operation: 77-47=30, Resulting Numbers: [30]
30,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[77, 14, 62], Operations: ['15+47=62']
Exploring Operation: 77+14=91, Resulting Numbers: [62, 91]
Generated Node #0,2,0: 49:[62, 91] Operation: 77+14=91
Exploring Operation: 77-14=63, Resulting Numbers: [62, 63]
Generated Node #0,2,1: 49:[62, 63] Operation: 77-14=63
Exploring Operation: 62-14=48, Resulting Numbers: [77, 48]
Generated Node #0,2,2: 49:[77, 48] Operation: 62-14=48
Exploring Operation: 77-62=15, Resulting Numbers: [14, 15]
Generated Node #0,2,3: 49:[14, 15] Operation: 77-62=15
Exploring Operation: 14+62=76, Resulting Numbers: [77, 76]
Generated Node #0,2,4: 49:[77, 76] Operation: 14+62=76
Moving to Node #0,2,3
Current State: 49:[14, 15], Operations: ['15+47=62', '77-62=15']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[62, 63], Operations: ['15+47=62', '77-14=63']
Exploring Operation: 63-62=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 62*63=3906, Resulting Numbers: [3906]
3906,49 unequal: No Solution
Exploring Operation: 62+63=125, Resulting Numbers: [125]
125,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[77, 48], Operations: ['15+47=62', '62-14=48']
Exploring Operation: 77+48=125, Resulting Numbers: [125]
125,49 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 77*48=3696, Resulting Numbers: [3696]
3696,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[62, 91], Operations: ['15+47=62', '77+14=91']
Exploring Operation: 62*91=5642, Resulting Numbers: [5642]
5642,49 unequal: No Solution
Exploring Operation: 62+91=153, Resulting Numbers: [153]
153,49 unequal: No Solution
Exploring Operation: 91-62=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Moving to Node #0,2,4
Current State: 49:[77, 76], Operations: ['15+47=62', '14+62=76']
Exploring Operation: 77*76=5852, Resulting Numbers: [5852]
5852,49 unequal: No Solution
Exploring Operation: 77+76=153, Resulting Numbers: [153]
153,49 unequal: No Solution
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
83,
30,
77,
49
] | 81 | [
"83-30=53",
"77-49=28",
"53+28=81"
] | Current State: 81:[83, 30, 77, 49], Operations: []
Exploring Operation: 83-30=53, Resulting Numbers: [77, 49, 53]
Generated Node #2: [77, 49, 53] from Operation: 83-30=53
Current State: 81:[77, 49, 53], Operations: ['83-30=53']
Exploring Operation: 77-49=28, Resulting Numbers: [53, 28]
Generated Node #3: [53, 28] from Operation: 77-49=28
Current State: 81:[53, 28], Operations: ['83-30=53', '77-49=28']
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[83, 30, 77, 49], Operations: []
Exploring Operation: 83-49=34, Resulting Numbers: [30, 77, 34]
Generated Node #0,0: 81:[30, 77, 34] Operation: 83-49=34
Exploring Operation: 77-49=28, Resulting Numbers: [83, 30, 28]
Generated Node #0,1: 81:[83, 30, 28] Operation: 77-49=28
Exploring Operation: 30+49=79, Resulting Numbers: [83, 77, 79]
Generated Node #0,2: 81:[83, 77, 79] Operation: 30+49=79
Moving to Node #0,1
Current State: 81:[83, 30, 28], Operations: ['77-49=28']
Exploring Operation: 30+28=58, Resulting Numbers: [83, 58]
Generated Node #0,1,0: 81:[83, 58] Operation: 30+28=58
Exploring Operation: 83-30=53, Resulting Numbers: [28, 53]
Generated Node #0,1,1: 81:[28, 53] Operation: 83-30=53
Exploring Operation: 30-28=2, Resulting Numbers: [83, 2]
Generated Node #0,1,2: 81:[83, 2] Operation: 30-28=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[83, 2], Operations: ['77-49=28', '30-28=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[83, 30, 77, 49], Operations: []
Exploring Operation: 77-49=28, Resulting Numbers: [83, 30, 28]
Generated Node #0,1: 81:[83, 30, 28] Operation: 77-49=28
Moving to Node #0,1
Current State: 81:[83, 30, 28], Operations: ['77-49=28']
Exploring Operation: 30-28=2, Resulting Numbers: [83, 2]
Generated Node #0,1,2: 81:[83, 2] Operation: 30-28=2
Moving to Node #0,1,2
Current State: 81:[83, 2], Operations: ['77-49=28', '30-28=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
72,
69,
48,
34
] | 80 | [
"69*48=3312",
"3312/72=46",
"34+46=80"
] | Current State: 80:[72, 69, 48, 34], Operations: []
Exploring Operation: 69*48=3312, Resulting Numbers: [72, 34, 3312]
Generated Node #2: [72, 34, 3312] from Operation: 69*48=3312
Current State: 80:[72, 34, 3312], Operations: ['69*48=3312']
Exploring Operation: 3312/72=46, Resulting Numbers: [34, 46]
Generated Node #3: [34, 46] from Operation: 3312/72=46
Current State: 80:[34, 46], Operations: ['69*48=3312', '3312/72=46']
Exploring Operation: 34+46=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[72, 69, 48, 34], Operations: []
Exploring Operation: 72-34=38, Resulting Numbers: [69, 48, 38]
Generated Node #0,0: 80:[69, 48, 38] Operation: 72-34=38
Exploring Operation: 72-69=3, Resulting Numbers: [48, 34, 3]
Generated Node #0,1: 80:[48, 34, 3] Operation: 72-69=3
Exploring Operation: 69-48=21, Resulting Numbers: [72, 34, 21]
Generated Node #0,2: 80:[72, 34, 21] Operation: 69-48=21
Exploring Operation: 72-48=24, Resulting Numbers: [69, 34, 24]
Generated Node #0,3: 80:[69, 34, 24] Operation: 72-48=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[48, 34, 3], Operations: ['72-69=3']
Exploring Operation: 48/3=16, Resulting Numbers: [34, 16]
Generated Node #0,1,0: 80:[34, 16] Operation: 48/3=16
Exploring Operation: 48-34=14, Resulting Numbers: [3, 14]
Generated Node #0,1,1: 80:[3, 14] Operation: 48-34=14
Exploring Operation: 48-3=45, Resulting Numbers: [34, 45]
Generated Node #0,1,2: 80:[34, 45] Operation: 48-3=45
Exploring Operation: 48+34=82, Resulting Numbers: [3, 82]
Generated Node #0,1,3: 80:[3, 82] Operation: 48+34=82
Moving to Node #0,1,1
Current State: 80:[3, 14], Operations: ['72-69=3', '48-34=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[3, 82], Operations: ['72-69=3', '48+34=82']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[34, 16], Operations: ['72-69=3', '48/3=16']
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,80 unequal: No Solution
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,80 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[34, 45], Operations: ['72-69=3', '48-3=45']
Exploring Operation: 34*45=1530, Resulting Numbers: [1530]
1530,80 unequal: No Solution
Exploring Operation: 34+45=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[72, 34, 21], Operations: ['69-48=21']
Exploring Operation: 72-34=38, Resulting Numbers: [21, 38]
Generated Node #0,2,0: 80:[21, 38] Operation: 72-34=38
Exploring Operation: 72+21=93, Resulting Numbers: [34, 93]
Generated Node #0,2,1: 80:[34, 93] Operation: 72+21=93
Exploring Operation: 72-21=51, Resulting Numbers: [34, 51]
Generated Node #0,2,2: 80:[34, 51] Operation: 72-21=51
Exploring Operation: 34-21=13, Resulting Numbers: [72, 13]
Generated Node #0,2,3: 80:[72, 13] Operation: 34-21=13
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 80:[21, 38], Operations: ['69-48=21', '72-34=38']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,80 unequal: No Solution
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,80 unequal: No Solution
No 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: 80:[72, 13], Operations: ['69-48=21', '34-21=13']
Exploring Operation: 72+13=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 72*13=936, Resulting Numbers: [936]
936,80 unequal: No Solution
No 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: 80:[34, 51], Operations: ['69-48=21', '72-21=51']
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,80 unequal: No Solution
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,80 unequal: No Solution
No 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: 80:[34, 93], Operations: ['69-48=21', '72+21=93']
Exploring Operation: 93-34=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 34+93=127, Resulting Numbers: [127]
127,80 unequal: No Solution
Exploring Operation: 34*93=3162, Resulting Numbers: [3162]
3162,80 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: 80:[69, 48, 38], Operations: ['72-34=38']
Exploring Operation: 69-38=31, Resulting Numbers: [48, 31]
Generated Node #0,0,0: 80:[48, 31] Operation: 69-38=31
Exploring Operation: 48+38=86, Resulting Numbers: [69, 86]
Generated Node #0,0,1: 80:[69, 86] Operation: 48+38=86
Exploring Operation: 69-48=21, Resulting Numbers: [38, 21]
Generated Node #0,0,2: 80:[38, 21] Operation: 69-48=21
Exploring Operation: 48-38=10, Resulting Numbers: [69, 10]
Generated Node #0,0,3: 80:[69, 10] Operation: 48-38=10
Moving to Node #0,0,2
Current State: 80:[38, 21], Operations: ['72-34=38', '69-48=21']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,80 unequal: No Solution
Moving to Node #0,0,3
Current State: 80:[69, 10], Operations: ['72-34=38', '48-38=10']
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[69, 86], Operations: ['72-34=38', '48+38=86']
Exploring Operation: 86-69=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 69*86=5934, Resulting Numbers: [5934]
5934,80 unequal: No Solution
Exploring Operation: 69+86=155, Resulting Numbers: [155]
155,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[48, 31], Operations: ['72-34=38', '69-38=31']
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 48*31=1488, Resulting Numbers: [1488]
1488,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 80:[69, 34, 24], Operations: ['72-48=24']
Exploring Operation: 69-24=45, Resulting Numbers: [34, 45]
Generated Node #0,3,0: 80:[34, 45] Operation: 69-24=45
Exploring Operation: 69-34=35, Resulting Numbers: [24, 35]
Generated Node #0,3,1: 80:[24, 35] Operation: 69-34=35
Exploring Operation: 34-24=10, Resulting Numbers: [69, 10]
Generated Node #0,3,2: 80:[69, 10] Operation: 34-24=10
Exploring Operation: 69+24=93, Resulting Numbers: [34, 93]
Generated Node #0,3,3: 80:[34, 93] Operation: 69+24=93
Moving to Node #0,3,1
Current State: 80:[24, 35], Operations: ['72-48=24', '69-34=35']
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,80 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Moving to Node #0,3,2
Current State: 80:[69, 10], Operations: ['72-48=24', '34-24=10']
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,80 unequal: No Solution
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[34, 45], Operations: ['72-48=24', '69-24=45']
Exploring Operation: 34+45=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 34*45=1530, Resulting Numbers: [1530]
1530,80 unequal: No Solution
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[34, 93], Operations: ['72-48=24', '69+24=93']
Exploring Operation: 34+93=127, Resulting Numbers: [127]
127,80 unequal: No Solution
Exploring Operation: 34*93=3162, Resulting Numbers: [3162]
3162,80 unequal: No Solution
Exploring Operation: 93-34=59, Resulting Numbers: [59]
59,80 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 |
[
33,
60,
22,
35
] | 36 | [
"33+60=93",
"22+35=57",
"93-57=36"
] | Current State: 36:[33, 60, 22, 35], Operations: []
Exploring Operation: 33+60=93, Resulting Numbers: [22, 35, 93]
Generated Node #2: [22, 35, 93] from Operation: 33+60=93
Current State: 36:[22, 35, 93], Operations: ['33+60=93']
Exploring Operation: 22+35=57, Resulting Numbers: [93, 57]
Generated Node #3: [93, 57] from Operation: 22+35=57
Current State: 36:[93, 57], Operations: ['33+60=93', '22+35=57']
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[33, 60, 22, 35], Operations: []
Exploring Operation: 60-35=25, Resulting Numbers: [33, 22, 25]
Generated Node #0,0: 36:[33, 22, 25] Operation: 60-35=25
Exploring Operation: 60-33=27, Resulting Numbers: [22, 35, 27]
Generated Node #0,1: 36:[22, 35, 27] Operation: 60-33=27
Exploring Operation: 33-22=11, Resulting Numbers: [60, 35, 11]
Generated Node #0,2: 36:[60, 35, 11] Operation: 33-22=11
Exploring Operation: 60-22=38, Resulting Numbers: [33, 35, 38]
Generated Node #0,3: 36:[33, 35, 38] Operation: 60-22=38
Moving to Node #0,3
Current State: 36:[33, 35, 38], Operations: ['60-22=38']
Exploring Operation: 38-35=3, Resulting Numbers: [33, 3]
Generated Node #0,3,0: 36:[33, 3] Operation: 38-35=3
Exploring Operation: 35-33=2, Resulting Numbers: [38, 2]
Generated Node #0,3,1: 36:[38, 2] Operation: 35-33=2
Exploring Operation: 38-33=5, Resulting Numbers: [35, 5]
Generated Node #0,3,2: 36:[35, 5] Operation: 38-33=5
Exploring Operation: 33+35=68, Resulting Numbers: [38, 68]
Generated Node #0,3,3: 36:[38, 68] Operation: 33+35=68
Moving to Node #0,1
Current State: 36:[22, 35, 27], Operations: ['60-33=27']
Exploring Operation: 22+27=49, Resulting Numbers: [35, 49]
Generated Node #0,1,0: 36:[35, 49] Operation: 22+27=49
Exploring Operation: 27-22=5, Resulting Numbers: [35, 5]
Generated Node #0,1,1: 36:[35, 5] Operation: 27-22=5
Exploring Operation: 35-22=13, Resulting Numbers: [27, 13]
Generated Node #0,1,2: 36:[27, 13] Operation: 35-22=13
Exploring Operation: 35-27=8, Resulting Numbers: [22, 8]
Generated Node #0,1,3: 36:[22, 8] Operation: 35-27=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[35, 5], Operations: ['60-33=27', '27-22=5']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,36 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,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,3
Current State: 36:[22, 8], Operations: ['60-33=27', '35-27=8']
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,36 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,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,2
Current State: 36:[27, 13], Operations: ['60-33=27', '35-22=13']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,36 unequal: No Solution
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,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:[35, 49], Operations: ['60-33=27', '22+27=49']
Exploring Operation: 35*49=1715, Resulting Numbers: [1715]
1715,36 unequal: No Solution
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 35+49=84, Resulting Numbers: [84]
84,36 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: 36:[33, 22, 25], Operations: ['60-35=25']
Exploring Operation: 22+25=47, Resulting Numbers: [33, 47]
Generated Node #0,0,0: 36:[33, 47] Operation: 22+25=47
Exploring Operation: 33-22=11, Resulting Numbers: [25, 11]
Generated Node #0,0,1: 36:[25, 11] Operation: 33-22=11
Exploring Operation: 33-25=8, Resulting Numbers: [22, 8]
Generated Node #0,0,2: 36:[22, 8] Operation: 33-25=8
Exploring Operation: 25-22=3, Resulting Numbers: [33, 3]
Generated Node #0,0,3: 36:[33, 3] Operation: 25-22=3
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 36:[33, 3], Operations: ['60-35=25', '25-22=3']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,36 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[33, 60, 22, 35], Operations: []
Exploring Operation: 60-35=25, Resulting Numbers: [33, 22, 25]
Generated Node #0,0: 36:[33, 22, 25] Operation: 60-35=25
Moving to Node #0,0
Current State: 36:[33, 22, 25], Operations: ['60-35=25']
Exploring Operation: 25-22=3, Resulting Numbers: [33, 3]
Generated Node #0,0,3: 36:[33, 3] Operation: 25-22=3
Moving to Node #0,0,3
Current State: 36:[33, 3], Operations: ['60-35=25', '25-22=3']
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | sum_heuristic |
[
61,
82,
12,
2
] | 96 | [
"82-12=70",
"70/2=35",
"61+35=96"
] | Current State: 96:[61, 82, 12, 2], Operations: []
Exploring Operation: 82-12=70, Resulting Numbers: [61, 2, 70]
Generated Node #2: [61, 2, 70] from Operation: 82-12=70
Current State: 96:[61, 2, 70], Operations: ['82-12=70']
Exploring Operation: 70/2=35, Resulting Numbers: [61, 35]
Generated Node #3: [61, 35] from Operation: 70/2=35
Current State: 96:[61, 35], Operations: ['82-12=70', '70/2=35']
Exploring Operation: 61+35=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[61, 82, 12, 2], Operations: []
Exploring Operation: 61-12=49, Resulting Numbers: [82, 2, 49]
Generated Node #0,0: 96:[82, 2, 49] Operation: 61-12=49
Exploring Operation: 82+12=94, Resulting Numbers: [61, 2, 94]
Generated Node #0,1: 96:[61, 2, 94] Operation: 82+12=94
Exploring Operation: 82-61=21, Resulting Numbers: [12, 2, 21]
Generated Node #0,2: 96:[12, 2, 21] Operation: 82-61=21
Moving to Node #0,2
Current State: 96:[12, 2, 21], Operations: ['82-61=21']
Exploring Operation: 21-12=9, Resulting Numbers: [2, 9]
Generated Node #0,2,0: 96:[2, 9] Operation: 21-12=9
Exploring Operation: 2+21=23, Resulting Numbers: [12, 23]
Generated Node #0,2,1: 96:[12, 23] Operation: 2+21=23
Exploring Operation: 12+21=33, Resulting Numbers: [2, 33]
Generated Node #0,2,2: 96:[2, 33] Operation: 12+21=33
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 96:[2, 9], Operations: ['82-61=21', '21-12=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 96:[12, 23], Operations: ['82-61=21', '2+21=23']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 96:[2, 33], Operations: ['82-61=21', '12+21=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 96:[82, 2, 49], Operations: ['61-12=49']
Exploring Operation: 82+2=84, Resulting Numbers: [49, 84]
Generated Node #0,0,0: 96:[49, 84] Operation: 82+2=84
Exploring Operation: 82-49=33, Resulting Numbers: [2, 33]
Generated Node #0,0,1: 96:[2, 33] Operation: 82-49=33
Exploring Operation: 82/2=41, Resulting Numbers: [49, 41]
Generated Node #0,0,2: 96:[49, 41] Operation: 82/2=41
Moving to Node #0,1
Current State: 96:[61, 2, 94], Operations: ['82+12=94']
Exploring Operation: 2+94=96, Resulting Numbers: [61, 96]
Generated Node #0,1,0: 96:[61, 96] Operation: 2+94=96
Exploring Operation: 61-2=59, Resulting Numbers: [94, 59]
Generated Node #0,1,1: 96:[94, 59] Operation: 61-2=59
Exploring Operation: 94-61=33, Resulting Numbers: [2, 33]
Generated Node #0,1,2: 96:[2, 33] Operation: 94-61=33
Moving to Node #0,0,1
Current State: 96:[2, 33], Operations: ['61-12=49', '82-49=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[2, 33], Operations: ['82+12=94', '94-61=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[49, 41], Operations: ['61-12=49', '82/2=41']
Exploring Operation: 49*41=2009, Resulting Numbers: [2009]
2009,96 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 49+41=90, Resulting Numbers: [90]
90,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[49, 84], Operations: ['61-12=49', '82+2=84']
Exploring Operation: 49+84=133, Resulting Numbers: [133]
133,96 unequal: No Solution
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 49*84=4116, Resulting Numbers: [4116]
4116,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[94, 59], Operations: ['82+12=94', '61-2=59']
Exploring Operation: 94+59=153, Resulting Numbers: [153]
153,96 unequal: No Solution
Exploring Operation: 94*59=5546, Resulting Numbers: [5546]
5546,96 unequal: No Solution
Exploring Operation: 94-59=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[61, 96], Operations: ['82+12=94', '2+94=96']
Exploring Operation: 61+96=157, Resulting Numbers: [157]
157,96 unequal: No Solution
Exploring Operation: 96-61=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 61*96=5856, Resulting Numbers: [5856]
5856,96 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
4,
3,
4,
87
] | 85 | [
"4/4=1",
"87-3=84",
"1+84=85"
] | Current State: 85:[4, 3, 4, 87], Operations: []
Exploring Operation: 4/4=1, Resulting Numbers: [3, 87, 1]
Generated Node #2: [3, 87, 1] from Operation: 4/4=1
Current State: 85:[3, 87, 1], Operations: ['4/4=1']
Exploring Operation: 87-3=84, Resulting Numbers: [1, 84]
Generated Node #3: [1, 84] from Operation: 87-3=84
Current State: 85:[1, 84], Operations: ['4/4=1', '87-3=84']
Exploring Operation: 1+84=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[4, 3, 4, 87], Operations: []
Exploring Operation: 4+3=7, Resulting Numbers: [4, 87, 7]
Generated Node #0,0: 85:[4, 87, 7] Operation: 4+3=7
Exploring Operation: 3+4=7, Resulting Numbers: [4, 87, 7]
Generated Node #0,1: 85:[4, 87, 7] Operation: 3+4=7
Exploring Operation: 87-4=83, Resulting Numbers: [3, 4, 83]
Generated Node #0,2: 85:[3, 4, 83] Operation: 87-4=83
Exploring Operation: 4*4=16, Resulting Numbers: [3, 87, 16]
Generated Node #0,3: 85:[3, 87, 16] Operation: 4*4=16
Exploring Operation: 87-3=84, Resulting Numbers: [4, 4, 84]
Generated Node #0,4: 85:[4, 4, 84] Operation: 87-3=84
Start Sub Search at level 1: Moving to Node #0,4
Current State: 85:[4, 4, 84], Operations: ['87-3=84']
Exploring Operation: 4/4=1, Resulting Numbers: [84, 1]
Generated Node #0,4,0: 85:[84, 1] Operation: 4/4=1
Exploring Operation: 4*4=16, Resulting Numbers: [84, 16]
Generated Node #0,4,1: 85:[84, 16] Operation: 4*4=16
Exploring Operation: 4+4=8, Resulting Numbers: [84, 8]
Generated Node #0,4,2: 85:[84, 8] Operation: 4+4=8
Exploring Operation: 4+84=88, Resulting Numbers: [4, 88]
Generated Node #0,4,3: 85:[4, 88] Operation: 4+84=88
Exploring Operation: 4+84=88, Resulting Numbers: [4, 88]
Generated Node #0,4,4: 85:[4, 88] Operation: 4+84=88
Moving to Node #0,4,1
Current State: 85:[84, 16], Operations: ['87-3=84', '4*4=16']
Exploring Operation: 84+16=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 84*16=1344, Resulting Numbers: [1344]
1344,85 unequal: No Solution
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Moving to Node #0,4,3
Current State: 85:[4, 88], Operations: ['87-3=84', '4+84=88']
Exploring Operation: 4*88=352, Resulting Numbers: [352]
352,85 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 4+88=92, Resulting Numbers: [92]
92,85 unequal: No Solution
Moving to Node #0,4,2
Current State: 85:[84, 8], Operations: ['87-3=84', '4+4=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,85 unequal: No Solution
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,85 unequal: No Solution
Moving to Node #0,4,4
Current State: 85:[4, 88], Operations: ['87-3=84', '4+84=88']
Exploring Operation: 4*88=352, Resulting Numbers: [352]
352,85 unequal: No Solution
Exploring Operation: 4+88=92, Resulting Numbers: [92]
92,85 unequal: No Solution
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Moving to Node #0,4,0
Current State: 85:[84, 1], Operations: ['87-3=84', '4/4=1']
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[4, 3, 4, 87], Operations: []
Exploring Operation: 87-3=84, Resulting Numbers: [4, 4, 84]
Generated Node #0,4: 85:[4, 4, 84] Operation: 87-3=84
Moving to Node #0,4
Current State: 85:[4, 4, 84], Operations: ['87-3=84']
Exploring Operation: 4/4=1, Resulting Numbers: [84, 1]
Generated Node #0,4,0: 85:[84, 1] Operation: 4/4=1
Moving to Node #0,4,0
Current State: 85:[84, 1], Operations: ['87-3=84', '4/4=1']
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_5 | sum_heuristic |
[
9,
3,
51,
27
] | 84 | [
"9-3=6",
"51+27=78",
"6+78=84"
] | Current State: 84:[9, 3, 51, 27], Operations: []
Exploring Operation: 9-3=6, Resulting Numbers: [51, 27, 6]
Generated Node #2: [51, 27, 6] from Operation: 9-3=6
Current State: 84:[51, 27, 6], Operations: ['9-3=6']
Exploring Operation: 51+27=78, Resulting Numbers: [6, 78]
Generated Node #3: [6, 78] from Operation: 51+27=78
Current State: 84:[6, 78], Operations: ['9-3=6', '51+27=78']
Exploring Operation: 6+78=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[9, 3, 51, 27], Operations: []
Exploring Operation: 51/3=17, Resulting Numbers: [9, 27, 17]
Generated Node #0,0: 84:[9, 27, 17] Operation: 51/3=17
Exploring Operation: 51+27=78, Resulting Numbers: [9, 3, 78]
Generated Node #0,1: 84:[9, 3, 78] Operation: 51+27=78
Exploring Operation: 51-27=24, Resulting Numbers: [9, 3, 24]
Generated Node #0,2: 84:[9, 3, 24] Operation: 51-27=24
Exploring Operation: 51-9=42, Resulting Numbers: [3, 27, 42]
Generated Node #0,3: 84:[3, 27, 42] Operation: 51-9=42
Exploring Operation: 27/9=3, Resulting Numbers: [3, 51, 3]
Generated Node #0,4: 84:[3, 51, 3] Operation: 27/9=3
Moving to Node #0,3
Current State: 84:[3, 27, 42], Operations: ['51-9=42']
Exploring Operation: 3*27=81, Resulting Numbers: [42, 81]
Generated Node #0,3,0: 84:[42, 81] Operation: 3*27=81
Exploring Operation: 42-27=15, Resulting Numbers: [3, 15]
Generated Node #0,3,1: 84:[3, 15] Operation: 42-27=15
Exploring Operation: 27/3=9, Resulting Numbers: [42, 9]
Generated Node #0,3,2: 84:[42, 9] Operation: 27/3=9
Exploring Operation: 42/3=14, Resulting Numbers: [27, 14]
Generated Node #0,3,3: 84:[27, 14] Operation: 42/3=14
Exploring Operation: 3+27=30, Resulting Numbers: [42, 30]
Generated Node #0,3,4: 84:[42, 30] Operation: 3+27=30
Moving to Node #0,2
Current State: 84:[9, 3, 24], Operations: ['51-27=24']
Exploring Operation: 24-3=21, Resulting Numbers: [9, 21]
Generated Node #0,2,0: 84:[9, 21] Operation: 24-3=21
Exploring Operation: 24-9=15, Resulting Numbers: [3, 15]
Generated Node #0,2,1: 84:[3, 15] Operation: 24-9=15
Exploring Operation: 9+3=12, Resulting Numbers: [24, 12]
Generated Node #0,2,2: 84:[24, 12] Operation: 9+3=12
Exploring Operation: 9/3=3, Resulting Numbers: [24, 3]
Generated Node #0,2,3: 84:[24, 3] Operation: 9/3=3
Exploring Operation: 9-3=6, Resulting Numbers: [24, 6]
Generated Node #0,2,4: 84:[24, 6] Operation: 9-3=6
Moving to Node #0,0
Current State: 84:[9, 27, 17], Operations: ['51/3=17']
Exploring Operation: 27+17=44, Resulting Numbers: [9, 44]
Generated Node #0,0,0: 84:[9, 44] Operation: 27+17=44
Exploring Operation: 27-17=10, Resulting Numbers: [9, 10]
Generated Node #0,0,1: 84:[9, 10] Operation: 27-17=10
Exploring Operation: 27/9=3, Resulting Numbers: [17, 3]
Generated Node #0,0,2: 84:[17, 3] Operation: 27/9=3
Exploring Operation: 9+17=26, Resulting Numbers: [27, 26]
Generated Node #0,0,3: 84:[27, 26] Operation: 9+17=26
Exploring Operation: 17-9=8, Resulting Numbers: [27, 8]
Generated Node #0,0,4: 84:[27, 8] Operation: 17-9=8
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 84:[27, 8], Operations: ['51/3=17', '17-9=8']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,84 unequal: No Solution
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,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,2
Current State: 84:[17, 3], Operations: ['51/3=17', '27/9=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,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:[27, 26], Operations: ['51/3=17', '9+17=26']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,84 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,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:[9, 44], Operations: ['51/3=17', '27+17=44']
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 9*44=396, Resulting Numbers: [396]
396,84 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,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:[9, 10], Operations: ['51/3=17', '27-17=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,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:[9, 3, 78], Operations: ['51+27=78']
Exploring Operation: 9-3=6, Resulting Numbers: [78, 6]
Generated Node #0,1,0: 84:[78, 6] Operation: 9-3=6
Exploring Operation: 9+3=12, Resulting Numbers: [78, 12]
Generated Node #0,1,1: 84:[78, 12] Operation: 9+3=12
Exploring Operation: 78/3=26, Resulting Numbers: [9, 26]
Generated Node #0,1,2: 84:[9, 26] Operation: 78/3=26
Exploring Operation: 9+78=87, Resulting Numbers: [3, 87]
Generated Node #0,1,3: 84:[3, 87] Operation: 9+78=87
Exploring Operation: 3+78=81, Resulting Numbers: [9, 81]
Generated Node #0,1,4: 84:[9, 81] Operation: 3+78=81
Moving to Node #0,4
Current State: 84:[3, 51, 3], Operations: ['27/9=3']
Exploring Operation: 51-3=48, Resulting Numbers: [3, 48]
Generated Node #0,4,0: 84:[3, 48] Operation: 51-3=48
Exploring Operation: 51/3=17, Resulting Numbers: [3, 17]
Generated Node #0,4,1: 84:[3, 17] Operation: 51/3=17
Exploring Operation: 51-3=48, Resulting Numbers: [3, 48]
Generated Node #0,4,2: 84:[3, 48] Operation: 51-3=48
Exploring Operation: 51/3=17, Resulting Numbers: [3, 17]
Generated Node #0,4,3: 84:[3, 17] Operation: 51/3=17
Exploring Operation: 3+3=6, Resulting Numbers: [51, 6]
Generated Node #0,4,4: 84:[51, 6] Operation: 3+3=6
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 84:[3, 17], Operations: ['27/9=3', '51/3=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,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,4,3
Current State: 84:[3, 17], Operations: ['27/9=3', '51/3=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,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,4,0
Current State: 84:[3, 48], Operations: ['27/9=3', '51-3=48']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,84 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,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,4,2
Current State: 84:[3, 48], Operations: ['27/9=3', '51-3=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,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,4,4
Current State: 84:[51, 6], Operations: ['27/9=3', '3+3=6']
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,84 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 84:[3, 15], Operations: ['51-9=42', '42-27=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[3, 15], Operations: ['51-27=24', '24-9=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Moving to Node #0,3,3
Current State: 84:[27, 14], Operations: ['51-9=42', '42/3=14']
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,84 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[9, 21], Operations: ['51-27=24', '24-3=21']
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,84 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[42, 9], Operations: ['51-9=42', '27/3=9']
Exploring Operation: 42*9=378, Resulting Numbers: [378]
378,84 unequal: No Solution
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Moving to Node #0,3,4
Current State: 84:[42, 30], Operations: ['51-9=42', '3+27=30']
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,84 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,84 unequal: No Solution
Moving to Node #0,3,0
Current State: 84:[42, 81], Operations: ['51-9=42', '3*27=81']
Exploring Operation: 42*81=3402, Resulting Numbers: [3402]
3402,84 unequal: No Solution
Exploring Operation: 42+81=123, Resulting Numbers: [123]
123,84 unequal: No Solution
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Moving to Node #0,2,4
Current State: 84:[24, 6], Operations: ['51-27=24', '9-3=6']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,84 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[3, 87], Operations: ['51+27=78', '9+78=87']
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[9, 3, 51, 27], Operations: []
Exploring Operation: 51+27=78, Resulting Numbers: [9, 3, 78]
Generated Node #0,1: 84:[9, 3, 78] Operation: 51+27=78
Moving to Node #0,1
Current State: 84:[9, 3, 78], Operations: ['51+27=78']
Exploring Operation: 9+78=87, Resulting Numbers: [3, 87]
Generated Node #0,1,3: 84:[3, 87] Operation: 9+78=87
Moving to Node #0,1,3
Current State: 84:[3, 87], Operations: ['51+27=78', '9+78=87']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.917535 | hs_5 | mult_heuristic |
[
58,
23,
44,
45
] | 81 | [
"58+23=81",
"45-44=1",
"81*1=81"
] | Current State: 81:[58, 23, 44, 45], Operations: []
Exploring Operation: 58+23=81, Resulting Numbers: [44, 45, 81]
Generated Node #2: [44, 45, 81] from Operation: 58+23=81
Current State: 81:[44, 45, 81], Operations: ['58+23=81']
Exploring Operation: 45-44=1, Resulting Numbers: [81, 1]
Generated Node #3: [81, 1] from Operation: 45-44=1
Current State: 81:[81, 1], Operations: ['58+23=81', '45-44=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[58, 23, 44, 45], Operations: []
Exploring Operation: 58-45=13, Resulting Numbers: [23, 44, 13]
Generated Node #0,0: 81:[23, 44, 13] Operation: 58-45=13
Moving to Node #0,0
Current State: 81:[23, 44, 13], Operations: ['58-45=13']
Exploring Operation: 44-13=31, Resulting Numbers: [23, 31]
Generated Node #0,0,0: 81:[23, 31] Operation: 44-13=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[23, 31], Operations: ['58-45=13', '44-13=31']
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,81 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,
7,
47,
7
] | 49 | [
"97-47=50",
"7/7=1",
"50-1=49"
] | Current State: 49:[97, 7, 47, 7], Operations: []
Exploring Operation: 97-47=50, Resulting Numbers: [7, 7, 50]
Generated Node #2: [7, 7, 50] from Operation: 97-47=50
Current State: 49:[7, 7, 50], Operations: ['97-47=50']
Exploring Operation: 7/7=1, Resulting Numbers: [50, 1]
Generated Node #3: [50, 1] from Operation: 7/7=1
Current State: 49:[50, 1], Operations: ['97-47=50', '7/7=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[97, 7, 47, 7], Operations: []
Exploring Operation: 97-47=50, Resulting Numbers: [7, 7, 50]
Generated Node #0,0: 49:[7, 7, 50] Operation: 97-47=50
Exploring Operation: 97-7=90, Resulting Numbers: [7, 47, 90]
Generated Node #0,1: 49:[7, 47, 90] Operation: 97-7=90
Exploring Operation: 97-7=90, Resulting Numbers: [47, 7, 90]
Generated Node #0,2: 49:[47, 7, 90] Operation: 97-7=90
Moving to Node #0,0
Current State: 49:[7, 7, 50], Operations: ['97-47=50']
Exploring Operation: 7*7=49, Resulting Numbers: [50, 49]
Generated Node #0,0,0: 49:[50, 49] Operation: 7*7=49
Exploring Operation: 50-7=43, Resulting Numbers: [7, 43]
Generated Node #0,0,1: 49:[7, 43] Operation: 50-7=43
Exploring Operation: 50-7=43, Resulting Numbers: [7, 43]
Generated Node #0,0,2: 49:[7, 43] Operation: 50-7=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[50, 49], Operations: ['97-47=50', '7*7=49']
Exploring Operation: 50+49=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 50*49=2450, Resulting Numbers: [2450]
2450,49 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,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:[7, 43], Operations: ['97-47=50', '50-7=43']
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,49 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[7, 43], Operations: ['97-47=50', '50-7=43']
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,49 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,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:[7, 47, 90], Operations: ['97-7=90']
Exploring Operation: 90-7=83, Resulting Numbers: [47, 83]
Generated Node #0,1,0: 49:[47, 83] Operation: 90-7=83
Exploring Operation: 7+47=54, Resulting Numbers: [90, 54]
Generated Node #0,1,1: 49:[90, 54] Operation: 7+47=54
Exploring Operation: 90-47=43, Resulting Numbers: [7, 43]
Generated Node #0,1,2: 49:[7, 43] Operation: 90-47=43
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[7, 43], Operations: ['97-7=90', '90-47=43']
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,49 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[47, 83], Operations: ['97-7=90', '90-7=83']
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 47*83=3901, Resulting Numbers: [3901]
3901,49 unequal: No Solution
Exploring Operation: 47+83=130, Resulting Numbers: [130]
130,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[90, 54], Operations: ['97-7=90', '7+47=54']
Exploring Operation: 90*54=4860, Resulting Numbers: [4860]
4860,49 unequal: No Solution
Exploring Operation: 90+54=144, Resulting Numbers: [144]
144,49 unequal: No Solution
Exploring Operation: 90-54=36, Resulting Numbers: [36]
36,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 49:[47, 7, 90], Operations: ['97-7=90']
Exploring Operation: 90-7=83, Resulting Numbers: [47, 83]
Generated Node #0,2,0: 49:[47, 83] Operation: 90-7=83
Exploring Operation: 90-47=43, Resulting Numbers: [7, 43]
Generated Node #0,2,1: 49:[7, 43] Operation: 90-47=43
Exploring Operation: 47+7=54, Resulting Numbers: [90, 54]
Generated Node #0,2,2: 49:[90, 54] Operation: 47+7=54
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[7, 43], Operations: ['97-7=90', '90-47=43']
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,49 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[47, 83], Operations: ['97-7=90', '90-7=83']
Exploring Operation: 47*83=3901, Resulting Numbers: [3901]
3901,49 unequal: No Solution
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 47+83=130, Resulting Numbers: [130]
130,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[90, 54], Operations: ['97-7=90', '47+7=54']
Exploring Operation: 90*54=4860, Resulting Numbers: [4860]
4860,49 unequal: No Solution
Exploring Operation: 90-54=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 90+54=144, Resulting Numbers: [144]
144,49 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 |
[
50,
57,
31,
96
] | 93 | [
"50-31=19",
"57/19=3",
"96-3=93"
] | Current State: 93:[50, 57, 31, 96], Operations: []
Exploring Operation: 50-31=19, Resulting Numbers: [57, 96, 19]
Generated Node #2: [57, 96, 19] from Operation: 50-31=19
Current State: 93:[57, 96, 19], Operations: ['50-31=19']
Exploring Operation: 57/19=3, Resulting Numbers: [96, 3]
Generated Node #3: [96, 3] from Operation: 57/19=3
Current State: 93:[96, 3], Operations: ['50-31=19', '57/19=3']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[50, 57, 31, 96], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [31, 96, 7]
Generated Node #0,0: 93:[31, 96, 7] Operation: 57-50=7
Exploring Operation: 50+57=107, Resulting Numbers: [31, 96, 107]
Generated Node #0,1: 93:[31, 96, 107] Operation: 50+57=107
Exploring Operation: 57+31=88, Resulting Numbers: [50, 96, 88]
Generated Node #0,2: 93:[50, 96, 88] Operation: 57+31=88
Moving to Node #0,0
Current State: 93:[31, 96, 7], Operations: ['57-50=7']
Exploring Operation: 31+7=38, Resulting Numbers: [96, 38]
Generated Node #0,0,0: 93:[96, 38] Operation: 31+7=38
Exploring Operation: 96-7=89, Resulting Numbers: [31, 89]
Generated Node #0,0,1: 93:[31, 89] Operation: 96-7=89
Exploring Operation: 31-7=24, Resulting Numbers: [96, 24]
Generated Node #0,0,2: 93:[96, 24] Operation: 31-7=24
Moving to Node #0,1
Current State: 93:[31, 96, 107], Operations: ['50+57=107']
Exploring Operation: 96-31=65, Resulting Numbers: [107, 65]
Generated Node #0,1,0: 93:[107, 65] Operation: 96-31=65
Exploring Operation: 107-31=76, Resulting Numbers: [96, 76]
Generated Node #0,1,1: 93:[96, 76] Operation: 107-31=76
Exploring Operation: 107-96=11, Resulting Numbers: [31, 11]
Generated Node #0,1,2: 93:[31, 11] Operation: 107-96=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[31, 11], Operations: ['50+57=107', '107-96=11']
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,93 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[96, 76], Operations: ['50+57=107', '107-31=76']
Exploring Operation: 96*76=7296, Resulting Numbers: [7296]
7296,93 unequal: No Solution
Exploring Operation: 96-76=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 96+76=172, Resulting Numbers: [172]
172,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[107, 65], Operations: ['50+57=107', '96-31=65']
Exploring Operation: 107-65=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 107+65=172, Resulting Numbers: [172]
172,93 unequal: No Solution
Exploring Operation: 107*65=6955, Resulting Numbers: [6955]
6955,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 93:[50, 96, 88], Operations: ['57+31=88']
Exploring Operation: 96-88=8, Resulting Numbers: [50, 8]
Generated Node #0,2,0: 93:[50, 8] Operation: 96-88=8
Exploring Operation: 96-50=46, Resulting Numbers: [88, 46]
Generated Node #0,2,1: 93:[88, 46] Operation: 96-50=46
Exploring Operation: 88-50=38, Resulting Numbers: [96, 38]
Generated Node #0,2,2: 93:[96, 38] Operation: 88-50=38
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[96, 38], Operations: ['57+31=88', '88-50=38']
Exploring Operation: 96-38=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 96*38=3648, Resulting Numbers: [3648]
3648,93 unequal: No Solution
Exploring Operation: 96+38=134, Resulting Numbers: [134]
134,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[88, 46], Operations: ['57+31=88', '96-50=46']
Exploring Operation: 88*46=4048, Resulting Numbers: [4048]
4048,93 unequal: No Solution
Exploring Operation: 88+46=134, Resulting Numbers: [134]
134,93 unequal: No Solution
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[50, 8], Operations: ['57+31=88', '96-88=8']
Exploring Operation: 50+8=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 50*8=400, Resulting Numbers: [400]
400,93 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 93:[31, 89], Operations: ['57-50=7', '96-7=89']
Exploring Operation: 31*89=2759, Resulting Numbers: [2759]
2759,93 unequal: No Solution
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 31+89=120, Resulting Numbers: [120]
120,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[96, 38], Operations: ['57-50=7', '31+7=38']
Exploring Operation: 96+38=134, Resulting Numbers: [134]
134,93 unequal: No Solution
Exploring Operation: 96-38=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 96*38=3648, Resulting Numbers: [3648]
3648,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[96, 24], Operations: ['57-50=7', '31-7=24']
Exploring Operation: 96+24=120, Resulting Numbers: [120]
120,93 unequal: No Solution
Exploring Operation: 96/24=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 96-24=72, Resulting Numbers: [72]
72,93 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
25,
91,
84,
67
] | 83 | [
"91-25=66",
"84-67=17",
"66+17=83"
] | Current State: 83:[25, 91, 84, 67], Operations: []
Exploring Operation: 91-25=66, Resulting Numbers: [84, 67, 66]
Generated Node #2: [84, 67, 66] from Operation: 91-25=66
Current State: 83:[84, 67, 66], Operations: ['91-25=66']
Exploring Operation: 84-67=17, Resulting Numbers: [66, 17]
Generated Node #3: [66, 17] from Operation: 84-67=17
Current State: 83:[66, 17], Operations: ['91-25=66', '84-67=17']
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[25, 91, 84, 67], Operations: []
Exploring Operation: 84-25=59, Resulting Numbers: [91, 67, 59]
Generated Node #0,0: 83:[91, 67, 59] Operation: 84-25=59
Exploring Operation: 25+91=116, Resulting Numbers: [84, 67, 116]
Generated Node #0,1: 83:[84, 67, 116] Operation: 25+91=116
Exploring Operation: 91-25=66, Resulting Numbers: [84, 67, 66]
Generated Node #0,2: 83:[84, 67, 66] Operation: 91-25=66
Exploring Operation: 25+67=92, Resulting Numbers: [91, 84, 92]
Generated Node #0,3: 83:[91, 84, 92] Operation: 25+67=92
Moving to Node #0,3
Current State: 83:[91, 84, 92], Operations: ['25+67=92']
Exploring Operation: 91-84=7, Resulting Numbers: [92, 7]
Generated Node #0,3,0: 83:[92, 7] Operation: 91-84=7
Exploring Operation: 92-84=8, Resulting Numbers: [91, 8]
Generated Node #0,3,1: 83:[91, 8] Operation: 92-84=8
Exploring Operation: 92-91=1, Resulting Numbers: [84, 1]
Generated Node #0,3,2: 83:[84, 1] Operation: 92-91=1
Exploring Operation: 91+84=175, Resulting Numbers: [92, 175]
Generated Node #0,3,3: 83:[92, 175] Operation: 91+84=175
Moving to Node #0,2
Current State: 83:[84, 67, 66], Operations: ['91-25=66']
Exploring Operation: 84-66=18, Resulting Numbers: [67, 18]
Generated Node #0,2,0: 83:[67, 18] Operation: 84-66=18
Exploring Operation: 84-67=17, Resulting Numbers: [66, 17]
Generated Node #0,2,1: 83:[66, 17] Operation: 84-67=17
Exploring Operation: 84+66=150, Resulting Numbers: [67, 150]
Generated Node #0,2,2: 83:[67, 150] Operation: 84+66=150
Exploring Operation: 67+66=133, Resulting Numbers: [84, 133]
Generated Node #0,2,3: 83:[84, 133] Operation: 67+66=133
Moving to Node #0,0
Current State: 83:[91, 67, 59], Operations: ['84-25=59']
Exploring Operation: 67+59=126, Resulting Numbers: [91, 126]
Generated Node #0,0,0: 83:[91, 126] Operation: 67+59=126
Exploring Operation: 91+59=150, Resulting Numbers: [67, 150]
Generated Node #0,0,1: 83:[67, 150] Operation: 91+59=150
Exploring Operation: 91-67=24, Resulting Numbers: [59, 24]
Generated Node #0,0,2: 83:[59, 24] Operation: 91-67=24
Exploring Operation: 91-59=32, Resulting Numbers: [67, 32]
Generated Node #0,0,3: 83:[67, 32] Operation: 91-59=32
Moving to Node #0,1
Current State: 83:[84, 67, 116], Operations: ['25+91=116']
Exploring Operation: 116-67=49, Resulting Numbers: [84, 49]
Generated Node #0,1,0: 83:[84, 49] Operation: 116-67=49
Exploring Operation: 116-84=32, Resulting Numbers: [67, 32]
Generated Node #0,1,1: 83:[67, 32] Operation: 116-84=32
Exploring Operation: 84+67=151, Resulting Numbers: [116, 151]
Generated Node #0,1,2: 83:[116, 151] Operation: 84+67=151
Exploring Operation: 84-67=17, Resulting Numbers: [116, 17]
Generated Node #0,1,3: 83:[116, 17] Operation: 84-67=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[84, 49], Operations: ['25+91=116', '116-67=49']
Exploring Operation: 84*49=4116, Resulting Numbers: [4116]
4116,83 unequal: No Solution
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 84+49=133, Resulting Numbers: [133]
133,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:[67, 32], Operations: ['25+91=116', '116-84=32']
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 67*32=2144, Resulting Numbers: [2144]
2144,83 unequal: No Solution
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,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:[116, 17], Operations: ['25+91=116', '84-67=17']
Exploring Operation: 116-17=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 116*17=1972, Resulting Numbers: [1972]
1972,83 unequal: No Solution
Exploring Operation: 116+17=133, Resulting Numbers: [133]
133,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:[116, 151], Operations: ['25+91=116', '84+67=151']
Exploring Operation: 116*151=17516, Resulting Numbers: [17516]
17516,83 unequal: No Solution
Exploring Operation: 116+151=267, Resulting Numbers: [267]
267,83 unequal: No Solution
Exploring Operation: 151-116=35, Resulting Numbers: [35]
35,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 83:[84, 133], Operations: ['91-25=66', '67+66=133']
Exploring Operation: 84*133=11172, Resulting Numbers: [11172]
11172,83 unequal: No Solution
Exploring Operation: 84+133=217, Resulting Numbers: [217]
217,83 unequal: No Solution
Exploring Operation: 133-84=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[91, 126], Operations: ['84-25=59', '67+59=126']
Exploring Operation: 126-91=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 91*126=11466, Resulting Numbers: [11466]
11466,83 unequal: No Solution
Exploring Operation: 91+126=217, Resulting Numbers: [217]
217,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[67, 32], Operations: ['84-25=59', '91-59=32']
Exploring Operation: 67*32=2144, Resulting Numbers: [2144]
2144,83 unequal: No Solution
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[67, 18], Operations: ['91-25=66', '84-66=18']
Exploring Operation: 67+18=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 67*18=1206, Resulting Numbers: [1206]
1206,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[66, 17], Operations: ['91-25=66', '84-67=17']
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,83 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[25, 91, 84, 67], Operations: []
Exploring Operation: 91-25=66, Resulting Numbers: [84, 67, 66]
Generated Node #0,2: 83:[84, 67, 66] Operation: 91-25=66
Moving to Node #0,2
Current State: 83:[84, 67, 66], Operations: ['91-25=66']
Exploring Operation: 84-67=17, Resulting Numbers: [66, 17]
Generated Node #0,2,1: 83:[66, 17] Operation: 84-67=17
Moving to Node #0,2,1
Current State: 83:[66, 17], Operations: ['91-25=66', '84-67=17']
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 0.956597 | hs_4 | mult_heuristic |
[
96,
22,
61,
93
] | 66 | [
"96*22=2112",
"93-61=32",
"2112/32=66"
] | Current State: 66:[96, 22, 61, 93], Operations: []
Exploring Operation: 96*22=2112, Resulting Numbers: [61, 93, 2112]
Generated Node #2: [61, 93, 2112] from Operation: 96*22=2112
Current State: 66:[61, 93, 2112], Operations: ['96*22=2112']
Exploring Operation: 93-61=32, Resulting Numbers: [2112, 32]
Generated Node #3: [2112, 32] from Operation: 93-61=32
Current State: 66:[2112, 32], Operations: ['96*22=2112', '93-61=32']
Exploring Operation: 2112/32=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[96, 22, 61, 93], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [22, 61, 3]
Generated Node #0,0: 66:[22, 61, 3] Operation: 96-93=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[22, 61, 3], Operations: ['96-93=3']
Exploring Operation: 61+3=64, Resulting Numbers: [22, 64]
Generated Node #0,0,0: 66:[22, 64] Operation: 61+3=64
Moving to Node #0,0,0
Current State: 66:[22, 64], Operations: ['96-93=3', '61+3=64']
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,66 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 |
[
43,
15,
86,
60
] | 45 | [
"86/43=2",
"60/2=30",
"15+30=45"
] | Current State: 45:[43, 15, 86, 60], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [15, 60, 2]
Generated Node #2: [15, 60, 2] from Operation: 86/43=2
Current State: 45:[15, 60, 2], Operations: ['86/43=2']
Exploring Operation: 60/2=30, Resulting Numbers: [15, 30]
Generated Node #3: [15, 30] from Operation: 60/2=30
Current State: 45:[15, 30], Operations: ['86/43=2', '60/2=30']
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[43, 15, 86, 60], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [15, 60, 2]
Generated Node #0,0: 45:[15, 60, 2] Operation: 86/43=2
Exploring Operation: 86-60=26, Resulting Numbers: [43, 15, 26]
Generated Node #0,1: 45:[43, 15, 26] Operation: 86-60=26
Moving to Node #0,1
Current State: 45:[43, 15, 26], Operations: ['86-60=26']
Exploring Operation: 43-26=17, Resulting Numbers: [15, 17]
Generated Node #0,1,0: 45:[15, 17] Operation: 43-26=17
Exploring Operation: 26-15=11, Resulting Numbers: [43, 11]
Generated Node #0,1,1: 45:[43, 11] Operation: 26-15=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[15, 17], Operations: ['86-60=26', '43-26=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[43, 11], Operations: ['86-60=26', '26-15=11']
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,45 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: 45:[15, 60, 2], Operations: ['86/43=2']
Exploring Operation: 60/15=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 45:[2, 4] Operation: 60/15=4
Exploring Operation: 60-15=45, Resulting Numbers: [2, 45]
Generated Node #0,0,1: 45:[2, 45] Operation: 60-15=45
Moving to Node #0,0,1
Current State: 45:[2, 45], Operations: ['86/43=2', '60-15=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,45 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[2, 4], Operations: ['86/43=2', '60/15=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,45 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
63,
23,
5,
30
] | 61 | [
"63+23=86",
"30-5=25",
"86-25=61"
] | Current State: 61:[63, 23, 5, 30], Operations: []
Exploring Operation: 63+23=86, Resulting Numbers: [5, 30, 86]
Generated Node #2: [5, 30, 86] from Operation: 63+23=86
Current State: 61:[5, 30, 86], Operations: ['63+23=86']
Exploring Operation: 30-5=25, Resulting Numbers: [86, 25]
Generated Node #3: [86, 25] from Operation: 30-5=25
Current State: 61:[86, 25], Operations: ['63+23=86', '30-5=25']
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[63, 23, 5, 30], Operations: []
Exploring Operation: 63-5=58, Resulting Numbers: [23, 30, 58]
Generated Node #0,0: 61:[23, 30, 58] Operation: 63-5=58
Exploring Operation: 5+30=35, Resulting Numbers: [63, 23, 35]
Generated Node #0,1: 61:[63, 23, 35] Operation: 5+30=35
Exploring Operation: 23+30=53, Resulting Numbers: [63, 5, 53]
Generated Node #0,2: 61:[63, 5, 53] Operation: 23+30=53
Exploring Operation: 23+5=28, Resulting Numbers: [63, 30, 28]
Generated Node #0,3: 61:[63, 30, 28] Operation: 23+5=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[63, 23, 35], Operations: ['5+30=35']
Exploring Operation: 63+23=86, Resulting Numbers: [35, 86]
Generated Node #0,1,0: 61:[35, 86] Operation: 63+23=86
Exploring Operation: 23+35=58, Resulting Numbers: [63, 58]
Generated Node #0,1,1: 61:[63, 58] Operation: 23+35=58
Exploring Operation: 35-23=12, Resulting Numbers: [63, 12]
Generated Node #0,1,2: 61:[63, 12] Operation: 35-23=12
Exploring Operation: 63-23=40, Resulting Numbers: [35, 40]
Generated Node #0,1,3: 61:[35, 40] Operation: 63-23=40
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[63, 58], Operations: ['5+30=35', '23+35=58']
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 63*58=3654, Resulting Numbers: [3654]
3654,61 unequal: No Solution
Exploring Operation: 63+58=121, Resulting Numbers: [121]
121,61 unequal: No Solution
No 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: 61:[35, 40], Operations: ['5+30=35', '63-23=40']
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 35*40=1400, Resulting Numbers: [1400]
1400,61 unequal: No Solution
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,61 unequal: No Solution
No 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: 61:[35, 86], Operations: ['5+30=35', '63+23=86']
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,61 unequal: No Solution
Exploring Operation: 35*86=3010, Resulting Numbers: [3010]
3010,61 unequal: No Solution
Exploring Operation: 35+86=121, Resulting Numbers: [121]
121,61 unequal: No Solution
No 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: 61:[63, 12], Operations: ['5+30=35', '35-23=12']
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,61 unequal: No Solution
Exploring Operation: 63*12=756, Resulting Numbers: [756]
756,61 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,61 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: 61:[63, 5, 53], Operations: ['23+30=53']
Exploring Operation: 5+53=58, Resulting Numbers: [63, 58]
Generated Node #0,2,0: 61:[63, 58] Operation: 5+53=58
Exploring Operation: 63-5=58, Resulting Numbers: [53, 58]
Generated Node #0,2,1: 61:[53, 58] Operation: 63-5=58
Exploring Operation: 63+5=68, Resulting Numbers: [53, 68]
Generated Node #0,2,2: 61:[53, 68] Operation: 63+5=68
Exploring Operation: 53-5=48, Resulting Numbers: [63, 48]
Generated Node #0,2,3: 61:[63, 48] Operation: 53-5=48
Moving to Node #0,2,0
Current State: 61:[63, 58], Operations: ['23+30=53', '5+53=58']
Exploring Operation: 63*58=3654, Resulting Numbers: [3654]
3654,61 unequal: No Solution
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 63+58=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[53, 58], Operations: ['23+30=53', '63-5=58']
Exploring Operation: 53+58=111, Resulting Numbers: [111]
111,61 unequal: No Solution
Exploring Operation: 53*58=3074, Resulting Numbers: [3074]
3074,61 unequal: No Solution
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[63, 48], Operations: ['23+30=53', '53-5=48']
Exploring Operation: 63*48=3024, Resulting Numbers: [3024]
3024,61 unequal: No Solution
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 63+48=111, Resulting Numbers: [111]
111,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[53, 68], Operations: ['23+30=53', '63+5=68']
Exploring Operation: 68-53=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 53+68=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Exploring Operation: 53*68=3604, Resulting Numbers: [3604]
3604,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,3
Current State: 61:[63, 30, 28], Operations: ['23+5=28']
Exploring Operation: 63-30=33, Resulting Numbers: [28, 33]
Generated Node #0,3,0: 61:[28, 33] Operation: 63-30=33
Exploring Operation: 30+28=58, Resulting Numbers: [63, 58]
Generated Node #0,3,1: 61:[63, 58] Operation: 30+28=58
Exploring Operation: 63+28=91, Resulting Numbers: [30, 91]
Generated Node #0,3,2: 61:[30, 91] Operation: 63+28=91
Exploring Operation: 63-28=35, Resulting Numbers: [30, 35]
Generated Node #0,3,3: 61:[30, 35] Operation: 63-28=35
Moving to Node #0,3,1
Current State: 61:[63, 58], Operations: ['23+5=28', '30+28=58']
Exploring Operation: 63+58=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Exploring Operation: 63*58=3654, Resulting Numbers: [3654]
3654,61 unequal: No Solution
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[30, 35], Operations: ['23+5=28', '63-28=35']
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 30*35=1050, Resulting Numbers: [1050]
1050,61 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[30, 91], Operations: ['23+5=28', '63+28=91']
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[63, 23, 5, 30], Operations: []
Exploring Operation: 23+5=28, Resulting Numbers: [63, 30, 28]
Generated Node #0,3: 61:[63, 30, 28] Operation: 23+5=28
Moving to Node #0,3
Current State: 61:[63, 30, 28], Operations: ['23+5=28']
Exploring Operation: 63+28=91, Resulting Numbers: [30, 91]
Generated Node #0,3,2: 61:[30, 91] Operation: 63+28=91
Moving to Node #0,3,2
Current State: 61:[30, 91], Operations: ['23+5=28', '63+28=91']
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_4 | mult_heuristic |
[
3,
40,
59,
67
] | 82 | [
"59+67=126",
"126/3=42",
"40+42=82"
] | Current State: 82:[3, 40, 59, 67], Operations: []
Exploring Operation: 59+67=126, Resulting Numbers: [3, 40, 126]
Generated Node #2: [3, 40, 126] from Operation: 59+67=126
Current State: 82:[3, 40, 126], Operations: ['59+67=126']
Exploring Operation: 126/3=42, Resulting Numbers: [40, 42]
Generated Node #3: [40, 42] from Operation: 126/3=42
Current State: 82:[40, 42], Operations: ['59+67=126', '126/3=42']
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[3, 40, 59, 67], Operations: []
Exploring Operation: 59-3=56, Resulting Numbers: [40, 67, 56]
Generated Node #0,0: 82:[40, 67, 56] Operation: 59-3=56
Exploring Operation: 67-59=8, Resulting Numbers: [3, 40, 8]
Generated Node #0,1: 82:[3, 40, 8] Operation: 67-59=8
Moving to Node #0,1
Current State: 82:[3, 40, 8], Operations: ['67-59=8']
Exploring Operation: 8-3=5, Resulting Numbers: [40, 5]
Generated Node #0,1,0: 82:[40, 5] Operation: 8-3=5
Exploring Operation: 40/8=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 82:[3, 5] Operation: 40/8=5
Moving to Node #0,0
Current State: 82:[40, 67, 56], Operations: ['59-3=56']
Exploring Operation: 67-56=11, Resulting Numbers: [40, 11]
Generated Node #0,0,0: 82:[40, 11] Operation: 67-56=11
Exploring Operation: 67-40=27, Resulting Numbers: [56, 27]
Generated Node #0,0,1: 82:[56, 27] Operation: 67-40=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[40, 11], Operations: ['59-3=56', '67-56=11']
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 82:[56, 27], Operations: ['59-3=56', '67-40=27']
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,82 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: 82:[40, 5], Operations: ['67-59=8', '8-3=5']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[3, 5], Operations: ['67-59=8', '40/8=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,82 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
10,
58,
9,
73
] | 15 | [
"10-9=1",
"73-58=15",
"1*15=15"
] | Current State: 15:[10, 58, 9, 73], Operations: []
Exploring Operation: 10-9=1, Resulting Numbers: [58, 73, 1]
Generated Node #2: [58, 73, 1] from Operation: 10-9=1
Current State: 15:[58, 73, 1], Operations: ['10-9=1']
Exploring Operation: 73-58=15, Resulting Numbers: [1, 15]
Generated Node #3: [1, 15] from Operation: 73-58=15
Current State: 15:[1, 15], Operations: ['10-9=1', '73-58=15']
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[10, 58, 9, 73], Operations: []
Exploring Operation: 58-10=48, Resulting Numbers: [9, 73, 48]
Generated Node #0,0: 15:[9, 73, 48] Operation: 58-10=48
Exploring Operation: 73-58=15, Resulting Numbers: [10, 9, 15]
Generated Node #0,1: 15:[10, 9, 15] Operation: 73-58=15
Exploring Operation: 58-9=49, Resulting Numbers: [10, 73, 49]
Generated Node #0,2: 15:[10, 73, 49] Operation: 58-9=49
Exploring Operation: 73-10=63, Resulting Numbers: [58, 9, 63]
Generated Node #0,3: 15:[58, 9, 63] Operation: 73-10=63
Moving to Node #0,1
Current State: 15:[10, 9, 15], Operations: ['73-58=15']
Exploring Operation: 10+9=19, Resulting Numbers: [15, 19]
Generated Node #0,1,0: 15:[15, 19] Operation: 10+9=19
Exploring Operation: 15-10=5, Resulting Numbers: [9, 5]
Generated Node #0,1,1: 15:[9, 5] Operation: 15-10=5
Exploring Operation: 10-9=1, Resulting Numbers: [15, 1]
Generated Node #0,1,2: 15:[15, 1] Operation: 10-9=1
Exploring Operation: 15-9=6, Resulting Numbers: [10, 6]
Generated Node #0,1,3: 15:[10, 6] Operation: 15-9=6
Moving to Node #0,3
Current State: 15:[58, 9, 63], Operations: ['73-10=63']
Exploring Operation: 58-9=49, Resulting Numbers: [63, 49]
Generated Node #0,3,0: 15:[63, 49] Operation: 58-9=49
Exploring Operation: 63-58=5, Resulting Numbers: [9, 5]
Generated Node #0,3,1: 15:[9, 5] Operation: 63-58=5
Exploring Operation: 63/9=7, Resulting Numbers: [58, 7]
Generated Node #0,3,2: 15:[58, 7] Operation: 63/9=7
Exploring Operation: 63-9=54, Resulting Numbers: [58, 54]
Generated Node #0,3,3: 15:[58, 54] Operation: 63-9=54
Moving to Node #0,0
Current State: 15:[9, 73, 48], Operations: ['58-10=48']
Exploring Operation: 48-9=39, Resulting Numbers: [73, 39]
Generated Node #0,0,0: 15:[73, 39] Operation: 48-9=39
Exploring Operation: 9+73=82, Resulting Numbers: [48, 82]
Generated Node #0,0,1: 15:[48, 82] Operation: 9+73=82
Exploring Operation: 73-48=25, Resulting Numbers: [9, 25]
Generated Node #0,0,2: 15:[9, 25] Operation: 73-48=25
Exploring Operation: 73-9=64, Resulting Numbers: [48, 64]
Generated Node #0,0,3: 15:[48, 64] Operation: 73-9=64
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[9, 25], Operations: ['58-10=48', '73-48=25']
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,15 unequal: No Solution
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,15 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,15 unequal: No Solution
No 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: 15:[73, 39], Operations: ['58-10=48', '48-9=39']
Exploring Operation: 73*39=2847, Resulting Numbers: [2847]
2847,15 unequal: No Solution
Exploring Operation: 73+39=112, Resulting Numbers: [112]
112,15 unequal: No Solution
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,15 unequal: No Solution
No 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: 15:[48, 64], Operations: ['58-10=48', '73-9=64']
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 48*64=3072, Resulting Numbers: [3072]
3072,15 unequal: No Solution
Exploring Operation: 48+64=112, Resulting Numbers: [112]
112,15 unequal: No Solution
No 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: 15:[48, 82], Operations: ['58-10=48', '9+73=82']
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,15 unequal: No Solution
Exploring Operation: 48*82=3936, Resulting Numbers: [3936]
3936,15 unequal: No Solution
Exploring Operation: 48+82=130, Resulting Numbers: [130]
130,15 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: 15:[10, 73, 49], Operations: ['58-9=49']
Exploring Operation: 73-49=24, Resulting Numbers: [10, 24]
Generated Node #0,2,0: 15:[10, 24] Operation: 73-49=24
Exploring Operation: 49-10=39, Resulting Numbers: [73, 39]
Generated Node #0,2,1: 15:[73, 39] Operation: 49-10=39
Exploring Operation: 73-10=63, Resulting Numbers: [49, 63]
Generated Node #0,2,2: 15:[49, 63] Operation: 73-10=63
Exploring Operation: 10+73=83, Resulting Numbers: [49, 83]
Generated Node #0,2,3: 15:[49, 83] Operation: 10+73=83
Moving to Node #0,1,2
Current State: 15:[15, 1], Operations: ['73-58=15', '10-9=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[10, 58, 9, 73], Operations: []
Exploring Operation: 73-58=15, Resulting Numbers: [10, 9, 15]
Generated Node #0,1: 15:[10, 9, 15] Operation: 73-58=15
Moving to Node #0,1
Current State: 15:[10, 9, 15], Operations: ['73-58=15']
Exploring Operation: 10-9=1, Resulting Numbers: [15, 1]
Generated Node #0,1,2: 15:[15, 1] Operation: 10-9=1
Moving to Node #0,1,2
Current State: 15:[15, 1], Operations: ['73-58=15', '10-9=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.967882 | hs_4 | sum_heuristic |
[
50,
73,
90,
23
] | 10 | [
"50+73=123",
"90+23=113",
"123-113=10"
] | Current State: 10:[50, 73, 90, 23], Operations: []
Exploring Operation: 50+73=123, Resulting Numbers: [90, 23, 123]
Generated Node #2: [90, 23, 123] from Operation: 50+73=123
Current State: 10:[90, 23, 123], Operations: ['50+73=123']
Exploring Operation: 90+23=113, Resulting Numbers: [123, 113]
Generated Node #3: [123, 113] from Operation: 90+23=113
Current State: 10:[123, 113], Operations: ['50+73=123', '90+23=113']
Exploring Operation: 123-113=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[50, 73, 90, 23], Operations: []
Exploring Operation: 73-50=23, Resulting Numbers: [90, 23, 23]
Generated Node #0,0: 10:[90, 23, 23] Operation: 73-50=23
Exploring Operation: 90-73=17, Resulting Numbers: [50, 23, 17]
Generated Node #0,1: 10:[50, 23, 17] Operation: 90-73=17
Exploring Operation: 90-50=40, Resulting Numbers: [73, 23, 40]
Generated Node #0,2: 10:[73, 23, 40] Operation: 90-50=40
Moving to Node #0,1
Current State: 10:[50, 23, 17], Operations: ['90-73=17']
Exploring Operation: 50-23=27, Resulting Numbers: [17, 27]
Generated Node #0,1,0: 10:[17, 27] Operation: 50-23=27
Exploring Operation: 23-17=6, Resulting Numbers: [50, 6]
Generated Node #0,1,1: 10:[50, 6] Operation: 23-17=6
Exploring Operation: 50-17=33, Resulting Numbers: [23, 33]
Generated Node #0,1,2: 10:[23, 33] Operation: 50-17=33
Moving to Node #0,0
Current State: 10:[90, 23, 23], Operations: ['73-50=23']
Exploring Operation: 23/23=1, Resulting Numbers: [90, 1]
Generated Node #0,0,0: 10:[90, 1] Operation: 23/23=1
Exploring Operation: 90-23=67, Resulting Numbers: [23, 67]
Generated Node #0,0,1: 10:[23, 67] Operation: 90-23=67
Exploring Operation: 90-23=67, Resulting Numbers: [23, 67]
Generated Node #0,0,2: 10:[23, 67] Operation: 90-23=67
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[23, 67], Operations: ['73-50=23', '90-23=67']
Exploring Operation: 23*67=1541, Resulting Numbers: [1541]
1541,10 unequal: No Solution
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 23+67=90, Resulting Numbers: [90]
90,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[23, 67], Operations: ['73-50=23', '90-23=67']
Exploring Operation: 23+67=90, Resulting Numbers: [90]
90,10 unequal: No Solution
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 23*67=1541, Resulting Numbers: [1541]
1541,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[90, 1], Operations: ['73-50=23', '23/23=1']
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,10 unequal: No Solution
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,10 unequal: No Solution
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,10 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: 10:[73, 23, 40], Operations: ['90-50=40']
Exploring Operation: 73-40=33, Resulting Numbers: [23, 33]
Generated Node #0,2,0: 10:[23, 33] Operation: 73-40=33
Exploring Operation: 40-23=17, Resulting Numbers: [73, 17]
Generated Node #0,2,1: 10:[73, 17] Operation: 40-23=17
Exploring Operation: 73-23=50, Resulting Numbers: [40, 50]
Generated Node #0,2,2: 10:[40, 50] Operation: 73-23=50
Moving to Node #0,1,0
Current State: 10:[17, 27], Operations: ['90-73=17', '50-23=27']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[50, 73, 90, 23], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [50, 23, 17]
Generated Node #0,1: 10:[50, 23, 17] Operation: 90-73=17
Moving to Node #0,1
Current State: 10:[50, 23, 17], Operations: ['90-73=17']
Exploring Operation: 50-23=27, Resulting Numbers: [17, 27]
Generated Node #0,1,0: 10:[17, 27] Operation: 50-23=27
Moving to Node #0,1,0
Current State: 10:[17, 27], Operations: ['90-73=17', '50-23=27']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
45,
72,
88,
94
] | 41 | [
"94-72=22",
"88/22=4",
"45-4=41"
] | Current State: 41:[45, 72, 88, 94], Operations: []
Exploring Operation: 94-72=22, Resulting Numbers: [45, 88, 22]
Generated Node #2: [45, 88, 22] from Operation: 94-72=22
Current State: 41:[45, 88, 22], Operations: ['94-72=22']
Exploring Operation: 88/22=4, Resulting Numbers: [45, 4]
Generated Node #3: [45, 4] from Operation: 88/22=4
Current State: 41:[45, 4], Operations: ['94-72=22', '88/22=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[45, 72, 88, 94], Operations: []
Exploring Operation: 94-72=22, Resulting Numbers: [45, 88, 22]
Generated Node #0,0: 41:[45, 88, 22] Operation: 94-72=22
Exploring Operation: 94-88=6, Resulting Numbers: [45, 72, 6]
Generated Node #0,1: 41:[45, 72, 6] Operation: 94-88=6
Exploring Operation: 88-72=16, Resulting Numbers: [45, 94, 16]
Generated Node #0,2: 41:[45, 94, 16] Operation: 88-72=16
Exploring Operation: 88-45=43, Resulting Numbers: [72, 94, 43]
Generated Node #0,3: 41:[72, 94, 43] Operation: 88-45=43
Moving to Node #0,0
Current State: 41:[45, 88, 22], Operations: ['94-72=22']
Exploring Operation: 88/22=4, Resulting Numbers: [45, 4]
Generated Node #0,0,0: 41:[45, 4] Operation: 88/22=4
Exploring Operation: 45-22=23, Resulting Numbers: [88, 23]
Generated Node #0,0,1: 41:[88, 23] Operation: 45-22=23
Exploring Operation: 88-45=43, Resulting Numbers: [22, 43]
Generated Node #0,0,2: 41:[22, 43] Operation: 88-45=43
Exploring Operation: 88-22=66, Resulting Numbers: [45, 66]
Generated Node #0,0,3: 41:[45, 66] Operation: 88-22=66
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[22, 43], Operations: ['94-72=22', '88-45=43']
Exploring Operation: 22+43=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 22*43=946, Resulting Numbers: [946]
946,41 unequal: No Solution
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 41:[45, 66], Operations: ['94-72=22', '88-22=66']
Exploring Operation: 66-45=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 45*66=2970, Resulting Numbers: [2970]
2970,41 unequal: No Solution
Exploring Operation: 45+66=111, Resulting Numbers: [111]
111,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[45, 4], Operations: ['94-72=22', '88/22=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[45, 72, 88, 94], Operations: []
Exploring Operation: 94-72=22, Resulting Numbers: [45, 88, 22]
Generated Node #0,0: 41:[45, 88, 22] Operation: 94-72=22
Moving to Node #0,0
Current State: 41:[45, 88, 22], Operations: ['94-72=22']
Exploring Operation: 88/22=4, Resulting Numbers: [45, 4]
Generated Node #0,0,0: 41:[45, 4] Operation: 88/22=4
Moving to Node #0,0,0
Current State: 41:[45, 4], Operations: ['94-72=22', '88/22=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
53,
17,
85,
65
] | 56 | [
"53-17=36",
"85-65=20",
"36+20=56"
] | Current State: 56:[53, 17, 85, 65], Operations: []
Exploring Operation: 53-17=36, Resulting Numbers: [85, 65, 36]
Generated Node #2: [85, 65, 36] from Operation: 53-17=36
Current State: 56:[85, 65, 36], Operations: ['53-17=36']
Exploring Operation: 85-65=20, Resulting Numbers: [36, 20]
Generated Node #3: [36, 20] from Operation: 85-65=20
Current State: 56:[36, 20], Operations: ['53-17=36', '85-65=20']
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[53, 17, 85, 65], Operations: []
Exploring Operation: 85-65=20, Resulting Numbers: [53, 17, 20]
Generated Node #0,0: 56:[53, 17, 20] Operation: 85-65=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[53, 17, 20], Operations: ['85-65=20']
Exploring Operation: 20-17=3, Resulting Numbers: [53, 3]
Generated Node #0,0,0: 56:[53, 3] Operation: 20-17=3
Moving to Node #0,0,0
Current State: 56:[53, 3], Operations: ['85-65=20', '20-17=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[53, 17, 85, 65], Operations: []
Exploring Operation: 85-65=20, Resulting Numbers: [53, 17, 20]
Generated Node #0,0: 56:[53, 17, 20] Operation: 85-65=20
Moving to Node #0,0
Current State: 56:[53, 17, 20], Operations: ['85-65=20']
Exploring Operation: 20-17=3, Resulting Numbers: [53, 3]
Generated Node #0,0,0: 56:[53, 3] Operation: 20-17=3
Moving to Node #0,0,0
Current State: 56:[53, 3], Operations: ['85-65=20', '20-17=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
47,
30,
58,
2
] | 92 | [
"47-30=17",
"2*17=34",
"58+34=92"
] | Current State: 92:[47, 30, 58, 2], Operations: []
Exploring Operation: 47-30=17, Resulting Numbers: [58, 2, 17]
Generated Node #2: [58, 2, 17] from Operation: 47-30=17
Current State: 92:[58, 2, 17], Operations: ['47-30=17']
Exploring Operation: 2*17=34, Resulting Numbers: [58, 34]
Generated Node #3: [58, 34] from Operation: 2*17=34
Current State: 92:[58, 34], Operations: ['47-30=17', '2*17=34']
Exploring Operation: 58+34=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[47, 30, 58, 2], Operations: []
Exploring Operation: 58-30=28, Resulting Numbers: [47, 2, 28]
Generated Node #0,0: 92:[47, 2, 28] Operation: 58-30=28
Exploring Operation: 30+58=88, Resulting Numbers: [47, 2, 88]
Generated Node #0,1: 92:[47, 2, 88] Operation: 30+58=88
Moving to Node #0,1
Current State: 92:[47, 2, 88], Operations: ['30+58=88']
Exploring Operation: 2+88=90, Resulting Numbers: [47, 90]
Generated Node #0,1,0: 92:[47, 90] Operation: 2+88=90
Exploring Operation: 88/2=44, Resulting Numbers: [47, 44]
Generated Node #0,1,1: 92:[47, 44] Operation: 88/2=44
Moving to Node #0,0
Current State: 92:[47, 2, 28], Operations: ['58-30=28']
Exploring Operation: 28-2=26, Resulting Numbers: [47, 26]
Generated Node #0,0,0: 92:[47, 26] Operation: 28-2=26
Exploring Operation: 47-28=19, Resulting Numbers: [2, 19]
Generated Node #0,0,1: 92:[2, 19] Operation: 47-28=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[47, 26], Operations: ['58-30=28', '28-2=26']
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[2, 19], Operations: ['58-30=28', '47-28=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,92 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: 92:[47, 90], Operations: ['30+58=88', '2+88=90']
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 47+90=137, Resulting Numbers: [137]
137,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[47, 44], Operations: ['30+58=88', '88/2=44']
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 47+44=91, Resulting Numbers: [91]
91,92 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
78,
49,
64,
73
] | 10 | [
"78+49=127",
"64+73=137",
"137-127=10"
] | Current State: 10:[78, 49, 64, 73], Operations: []
Exploring Operation: 78+49=127, Resulting Numbers: [64, 73, 127]
Generated Node #2: [64, 73, 127] from Operation: 78+49=127
Current State: 10:[64, 73, 127], Operations: ['78+49=127']
Exploring Operation: 64+73=137, Resulting Numbers: [127, 137]
Generated Node #3: [127, 137] from Operation: 64+73=137
Current State: 10:[127, 137], Operations: ['78+49=127', '64+73=137']
Exploring Operation: 137-127=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[78, 49, 64, 73], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [49, 64, 5]
Generated Node #0,0: 10:[49, 64, 5] Operation: 78-73=5
Exploring Operation: 73-64=9, Resulting Numbers: [78, 49, 9]
Generated Node #0,1: 10:[78, 49, 9] Operation: 73-64=9
Exploring Operation: 78-49=29, Resulting Numbers: [64, 73, 29]
Generated Node #0,2: 10:[64, 73, 29] Operation: 78-49=29
Exploring Operation: 78-64=14, Resulting Numbers: [49, 73, 14]
Generated Node #0,3: 10:[49, 73, 14] Operation: 78-64=14
Exploring Operation: 64-49=15, Resulting Numbers: [78, 73, 15]
Generated Node #0,4: 10:[78, 73, 15] Operation: 64-49=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[49, 64, 5], Operations: ['78-73=5']
Exploring Operation: 64-49=15, Resulting Numbers: [5, 15]
Generated Node #0,0,0: 10:[5, 15] Operation: 64-49=15
Exploring Operation: 64+5=69, Resulting Numbers: [49, 69]
Generated Node #0,0,1: 10:[49, 69] Operation: 64+5=69
Exploring Operation: 64-5=59, Resulting Numbers: [49, 59]
Generated Node #0,0,2: 10:[49, 59] Operation: 64-5=59
Exploring Operation: 49-5=44, Resulting Numbers: [64, 44]
Generated Node #0,0,3: 10:[64, 44] Operation: 49-5=44
Exploring Operation: 49+5=54, Resulting Numbers: [64, 54]
Generated Node #0,0,4: 10:[64, 54] Operation: 49+5=54
Moving to Node #0,0,0
Current State: 10:[5, 15], Operations: ['78-73=5', '64-49=15']
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,10 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[78, 49, 64, 73], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [49, 64, 5]
Generated Node #0,0: 10:[49, 64, 5] Operation: 78-73=5
Moving to Node #0,0
Current State: 10:[49, 64, 5], Operations: ['78-73=5']
Exploring Operation: 64-49=15, Resulting Numbers: [5, 15]
Generated Node #0,0,0: 10:[5, 15] Operation: 64-49=15
Moving to Node #0,0,0
Current State: 10:[5, 15], Operations: ['78-73=5', '64-49=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
56,
2,
16,
80
] | 20 | [
"56-16=40",
"80-40=40",
"40/2=20"
] | Current State: 20:[56, 2, 16, 80], Operations: []
Exploring Operation: 56-16=40, Resulting Numbers: [2, 80, 40]
Generated Node #2: [2, 80, 40] from Operation: 56-16=40
Current State: 20:[2, 80, 40], Operations: ['56-16=40']
Exploring Operation: 80-40=40, Resulting Numbers: [2, 40]
Generated Node #3: [2, 40] from Operation: 80-40=40
Current State: 20:[2, 40], Operations: ['56-16=40', '80-40=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[56, 2, 16, 80], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [2, 16, 24]
Generated Node #0,0: 20:[2, 16, 24] Operation: 80-56=24
Exploring Operation: 80/16=5, Resulting Numbers: [56, 2, 5]
Generated Node #0,1: 20:[56, 2, 5] Operation: 80/16=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[2, 16, 24], Operations: ['80-56=24']
Exploring Operation: 24-16=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 20:[2, 8] Operation: 24-16=8
Exploring Operation: 2+16=18, Resulting Numbers: [24, 18]
Generated Node #0,0,1: 20:[24, 18] Operation: 2+16=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[2, 8], Operations: ['80-56=24', '24-16=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[24, 18], Operations: ['80-56=24', '2+16=18']
Exploring Operation: 24+18=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[56, 2, 5], Operations: ['80/16=5']
Exploring Operation: 56/2=28, Resulting Numbers: [5, 28]
Generated Node #0,1,0: 20:[5, 28] Operation: 56/2=28
Exploring Operation: 56-5=51, Resulting Numbers: [2, 51]
Generated Node #0,1,1: 20:[2, 51] Operation: 56-5=51
Moving to Node #0,1,0
Current State: 20:[5, 28], Operations: ['80/16=5', '56/2=28']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[2, 51], Operations: ['80/16=5', '56-5=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
6,
78,
26
] | 38 | [
"26-6=20",
"2*20=40",
"78-40=38"
] | Current State: 38:[2, 6, 78, 26], Operations: []
Exploring Operation: 26-6=20, Resulting Numbers: [2, 78, 20]
Generated Node #2: [2, 78, 20] from Operation: 26-6=20
Current State: 38:[2, 78, 20], Operations: ['26-6=20']
Exploring Operation: 2*20=40, Resulting Numbers: [78, 40]
Generated Node #3: [78, 40] from Operation: 2*20=40
Current State: 38:[78, 40], Operations: ['26-6=20', '2*20=40']
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[2, 6, 78, 26], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [2, 6, 3]
Generated Node #0,0: 38:[2, 6, 3] Operation: 78/26=3
Exploring Operation: 78/2=39, Resulting Numbers: [6, 26, 39]
Generated Node #0,1: 38:[6, 26, 39] Operation: 78/2=39
Moving to Node #0,0
Current State: 38:[2, 6, 3], Operations: ['78/26=3']
Exploring Operation: 6*3=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 38:[2, 18] Operation: 6*3=18
Exploring Operation: 6/3=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 38:[2, 2] Operation: 6/3=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[2, 2], Operations: ['78/26=3', '6/3=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[2, 18], Operations: ['78/26=3', '6*3=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,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:[6, 26, 39], Operations: ['78/2=39']
Exploring Operation: 6+26=32, Resulting Numbers: [39, 32]
Generated Node #0,1,0: 38:[39, 32] Operation: 6+26=32
Exploring Operation: 26-6=20, Resulting Numbers: [39, 20]
Generated Node #0,1,1: 38:[39, 20] Operation: 26-6=20
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[39, 20], Operations: ['78/2=39', '26-6=20']
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[39, 32], Operations: ['78/2=39', '6+26=32']
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,38 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,38 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 |
[
14,
92,
86,
48
] | 40 | [
"92-14=78",
"86-48=38",
"78-38=40"
] | Current State: 40:[14, 92, 86, 48], Operations: []
Exploring Operation: 92-14=78, Resulting Numbers: [86, 48, 78]
Generated Node #2: [86, 48, 78] from Operation: 92-14=78
Current State: 40:[86, 48, 78], Operations: ['92-14=78']
Exploring Operation: 86-48=38, Resulting Numbers: [78, 38]
Generated Node #3: [78, 38] from Operation: 86-48=38
Current State: 40:[78, 38], Operations: ['92-14=78', '86-48=38']
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[14, 92, 86, 48], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [14, 48, 6]
Generated Node #0,0: 40:[14, 48, 6] Operation: 92-86=6
Moving to Node #0,0
Current State: 40:[14, 48, 6], Operations: ['92-86=6']
Exploring Operation: 48/6=8, Resulting Numbers: [14, 8]
Generated Node #0,0,0: 40:[14, 8] Operation: 48/6=8
Moving to Node #0,0,0
Current State: 40:[14, 8], Operations: ['92-86=6', '48/6=8']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,40 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
50,
7,
96,
50
] | 28 | [
"50+96=146",
"50+146=196",
"196/7=28"
] | Current State: 28:[50, 7, 96, 50], Operations: []
Exploring Operation: 50+96=146, Resulting Numbers: [7, 146]
Generated Node #2: [7, 146] from Operation: 50+96=146
Current State: 28:[7, 146], Operations: ['50+96=146']
Exploring Operation: 50+146=196, Resulting Numbers: [7, 196]
Generated Node #3: [7, 196] from Operation: 50+146=196
Current State: 28:[7, 196], Operations: ['50+96=146', '50+146=196']
Exploring Operation: 196/7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[50, 7, 96, 50], Operations: []
Exploring Operation: 50/50=1, Resulting Numbers: [7, 96, 1]
Generated Node #0,0: 28:[7, 96, 1] Operation: 50/50=1
Exploring Operation: 96-50=46, Resulting Numbers: [7, 50, 46]
Generated Node #0,1: 28:[7, 50, 46] Operation: 96-50=46
Exploring Operation: 50-50=0, Resulting Numbers: [7, 96, 0]
Generated Node #0,2: 28:[7, 96, 0] Operation: 50-50=0
Exploring Operation: 96-50=46, Resulting Numbers: [50, 7, 46]
Generated Node #0,3: 28:[50, 7, 46] Operation: 96-50=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[7, 50, 46], Operations: ['96-50=46']
Exploring Operation: 50-7=43, Resulting Numbers: [46, 43]
Generated Node #0,1,0: 28:[46, 43] Operation: 50-7=43
Exploring Operation: 50-46=4, Resulting Numbers: [7, 4]
Generated Node #0,1,1: 28:[7, 4] Operation: 50-46=4
Exploring Operation: 7+50=57, Resulting Numbers: [46, 57]
Generated Node #0,1,2: 28:[46, 57] Operation: 7+50=57
Exploring Operation: 46-7=39, Resulting Numbers: [50, 39]
Generated Node #0,1,3: 28:[50, 39] Operation: 46-7=39
Moving to Node #0,1,1
Current State: 28:[7, 4], Operations: ['96-50=46', '50-46=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[50, 7, 96, 50], Operations: []
Exploring Operation: 96-50=46, Resulting Numbers: [7, 50, 46]
Generated Node #0,1: 28:[7, 50, 46] Operation: 96-50=46
Moving to Node #0,1
Current State: 28:[7, 50, 46], Operations: ['96-50=46']
Exploring Operation: 50-46=4, Resulting Numbers: [7, 4]
Generated Node #0,1,1: 28:[7, 4] Operation: 50-46=4
Moving to Node #0,1,1
Current State: 28:[7, 4], Operations: ['96-50=46', '50-46=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
68,
97,
99,
43
] | 85 | [
"97-68=29",
"99-43=56",
"29+56=85"
] | Current State: 85:[68, 97, 99, 43], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [99, 43, 29]
Generated Node #2: [99, 43, 29] from Operation: 97-68=29
Current State: 85:[99, 43, 29], Operations: ['97-68=29']
Exploring Operation: 99-43=56, Resulting Numbers: [29, 56]
Generated Node #3: [29, 56] from Operation: 99-43=56
Current State: 85:[29, 56], Operations: ['97-68=29', '99-43=56']
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[68, 97, 99, 43], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [99, 43, 29]
Generated Node #0,0: 85:[99, 43, 29] Operation: 97-68=29
Exploring Operation: 68-43=25, Resulting Numbers: [97, 99, 25]
Generated Node #0,1: 85:[97, 99, 25] Operation: 68-43=25
Exploring Operation: 99-97=2, Resulting Numbers: [68, 43, 2]
Generated Node #0,2: 85:[68, 43, 2] Operation: 99-97=2
Exploring Operation: 99-68=31, Resulting Numbers: [97, 43, 31]
Generated Node #0,3: 85:[97, 43, 31] Operation: 99-68=31
Moving to Node #0,1
Current State: 85:[97, 99, 25], Operations: ['68-43=25']
Exploring Operation: 99-97=2, Resulting Numbers: [25, 2]
Generated Node #0,1,0: 85:[25, 2] Operation: 99-97=2
Exploring Operation: 97+25=122, Resulting Numbers: [99, 122]
Generated Node #0,1,1: 85:[99, 122] Operation: 97+25=122
Exploring Operation: 97-25=72, Resulting Numbers: [99, 72]
Generated Node #0,1,2: 85:[99, 72] Operation: 97-25=72
Exploring Operation: 99-25=74, Resulting Numbers: [97, 74]
Generated Node #0,1,3: 85:[97, 74] Operation: 99-25=74
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[25, 2], Operations: ['68-43=25', '99-97=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,85 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,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,1,3
Current State: 85:[97, 74], Operations: ['68-43=25', '99-25=74']
Exploring Operation: 97*74=7178, Resulting Numbers: [7178]
7178,85 unequal: No Solution
Exploring Operation: 97-74=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 97+74=171, Resulting Numbers: [171]
171,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,1,2
Current State: 85:[99, 72], Operations: ['68-43=25', '97-25=72']
Exploring Operation: 99*72=7128, Resulting Numbers: [7128]
7128,85 unequal: No Solution
Exploring Operation: 99+72=171, Resulting Numbers: [171]
171,85 unequal: No Solution
Exploring Operation: 99-72=27, Resulting Numbers: [27]
27,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,1,1
Current State: 85:[99, 122], Operations: ['68-43=25', '97+25=122']
Exploring Operation: 99*122=12078, Resulting Numbers: [12078]
12078,85 unequal: No Solution
Exploring Operation: 99+122=221, Resulting Numbers: [221]
221,85 unequal: No Solution
Exploring Operation: 122-99=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
Current State: 85:[68, 43, 2], Operations: ['99-97=2']
Exploring Operation: 68+2=70, Resulting Numbers: [43, 70]
Generated Node #0,2,0: 85:[43, 70] Operation: 68+2=70
Exploring Operation: 68+43=111, Resulting Numbers: [2, 111]
Generated Node #0,2,1: 85:[2, 111] Operation: 68+43=111
Exploring Operation: 43*2=86, Resulting Numbers: [68, 86]
Generated Node #0,2,2: 85:[68, 86] Operation: 43*2=86
Exploring Operation: 68-43=25, Resulting Numbers: [2, 25]
Generated Node #0,2,3: 85:[2, 25] Operation: 68-43=25
Moving to Node #0,3
Current State: 85:[97, 43, 31], Operations: ['99-68=31']
Exploring Operation: 43-31=12, Resulting Numbers: [97, 12]
Generated Node #0,3,0: 85:[97, 12] Operation: 43-31=12
Exploring Operation: 97-43=54, Resulting Numbers: [31, 54]
Generated Node #0,3,1: 85:[31, 54] Operation: 97-43=54
Exploring Operation: 43+31=74, Resulting Numbers: [97, 74]
Generated Node #0,3,2: 85:[97, 74] Operation: 43+31=74
Exploring Operation: 97-31=66, Resulting Numbers: [43, 66]
Generated Node #0,3,3: 85:[43, 66] Operation: 97-31=66
Moving to Node #0,0
Current State: 85:[99, 43, 29], Operations: ['97-68=29']
Exploring Operation: 43+29=72, Resulting Numbers: [99, 72]
Generated Node #0,0,0: 85:[99, 72] Operation: 43+29=72
Exploring Operation: 43-29=14, Resulting Numbers: [99, 14]
Generated Node #0,0,1: 85:[99, 14] Operation: 43-29=14
Exploring Operation: 99-29=70, Resulting Numbers: [43, 70]
Generated Node #0,0,2: 85:[43, 70] Operation: 99-29=70
Exploring Operation: 99-43=56, Resulting Numbers: [29, 56]
Generated Node #0,0,3: 85:[29, 56] Operation: 99-43=56
Moving to Node #0,2,3
Current State: 85:[2, 25], Operations: ['99-97=2', '68-43=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,85 unequal: No Solution
Moving to Node #0,3,0
Current State: 85:[97, 12], Operations: ['99-68=31', '43-31=12']
Exploring Operation: 97+12=109, Resulting Numbers: [109]
109,85 unequal: No Solution
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[68, 97, 99, 43], Operations: []
Exploring Operation: 99-68=31, Resulting Numbers: [97, 43, 31]
Generated Node #0,3: 85:[97, 43, 31] Operation: 99-68=31
Moving to Node #0,3
Current State: 85:[97, 43, 31], Operations: ['99-68=31']
Exploring Operation: 43-31=12, Resulting Numbers: [97, 12]
Generated Node #0,3,0: 85:[97, 12] Operation: 43-31=12
Moving to Node #0,3,0
Current State: 85:[97, 12], Operations: ['99-68=31', '43-31=12']
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.96441 | hs_4 | mult_heuristic |
[
36,
16,
10,
60
] | 64 | [
"36+60=96",
"16*10=160",
"160-96=64"
] | Current State: 64:[36, 16, 10, 60], Operations: []
Exploring Operation: 36+60=96, Resulting Numbers: [16, 10, 96]
Generated Node #2: [16, 10, 96] from Operation: 36+60=96
Current State: 64:[16, 10, 96], Operations: ['36+60=96']
Exploring Operation: 16*10=160, Resulting Numbers: [96, 160]
Generated Node #3: [96, 160] from Operation: 16*10=160
Current State: 64:[96, 160], Operations: ['36+60=96', '16*10=160']
Exploring Operation: 160-96=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[36, 16, 10, 60], Operations: []
Exploring Operation: 36-10=26, Resulting Numbers: [16, 60, 26]
Generated Node #0,0: 64:[16, 60, 26] Operation: 36-10=26
Exploring Operation: 60/10=6, Resulting Numbers: [36, 16, 6]
Generated Node #0,1: 64:[36, 16, 6] Operation: 60/10=6
Exploring Operation: 36-16=20, Resulting Numbers: [10, 60, 20]
Generated Node #0,2: 64:[10, 60, 20] Operation: 36-16=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[36, 16, 6], Operations: ['60/10=6']
Exploring Operation: 36/6=6, Resulting Numbers: [16, 6]
Generated Node #0,1,0: 64:[16, 6] Operation: 36/6=6
Exploring Operation: 36-6=30, Resulting Numbers: [16, 30]
Generated Node #0,1,1: 64:[16, 30] Operation: 36-6=30
Exploring Operation: 36-16=20, Resulting Numbers: [6, 20]
Generated Node #0,1,2: 64:[6, 20] Operation: 36-16=20
Moving to Node #0,1,0
Current State: 64:[16, 6], Operations: ['60/10=6', '36/6=6']
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,64 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,64 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[16, 30], Operations: ['60/10=6', '36-6=30']
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,64 unequal: No Solution
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[6, 20], Operations: ['60/10=6', '36-16=20']
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,64 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,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
Current State: 64:[16, 60, 26], Operations: ['36-10=26']
Exploring Operation: 26-16=10, Resulting Numbers: [60, 10]
Generated Node #0,0,0: 64:[60, 10] Operation: 26-16=10
Exploring Operation: 60-26=34, Resulting Numbers: [16, 34]
Generated Node #0,0,1: 64:[16, 34] Operation: 60-26=34
Exploring Operation: 16+26=42, Resulting Numbers: [60, 42]
Generated Node #0,0,2: 64:[60, 42] Operation: 16+26=42
Moving to Node #0,0,1
Current State: 64:[16, 34], Operations: ['36-10=26', '60-26=34']
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,64 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[60, 10], Operations: ['36-10=26', '26-16=10']
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 60+10=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[60, 42], Operations: ['36-10=26', '16+26=42']
Exploring Operation: 60+42=102, Resulting Numbers: [102]
102,64 unequal: No Solution
Exploring Operation: 60*42=2520, Resulting Numbers: [2520]
2520,64 unequal: No Solution
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[10, 60, 20], Operations: ['36-16=20']
Exploring Operation: 60/10=6, Resulting Numbers: [20, 6]
Generated Node #0,2,0: 64:[20, 6] Operation: 60/10=6
Exploring Operation: 60/20=3, Resulting Numbers: [10, 3]
Generated Node #0,2,1: 64:[10, 3] Operation: 60/20=3
Exploring Operation: 20/10=2, Resulting Numbers: [60, 2]
Generated Node #0,2,2: 64:[60, 2] Operation: 20/10=2
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 64:[10, 3], Operations: ['36-16=20', '60/20=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 64:[60, 2], Operations: ['36-16=20', '20/10=2']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 64:[20, 6], Operations: ['36-16=20', '60/10=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
14,
62,
56,
9
] | 68 | [
"62-56=6",
"9*6=54",
"14+54=68"
] | Current State: 68:[14, 62, 56, 9], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [14, 9, 6]
Generated Node #2: [14, 9, 6] from Operation: 62-56=6
Current State: 68:[14, 9, 6], Operations: ['62-56=6']
Exploring Operation: 9*6=54, Resulting Numbers: [14, 54]
Generated Node #3: [14, 54] from Operation: 9*6=54
Current State: 68:[14, 54], Operations: ['62-56=6', '9*6=54']
Exploring Operation: 14+54=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[14, 62, 56, 9], Operations: []
Exploring Operation: 56+9=65, Resulting Numbers: [14, 62, 65]
Generated Node #0,0: 68:[14, 62, 65] Operation: 56+9=65
Exploring Operation: 56/14=4, Resulting Numbers: [62, 9, 4]
Generated Node #0,1: 68:[62, 9, 4] Operation: 56/14=4
Exploring Operation: 62-56=6, Resulting Numbers: [14, 9, 6]
Generated Node #0,2: 68:[14, 9, 6] Operation: 62-56=6
Moving to Node #0,2
Current State: 68:[14, 9, 6], Operations: ['62-56=6']
Exploring Operation: 14-9=5, Resulting Numbers: [6, 5]
Generated Node #0,2,0: 68:[6, 5] Operation: 14-9=5
Exploring Operation: 9-6=3, Resulting Numbers: [14, 3]
Generated Node #0,2,1: 68:[14, 3] Operation: 9-6=3
Exploring Operation: 9+6=15, Resulting Numbers: [14, 15]
Generated Node #0,2,2: 68:[14, 15] Operation: 9+6=15
Moving to Node #0,1
Current State: 68:[62, 9, 4], Operations: ['56/14=4']
Exploring Operation: 62+9=71, Resulting Numbers: [4, 71]
Generated Node #0,1,0: 68:[4, 71] Operation: 62+9=71
Exploring Operation: 62+4=66, Resulting Numbers: [9, 66]
Generated Node #0,1,1: 68:[9, 66] Operation: 62+4=66
Exploring Operation: 9-4=5, Resulting Numbers: [62, 5]
Generated Node #0,1,2: 68:[62, 5] Operation: 9-4=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[4, 71], Operations: ['56/14=4', '62+9=71']
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,68 unequal: No Solution
Exploring Operation: 4*71=284, Resulting Numbers: [284]
284,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[9, 66], Operations: ['56/14=4', '62+4=66']
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,68 unequal: No Solution
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,68 unequal: No Solution
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[62, 5], Operations: ['56/14=4', '9-4=5']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Exploring Operation: 62*5=310, Resulting Numbers: [310]
310,68 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: 68:[14, 62, 65], Operations: ['56+9=65']
Exploring Operation: 14+62=76, Resulting Numbers: [65, 76]
Generated Node #0,0,0: 68:[65, 76] Operation: 14+62=76
Exploring Operation: 65-62=3, Resulting Numbers: [14, 3]
Generated Node #0,0,1: 68:[14, 3] Operation: 65-62=3
Exploring Operation: 62-14=48, Resulting Numbers: [65, 48]
Generated Node #0,0,2: 68:[65, 48] Operation: 62-14=48
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[14, 3], Operations: ['56+9=65', '65-62=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[65, 76], Operations: ['56+9=65', '14+62=76']
Exploring Operation: 65+76=141, Resulting Numbers: [141]
141,68 unequal: No Solution
Exploring Operation: 65*76=4940, Resulting Numbers: [4940]
4940,68 unequal: No Solution
Exploring Operation: 76-65=11, Resulting Numbers: [11]
11,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[65, 48], Operations: ['56+9=65', '62-14=48']
Exploring Operation: 65+48=113, Resulting Numbers: [113]
113,68 unequal: No Solution
Exploring Operation: 65*48=3120, Resulting Numbers: [3120]
3120,68 unequal: No Solution
Exploring Operation: 65-48=17, Resulting Numbers: [17]
17,68 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: 68:[6, 5], Operations: ['62-56=6', '14-9=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[14, 3], Operations: ['62-56=6', '9-6=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[14, 15], Operations: ['62-56=6', '9+6=15']
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,68 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,68 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
14,
69,
4,
43
] | 44 | [
"14+69=83",
"43-4=39",
"83-39=44"
] | Current State: 44:[14, 69, 4, 43], Operations: []
Exploring Operation: 14+69=83, Resulting Numbers: [4, 43, 83]
Generated Node #2: [4, 43, 83] from Operation: 14+69=83
Current State: 44:[4, 43, 83], Operations: ['14+69=83']
Exploring Operation: 43-4=39, Resulting Numbers: [83, 39]
Generated Node #3: [83, 39] from Operation: 43-4=39
Current State: 44:[83, 39], Operations: ['14+69=83', '43-4=39']
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[14, 69, 4, 43], Operations: []
Exploring Operation: 69-14=55, Resulting Numbers: [4, 43, 55]
Generated Node #0,0: 44:[4, 43, 55] Operation: 69-14=55
Exploring Operation: 14+4=18, Resulting Numbers: [69, 43, 18]
Generated Node #0,1: 44:[69, 43, 18] Operation: 14+4=18
Exploring Operation: 14-4=10, Resulting Numbers: [69, 43, 10]
Generated Node #0,2: 44:[69, 43, 10] Operation: 14-4=10
Exploring Operation: 69-43=26, Resulting Numbers: [14, 4, 26]
Generated Node #0,3: 44:[14, 4, 26] Operation: 69-43=26
Exploring Operation: 69-4=65, Resulting Numbers: [14, 43, 65]
Generated Node #0,4: 44:[14, 43, 65] Operation: 69-4=65
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[14, 4, 26], Operations: ['69-43=26']
Exploring Operation: 26-4=22, Resulting Numbers: [14, 22]
Generated Node #0,3,0: 44:[14, 22] Operation: 26-4=22
Exploring Operation: 26-14=12, Resulting Numbers: [4, 12]
Generated Node #0,3,1: 44:[4, 12] Operation: 26-14=12
Exploring Operation: 14-4=10, Resulting Numbers: [26, 10]
Generated Node #0,3,2: 44:[26, 10] Operation: 14-4=10
Exploring Operation: 14+4=18, Resulting Numbers: [26, 18]
Generated Node #0,3,3: 44:[26, 18] Operation: 14+4=18
Exploring Operation: 14+26=40, Resulting Numbers: [4, 40]
Generated Node #0,3,4: 44:[4, 40] Operation: 14+26=40
Moving to Node #0,3,1
Current State: 44:[4, 12], Operations: ['69-43=26', '26-14=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Moving to Node #0,3,0
Current State: 44:[14, 22], Operations: ['69-43=26', '26-4=22']
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,44 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,44 unequal: No Solution
Moving to Node #0,3,4
Current State: 44:[4, 40], Operations: ['69-43=26', '14+26=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[14, 69, 4, 43], Operations: []
Exploring Operation: 69-43=26, Resulting Numbers: [14, 4, 26]
Generated Node #0,3: 44:[14, 4, 26] Operation: 69-43=26
Moving to Node #0,3
Current State: 44:[14, 4, 26], Operations: ['69-43=26']
Exploring Operation: 14+26=40, Resulting Numbers: [4, 40]
Generated Node #0,3,4: 44:[4, 40] Operation: 14+26=40
Moving to Node #0,3,4
Current State: 44:[4, 40], Operations: ['69-43=26', '14+26=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
65,
23,
34,
79
] | 68 | [
"23+79=102",
"102/34=3",
"65+3=68"
] | Current State: 68:[65, 23, 34, 79], Operations: []
Exploring Operation: 23+79=102, Resulting Numbers: [65, 34, 102]
Generated Node #2: [65, 34, 102] from Operation: 23+79=102
Current State: 68:[65, 34, 102], Operations: ['23+79=102']
Exploring Operation: 102/34=3, Resulting Numbers: [65, 3]
Generated Node #3: [65, 3] from Operation: 102/34=3
Current State: 68:[65, 3], Operations: ['23+79=102', '102/34=3']
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[65, 23, 34, 79], Operations: []
Exploring Operation: 65-34=31, Resulting Numbers: [23, 79, 31]
Generated Node #0,0: 68:[23, 79, 31] Operation: 65-34=31
Exploring Operation: 34-23=11, Resulting Numbers: [65, 79, 11]
Generated Node #0,1: 68:[65, 79, 11] Operation: 34-23=11
Exploring Operation: 79-23=56, Resulting Numbers: [65, 34, 56]
Generated Node #0,2: 68:[65, 34, 56] Operation: 79-23=56
Exploring Operation: 79-65=14, Resulting Numbers: [23, 34, 14]
Generated Node #0,3: 68:[23, 34, 14] Operation: 79-65=14
Exploring Operation: 65-23=42, Resulting Numbers: [34, 79, 42]
Generated Node #0,4: 68:[34, 79, 42] Operation: 65-23=42
Moving to Node #0,3
Current State: 68:[23, 34, 14], Operations: ['79-65=14']
Exploring Operation: 23-14=9, Resulting Numbers: [34, 9]
Generated Node #0,3,0: 68:[34, 9] Operation: 23-14=9
Exploring Operation: 34-14=20, Resulting Numbers: [23, 20]
Generated Node #0,3,1: 68:[23, 20] Operation: 34-14=20
Exploring Operation: 23+14=37, Resulting Numbers: [34, 37]
Generated Node #0,3,2: 68:[34, 37] Operation: 23+14=37
Exploring Operation: 23+34=57, Resulting Numbers: [14, 57]
Generated Node #0,3,3: 68:[14, 57] Operation: 23+34=57
Exploring Operation: 34-23=11, Resulting Numbers: [14, 11]
Generated Node #0,3,4: 68:[14, 11] Operation: 34-23=11
Moving to Node #0,2
Current State: 68:[65, 34, 56], Operations: ['79-23=56']
Exploring Operation: 34+56=90, Resulting Numbers: [65, 90]
Generated Node #0,2,0: 68:[65, 90] Operation: 34+56=90
Exploring Operation: 56-34=22, Resulting Numbers: [65, 22]
Generated Node #0,2,1: 68:[65, 22] Operation: 56-34=22
Exploring Operation: 65-34=31, Resulting Numbers: [56, 31]
Generated Node #0,2,2: 68:[56, 31] Operation: 65-34=31
Exploring Operation: 65-56=9, Resulting Numbers: [34, 9]
Generated Node #0,2,3: 68:[34, 9] Operation: 65-56=9
Exploring Operation: 65+34=99, Resulting Numbers: [56, 99]
Generated Node #0,2,4: 68:[56, 99] Operation: 65+34=99
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 68:[34, 9], Operations: ['79-23=56', '65-56=9']
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[65, 22], Operations: ['79-23=56', '56-34=22']
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[56, 31], Operations: ['79-23=56', '65-34=31']
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,68 unequal: No Solution
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[65, 90], Operations: ['79-23=56', '34+56=90']
Exploring Operation: 65*90=5850, Resulting Numbers: [5850]
5850,68 unequal: No Solution
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 65+90=155, Resulting Numbers: [155]
155,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 68:[56, 99], Operations: ['79-23=56', '65+34=99']
Exploring Operation: 56*99=5544, Resulting Numbers: [5544]
5544,68 unequal: No Solution
Exploring Operation: 99-56=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 56+99=155, Resulting Numbers: [155]
155,68 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: 68:[34, 79, 42], Operations: ['65-23=42']
Exploring Operation: 79-34=45, Resulting Numbers: [42, 45]
Generated Node #0,4,0: 68:[42, 45] Operation: 79-34=45
Exploring Operation: 79-42=37, Resulting Numbers: [34, 37]
Generated Node #0,4,1: 68:[34, 37] Operation: 79-42=37
Exploring Operation: 34+79=113, Resulting Numbers: [42, 113]
Generated Node #0,4,2: 68:[42, 113] Operation: 34+79=113
Exploring Operation: 34+42=76, Resulting Numbers: [79, 76]
Generated Node #0,4,3: 68:[79, 76] Operation: 34+42=76
Exploring Operation: 42-34=8, Resulting Numbers: [79, 8]
Generated Node #0,4,4: 68:[79, 8] Operation: 42-34=8
Moving to Node #0,0
Current State: 68:[23, 79, 31], Operations: ['65-34=31']
Exploring Operation: 23+79=102, Resulting Numbers: [31, 102]
Generated Node #0,0,0: 68:[31, 102] Operation: 23+79=102
Exploring Operation: 31-23=8, Resulting Numbers: [79, 8]
Generated Node #0,0,1: 68:[79, 8] Operation: 31-23=8
Exploring Operation: 79-23=56, Resulting Numbers: [31, 56]
Generated Node #0,0,2: 68:[31, 56] Operation: 79-23=56
Exploring Operation: 79-31=48, Resulting Numbers: [23, 48]
Generated Node #0,0,3: 68:[23, 48] Operation: 79-31=48
Exploring Operation: 23+31=54, Resulting Numbers: [79, 54]
Generated Node #0,0,4: 68:[79, 54] Operation: 23+31=54
Moving to Node #0,1
Current State: 68:[65, 79, 11], Operations: ['34-23=11']
Exploring Operation: 79-65=14, Resulting Numbers: [11, 14]
Generated Node #0,1,0: 68:[11, 14] Operation: 79-65=14
Exploring Operation: 79+11=90, Resulting Numbers: [65, 90]
Generated Node #0,1,1: 68:[65, 90] Operation: 79+11=90
Exploring Operation: 65-11=54, Resulting Numbers: [79, 54]
Generated Node #0,1,2: 68:[79, 54] Operation: 65-11=54
Exploring Operation: 79-11=68, Resulting Numbers: [65, 68]
Generated Node #0,1,3: 68:[65, 68] Operation: 79-11=68
Exploring Operation: 65+11=76, Resulting Numbers: [79, 76]
Generated Node #0,1,4: 68:[79, 76] Operation: 65+11=76
Moving to Node #0,3,2
Current State: 68:[34, 37], Operations: ['79-65=14', '23+14=37']
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,68 unequal: No Solution
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Moving to Node #0,4,1
Current State: 68:[34, 37], Operations: ['65-23=42', '79-42=37']
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,68 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[65, 68], Operations: ['34-23=11', '79-11=68']
Exploring Operation: 68-65=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 65+68=133, Resulting Numbers: [133]
133,68 unequal: No Solution
Exploring Operation: 65*68=4420, Resulting Numbers: [4420]
4420,68 unequal: No Solution
Moving to Node #0,3,0
Current State: 68:[34, 9], Operations: ['79-65=14', '23-14=9']
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,68 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Moving to Node #0,3,1
Current State: 68:[23, 20], Operations: ['79-65=14', '34-14=20']
Exploring Operation: 23*20=460, Resulting Numbers: [460]
460,68 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Moving to Node #0,3,4
Current State: 68:[14, 11], Operations: ['79-65=14', '34-23=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[11, 14], Operations: ['34-23=11', '79-65=14']
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,68 unequal: No Solution
Moving to Node #0,3,3
Current State: 68:[14, 57], Operations: ['79-65=14', '23+34=57']
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 14*57=798, Resulting Numbers: [798]
798,68 unequal: No Solution
Exploring Operation: 14+57=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Moving to Node #0,4,4
Current State: 68:[79, 8], Operations: ['65-23=42', '42-34=8']
Exploring Operation: 79*8=632, Resulting Numbers: [632]
632,68 unequal: No Solution
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[31, 56], Operations: ['65-34=31', '79-23=56']
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 31*56=1736, Resulting Numbers: [1736]
1736,68 unequal: No Solution
Exploring Operation: 31+56=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[79, 8], Operations: ['65-34=31', '31-23=8']
Exploring Operation: 79*8=632, Resulting Numbers: [632]
632,68 unequal: No Solution
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Moving to Node #0,4,3
Current State: 68:[79, 76], Operations: ['65-23=42', '34+42=76']
Exploring Operation: 79-76=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 79*76=6004, Resulting Numbers: [6004]
6004,68 unequal: No Solution
Exploring Operation: 79+76=155, Resulting Numbers: [155]
155,68 unequal: No Solution
Moving to Node #0,1,4
Current State: 68:[79, 76], Operations: ['34-23=11', '65+11=76']
Exploring Operation: 79-76=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 79*76=6004, Resulting Numbers: [6004]
6004,68 unequal: No Solution
Exploring Operation: 79+76=155, Resulting Numbers: [155]
155,68 unequal: No Solution
Moving to Node #0,4,0
Current State: 68:[42, 45], Operations: ['65-23=42', '79-34=45']
Exploring Operation: 42+45=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Exploring Operation: 42*45=1890, Resulting Numbers: [1890]
1890,68 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[23, 48], Operations: ['65-34=31', '79-31=48']
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 23*48=1104, Resulting Numbers: [1104]
1104,68 unequal: No Solution
Moving to Node #0,0,4
Current State: 68:[79, 54], Operations: ['65-34=31', '23+31=54']
Exploring Operation: 79*54=4266, Resulting Numbers: [4266]
4266,68 unequal: No Solution
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 79+54=133, Resulting Numbers: [133]
133,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[79, 54], Operations: ['34-23=11', '65-11=54']
Exploring Operation: 79+54=133, Resulting Numbers: [133]
133,68 unequal: No Solution
Exploring Operation: 79*54=4266, Resulting Numbers: [4266]
4266,68 unequal: No Solution
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[65, 90], Operations: ['34-23=11', '79+11=90']
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 65+90=155, Resulting Numbers: [155]
155,68 unequal: No Solution
Exploring Operation: 65*90=5850, Resulting Numbers: [5850]
5850,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[31, 102], Operations: ['65-34=31', '23+79=102']
Exploring Operation: 31+102=133, Resulting Numbers: [133]
133,68 unequal: No Solution
Exploring Operation: 31*102=3162, Resulting Numbers: [3162]
3162,68 unequal: No Solution
Exploring Operation: 102-31=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Moving to Node #0,4,2
Current State: 68:[42, 113], Operations: ['65-23=42', '34+79=113']
Exploring Operation: 42*113=4746, Resulting Numbers: [4746]
4746,68 unequal: No Solution
Exploring Operation: 42+113=155, Resulting Numbers: [155]
155,68 unequal: No Solution
Exploring Operation: 113-42=71, Resulting Numbers: [71]
71,68 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
43,
75,
92,
38
] | 85 | [
"43-38=5",
"92-75=17",
"5*17=85"
] | Current State: 85:[43, 75, 92, 38], Operations: []
Exploring Operation: 43-38=5, Resulting Numbers: [75, 92, 5]
Generated Node #2: [75, 92, 5] from Operation: 43-38=5
Current State: 85:[75, 92, 5], Operations: ['43-38=5']
Exploring Operation: 92-75=17, Resulting Numbers: [5, 17]
Generated Node #3: [5, 17] from Operation: 92-75=17
Current State: 85:[5, 17], Operations: ['43-38=5', '92-75=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[43, 75, 92, 38], Operations: []
Exploring Operation: 43-38=5, Resulting Numbers: [75, 92, 5]
Generated Node #0,0: 85:[75, 92, 5] Operation: 43-38=5
Exploring Operation: 43+38=81, Resulting Numbers: [75, 92, 81]
Generated Node #0,1: 85:[75, 92, 81] Operation: 43+38=81
Exploring Operation: 75-43=32, Resulting Numbers: [92, 38, 32]
Generated Node #0,2: 85:[92, 38, 32] Operation: 75-43=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[75, 92, 5], Operations: ['43-38=5']
Exploring Operation: 92-75=17, Resulting Numbers: [5, 17]
Generated Node #0,0,0: 85:[5, 17] Operation: 92-75=17
Exploring Operation: 75/5=15, Resulting Numbers: [92, 15]
Generated Node #0,0,1: 85:[92, 15] Operation: 75/5=15
Exploring Operation: 75+5=80, Resulting Numbers: [92, 80]
Generated Node #0,0,2: 85:[92, 80] Operation: 75+5=80
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[5, 17], Operations: ['43-38=5', '92-75=17']
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[43, 75, 92, 38], Operations: []
Exploring Operation: 43-38=5, Resulting Numbers: [75, 92, 5]
Generated Node #0,0: 85:[75, 92, 5] Operation: 43-38=5
Moving to Node #0,0
Current State: 85:[75, 92, 5], Operations: ['43-38=5']
Exploring Operation: 92-75=17, Resulting Numbers: [5, 17]
Generated Node #0,0,0: 85:[5, 17] Operation: 92-75=17
Moving to Node #0,0,0
Current State: 85:[5, 17], Operations: ['43-38=5', '92-75=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
28,
43,
12,
60
] | 97 | [
"28*60=1680",
"1680/12=140",
"140-43=97"
] | Current State: 97:[28, 43, 12, 60], Operations: []
Exploring Operation: 28*60=1680, Resulting Numbers: [43, 12, 1680]
Generated Node #2: [43, 12, 1680] from Operation: 28*60=1680
Current State: 97:[43, 12, 1680], Operations: ['28*60=1680']
Exploring Operation: 1680/12=140, Resulting Numbers: [43, 140]
Generated Node #3: [43, 140] from Operation: 1680/12=140
Current State: 97:[43, 140], Operations: ['28*60=1680', '1680/12=140']
Exploring Operation: 140-43=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[28, 43, 12, 60], Operations: []
Exploring Operation: 28+12=40, Resulting Numbers: [43, 60, 40]
Generated Node #0,0: 97:[43, 60, 40] Operation: 28+12=40
Exploring Operation: 28+60=88, Resulting Numbers: [43, 12, 88]
Generated Node #0,1: 97:[43, 12, 88] Operation: 28+60=88
Exploring Operation: 28+43=71, Resulting Numbers: [12, 60, 71]
Generated Node #0,2: 97:[12, 60, 71] Operation: 28+43=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[43, 60, 40], Operations: ['28+12=40']
Exploring Operation: 60+40=100, Resulting Numbers: [43, 100]
Generated Node #0,0,0: 97:[43, 100] Operation: 60+40=100
Exploring Operation: 43+60=103, Resulting Numbers: [40, 103]
Generated Node #0,0,1: 97:[40, 103] Operation: 43+60=103
Exploring Operation: 43+40=83, Resulting Numbers: [60, 83]
Generated Node #0,0,2: 97:[60, 83] Operation: 43+40=83
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[60, 83], Operations: ['28+12=40', '43+40=83']
Exploring Operation: 60+83=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 60*83=4980, Resulting Numbers: [4980]
4980,97 unequal: No Solution
Exploring Operation: 83-60=23, Resulting Numbers: [23]
23,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[43, 100], Operations: ['28+12=40', '60+40=100']
Exploring Operation: 43*100=4300, Resulting Numbers: [4300]
4300,97 unequal: No Solution
Exploring Operation: 43+100=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 100-43=57, Resulting Numbers: [57]
57,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[40, 103], Operations: ['28+12=40', '43+60=103']
Exploring Operation: 103-40=63, Resulting Numbers: [63]
63,97 unequal: No Solution
Exploring Operation: 40+103=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 40*103=4120, Resulting Numbers: [4120]
4120,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[43, 12, 88], Operations: ['28+60=88']
Exploring Operation: 43+12=55, Resulting Numbers: [88, 55]
Generated Node #0,1,0: 97:[88, 55] Operation: 43+12=55
Exploring Operation: 12+88=100, Resulting Numbers: [43, 100]
Generated Node #0,1,1: 97:[43, 100] Operation: 12+88=100
Exploring Operation: 43-12=31, Resulting Numbers: [88, 31]
Generated Node #0,1,2: 97:[88, 31] Operation: 43-12=31
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[88, 55], Operations: ['28+60=88', '43+12=55']
Exploring Operation: 88*55=4840, Resulting Numbers: [4840]
4840,97 unequal: No Solution
Exploring Operation: 88+55=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 88-55=33, Resulting Numbers: [33]
33,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[43, 100], Operations: ['28+60=88', '12+88=100']
Exploring Operation: 43+100=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 43*100=4300, Resulting Numbers: [4300]
4300,97 unequal: No Solution
Exploring Operation: 100-43=57, Resulting Numbers: [57]
57,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[88, 31], Operations: ['28+60=88', '43-12=31']
Exploring Operation: 88+31=119, Resulting Numbers: [119]
119,97 unequal: No Solution
Exploring Operation: 88*31=2728, Resulting Numbers: [2728]
2728,97 unequal: No Solution
Exploring Operation: 88-31=57, Resulting Numbers: [57]
57,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[12, 60, 71], Operations: ['28+43=71']
Exploring Operation: 12+60=72, Resulting Numbers: [71, 72]
Generated Node #0,2,0: 97:[71, 72] Operation: 12+60=72
Exploring Operation: 12+71=83, Resulting Numbers: [60, 83]
Generated Node #0,2,1: 97:[60, 83] Operation: 12+71=83
Exploring Operation: 60-12=48, Resulting Numbers: [71, 48]
Generated Node #0,2,2: 97:[71, 48] Operation: 60-12=48
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[71, 72], Operations: ['28+43=71', '12+60=72']
Exploring Operation: 72-71=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 71+72=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 71*72=5112, Resulting Numbers: [5112]
5112,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[60, 83], Operations: ['28+43=71', '12+71=83']
Exploring Operation: 83-60=23, Resulting Numbers: [23]
23,97 unequal: No Solution
Exploring Operation: 60*83=4980, Resulting Numbers: [4980]
4980,97 unequal: No Solution
Exploring Operation: 60+83=143, Resulting Numbers: [143]
143,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[71, 48], Operations: ['28+43=71', '60-12=48']
Exploring Operation: 71-48=23, Resulting Numbers: [23]
23,97 unequal: No Solution
Exploring Operation: 71*48=3408, Resulting Numbers: [3408]
3408,97 unequal: No Solution
Exploring Operation: 71+48=119, Resulting Numbers: [119]
119,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
94,
3,
12,
99
] | 27 | [
"99-94=5",
"3*5=15",
"12+15=27"
] | Current State: 27:[94, 3, 12, 99], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [3, 12, 5]
Generated Node #2: [3, 12, 5] from Operation: 99-94=5
Current State: 27:[3, 12, 5], Operations: ['99-94=5']
Exploring Operation: 3*5=15, Resulting Numbers: [12, 15]
Generated Node #3: [12, 15] from Operation: 3*5=15
Current State: 27:[12, 15], Operations: ['99-94=5', '3*5=15']
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[94, 3, 12, 99], Operations: []
Exploring Operation: 94-3=91, Resulting Numbers: [12, 99, 91]
Generated Node #0,0: 27:[12, 99, 91] Operation: 94-3=91
Exploring Operation: 94-12=82, Resulting Numbers: [3, 99, 82]
Generated Node #0,1: 27:[3, 99, 82] Operation: 94-12=82
Exploring Operation: 99-12=87, Resulting Numbers: [94, 3, 87]
Generated Node #0,2: 27:[94, 3, 87] Operation: 99-12=87
Exploring Operation: 99-94=5, Resulting Numbers: [3, 12, 5]
Generated Node #0,3: 27:[3, 12, 5] Operation: 99-94=5
Exploring Operation: 99/3=33, Resulting Numbers: [94, 12, 33]
Generated Node #0,4: 27:[94, 12, 33] Operation: 99/3=33
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[3, 12, 5], Operations: ['99-94=5']
Exploring Operation: 12-3=9, Resulting Numbers: [5, 9]
Generated Node #0,3,0: 27:[5, 9] Operation: 12-3=9
Exploring Operation: 5-3=2, Resulting Numbers: [12, 2]
Generated Node #0,3,1: 27:[12, 2] Operation: 5-3=2
Exploring Operation: 12/3=4, Resulting Numbers: [5, 4]
Generated Node #0,3,2: 27:[5, 4] Operation: 12/3=4
Exploring Operation: 3+5=8, Resulting Numbers: [12, 8]
Generated Node #0,3,3: 27:[12, 8] Operation: 3+5=8
Exploring Operation: 12-5=7, Resulting Numbers: [3, 7]
Generated Node #0,3,4: 27:[3, 7] Operation: 12-5=7
Moving to Node #0,3,0
Current State: 27:[5, 9], Operations: ['99-94=5', '12-3=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,27 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Moving to Node #0,3,4
Current State: 27:[3, 7], Operations: ['99-94=5', '12-5=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Moving to Node #0,3,2
Current State: 27:[5, 4], Operations: ['99-94=5', '12/3=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Moving to Node #0,3,1
Current State: 27:[12, 2], Operations: ['99-94=5', '5-3=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Moving to Node #0,3,3
Current State: 27:[12, 8], Operations: ['99-94=5', '3+5=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,27 unequal: No Solution
No 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: 27:[94, 12, 33], Operations: ['99/3=33']
Exploring Operation: 33-12=21, Resulting Numbers: [94, 21]
Generated Node #0,4,0: 27:[94, 21] Operation: 33-12=21
Exploring Operation: 94-33=61, Resulting Numbers: [12, 61]
Generated Node #0,4,1: 27:[12, 61] Operation: 94-33=61
Exploring Operation: 94-12=82, Resulting Numbers: [33, 82]
Generated Node #0,4,2: 27:[33, 82] Operation: 94-12=82
Exploring Operation: 12+33=45, Resulting Numbers: [94, 45]
Generated Node #0,4,3: 27:[94, 45] Operation: 12+33=45
Exploring Operation: 94+12=106, Resulting Numbers: [33, 106]
Generated Node #0,4,4: 27:[33, 106] Operation: 94+12=106
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 27:[12, 61], Operations: ['99/3=33', '94-33=61']
Exploring Operation: 12*61=732, Resulting Numbers: [732]
732,27 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,27 unequal: No Solution
Exploring Operation: 12+61=73, Resulting Numbers: [73]
73,27 unequal: No Solution
No 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: 27:[33, 82], Operations: ['99/3=33', '94-12=82']
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,27 unequal: No Solution
Exploring Operation: 33*82=2706, Resulting Numbers: [2706]
2706,27 unequal: No Solution
Exploring Operation: 33+82=115, Resulting Numbers: [115]
115,27 unequal: No Solution
No 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: 27:[94, 21], Operations: ['99/3=33', '33-12=21']
Exploring Operation: 94+21=115, Resulting Numbers: [115]
115,27 unequal: No Solution
Exploring Operation: 94*21=1974, Resulting Numbers: [1974]
1974,27 unequal: No Solution
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,27 unequal: No Solution
No 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: 27:[94, 45], Operations: ['99/3=33', '12+33=45']
Exploring Operation: 94*45=4230, Resulting Numbers: [4230]
4230,27 unequal: No Solution
Exploring Operation: 94+45=139, Resulting Numbers: [139]
139,27 unequal: No Solution
Exploring Operation: 94-45=49, Resulting Numbers: [49]
49,27 unequal: No Solution
No 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: 27:[33, 106], Operations: ['99/3=33', '94+12=106']
Exploring Operation: 33+106=139, Resulting Numbers: [139]
139,27 unequal: No Solution
Exploring Operation: 33*106=3498, Resulting Numbers: [3498]
3498,27 unequal: No Solution
Exploring Operation: 106-33=73, Resulting Numbers: [73]
73,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[3, 99, 82], Operations: ['94-12=82']
Exploring Operation: 99-82=17, Resulting Numbers: [3, 17]
Generated Node #0,1,0: 27:[3, 17] Operation: 99-82=17
Exploring Operation: 99/3=33, Resulting Numbers: [82, 33]
Generated Node #0,1,1: 27:[82, 33] Operation: 99/3=33
Exploring Operation: 82-3=79, Resulting Numbers: [99, 79]
Generated Node #0,1,2: 27:[99, 79] Operation: 82-3=79
Exploring Operation: 99-3=96, Resulting Numbers: [82, 96]
Generated Node #0,1,3: 27:[82, 96] Operation: 99-3=96
Exploring Operation: 3+99=102, Resulting Numbers: [82, 102]
Generated Node #0,1,4: 27:[82, 102] Operation: 3+99=102
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[3, 17], Operations: ['94-12=82', '99-82=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,27 unequal: No Solution
No 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: 27:[82, 33], Operations: ['94-12=82', '99/3=33']
Exploring Operation: 82*33=2706, Resulting Numbers: [2706]
2706,27 unequal: No Solution
Exploring Operation: 82+33=115, Resulting Numbers: [115]
115,27 unequal: No Solution
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,27 unequal: No Solution
No 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: 27:[99, 79], Operations: ['94-12=82', '82-3=79']
Exploring Operation: 99+79=178, Resulting Numbers: [178]
178,27 unequal: No Solution
Exploring Operation: 99-79=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 99*79=7821, Resulting Numbers: [7821]
7821,27 unequal: No Solution
No 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: 27:[82, 96], Operations: ['94-12=82', '99-3=96']
Exploring Operation: 82+96=178, Resulting Numbers: [178]
178,27 unequal: No Solution
Exploring Operation: 82*96=7872, Resulting Numbers: [7872]
7872,27 unequal: No Solution
Exploring Operation: 96-82=14, Resulting Numbers: [14]
14,27 unequal: No Solution
No 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: 27:[82, 102], Operations: ['94-12=82', '3+99=102']
Exploring Operation: 102-82=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 82*102=8364, Resulting Numbers: [8364]
8364,27 unequal: No Solution
Exploring Operation: 82+102=184, Resulting Numbers: [184]
184,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[94, 3, 87], Operations: ['99-12=87']
Exploring Operation: 94-3=91, Resulting Numbers: [87, 91]
Generated Node #0,2,0: 27:[87, 91] Operation: 94-3=91
Exploring Operation: 87/3=29, Resulting Numbers: [94, 29]
Generated Node #0,2,1: 27:[94, 29] Operation: 87/3=29
Exploring Operation: 87-3=84, Resulting Numbers: [94, 84]
Generated Node #0,2,2: 27:[94, 84] Operation: 87-3=84
Exploring Operation: 94-87=7, Resulting Numbers: [3, 7]
Generated Node #0,2,3: 27:[3, 7] Operation: 94-87=7
Exploring Operation: 94+3=97, Resulting Numbers: [87, 97]
Generated Node #0,2,4: 27:[87, 97] Operation: 94+3=97
Moving to Node #0,2,3
Current State: 27:[3, 7], Operations: ['99-12=87', '94-87=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[94, 29], Operations: ['99-12=87', '87/3=29']
Exploring Operation: 94*29=2726, Resulting Numbers: [2726]
2726,27 unequal: No Solution
Exploring Operation: 94+29=123, Resulting Numbers: [123]
123,27 unequal: No Solution
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[87, 91], Operations: ['99-12=87', '94-3=91']
Exploring Operation: 91-87=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 87*91=7917, Resulting Numbers: [7917]
7917,27 unequal: No Solution
Exploring Operation: 87+91=178, Resulting Numbers: [178]
178,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[94, 84], Operations: ['99-12=87', '87-3=84']
Exploring Operation: 94+84=178, Resulting Numbers: [178]
178,27 unequal: No Solution
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 94*84=7896, Resulting Numbers: [7896]
7896,27 unequal: No Solution
Moving to Node #0,2,4
Current State: 27:[87, 97], Operations: ['99-12=87', '94+3=97']
Exploring Operation: 97-87=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 87*97=8439, Resulting Numbers: [8439]
8439,27 unequal: No Solution
Exploring Operation: 87+97=184, Resulting Numbers: [184]
184,27 unequal: No Solution
No 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: 27:[12, 99, 91], Operations: ['94-3=91']
Exploring Operation: 12+91=103, Resulting Numbers: [99, 103]
Generated Node #0,0,0: 27:[99, 103] Operation: 12+91=103
Exploring Operation: 99-91=8, Resulting Numbers: [12, 8]
Generated Node #0,0,1: 27:[12, 8] Operation: 99-91=8
Exploring Operation: 99-12=87, Resulting Numbers: [91, 87]
Generated Node #0,0,2: 27:[91, 87] Operation: 99-12=87
Exploring Operation: 12+99=111, Resulting Numbers: [91, 111]
Generated Node #0,0,3: 27:[91, 111] Operation: 12+99=111
Exploring Operation: 91-12=79, Resulting Numbers: [99, 79]
Generated Node #0,0,4: 27:[99, 79] Operation: 91-12=79
Moving to Node #0,0,1
Current State: 27:[12, 8], Operations: ['94-3=91', '99-91=8']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Moving to Node #0,0,4
Current State: 27:[99, 79], Operations: ['94-3=91', '91-12=79']
Exploring Operation: 99*79=7821, Resulting Numbers: [7821]
7821,27 unequal: No Solution
Exploring Operation: 99-79=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 99+79=178, Resulting Numbers: [178]
178,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[91, 87], Operations: ['94-3=91', '99-12=87']
Exploring Operation: 91-87=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 91+87=178, Resulting Numbers: [178]
178,27 unequal: No Solution
Exploring Operation: 91*87=7917, Resulting Numbers: [7917]
7917,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[99, 103], Operations: ['94-3=91', '12+91=103']
Exploring Operation: 103-99=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 99*103=10197, Resulting Numbers: [10197]
10197,27 unequal: No Solution
Exploring Operation: 99+103=202, Resulting Numbers: [202]
202,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[91, 111], Operations: ['94-3=91', '12+99=111']
Exploring Operation: 91+111=202, Resulting Numbers: [202]
202,27 unequal: No Solution
Exploring Operation: 91*111=10101, Resulting Numbers: [10101]
10101,27 unequal: No Solution
Exploring Operation: 111-91=20, Resulting Numbers: [20]
20,27 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 |
[
25,
46,
50,
22
] | 66 | [
"50/25=2",
"46+22=68",
"68-2=66"
] | Current State: 66:[25, 46, 50, 22], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [46, 22, 2]
Generated Node #2: [46, 22, 2] from Operation: 50/25=2
Current State: 66:[46, 22, 2], Operations: ['50/25=2']
Exploring Operation: 46+22=68, Resulting Numbers: [2, 68]
Generated Node #3: [2, 68] from Operation: 46+22=68
Current State: 66:[2, 68], Operations: ['50/25=2', '46+22=68']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[25, 46, 50, 22], Operations: []
Exploring Operation: 50-46=4, Resulting Numbers: [25, 22, 4]
Generated Node #0,0: 66:[25, 22, 4] Operation: 50-46=4
Moving to Node #0,0
Current State: 66:[25, 22, 4], Operations: ['50-46=4']
Exploring Operation: 25-22=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 66:[4, 3] Operation: 25-22=3
Moving to Node #0,0,0
Current State: 66:[4, 3], Operations: ['50-46=4', '25-22=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,66 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
22,
44,
71,
63
] | 30 | [
"44-22=22",
"71-63=8",
"22+8=30"
] | Current State: 30:[22, 44, 71, 63], Operations: []
Exploring Operation: 44-22=22, Resulting Numbers: [71, 63, 22]
Generated Node #2: [71, 63, 22] from Operation: 44-22=22
Current State: 30:[71, 63, 22], Operations: ['44-22=22']
Exploring Operation: 71-63=8, Resulting Numbers: [22, 8]
Generated Node #3: [22, 8] from Operation: 71-63=8
Current State: 30:[22, 8], Operations: ['44-22=22', '71-63=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[22, 44, 71, 63], Operations: []
Exploring Operation: 63-44=19, Resulting Numbers: [22, 71, 19]
Generated Node #0,0: 30:[22, 71, 19] Operation: 63-44=19
Exploring Operation: 71-63=8, Resulting Numbers: [22, 44, 8]
Generated Node #0,1: 30:[22, 44, 8] Operation: 71-63=8
Exploring Operation: 71-44=27, Resulting Numbers: [22, 63, 27]
Generated Node #0,2: 30:[22, 63, 27] Operation: 71-44=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[22, 44, 8], Operations: ['71-63=8']
Exploring Operation: 44/22=2, Resulting Numbers: [8, 2]
Generated Node #0,1,0: 30:[8, 2] Operation: 44/22=2
Exploring Operation: 44-22=22, Resulting Numbers: [8, 22]
Generated Node #0,1,1: 30:[8, 22] Operation: 44-22=22
Exploring Operation: 44-8=36, Resulting Numbers: [22, 36]
Generated Node #0,1,2: 30:[22, 36] Operation: 44-8=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[8, 2], Operations: ['71-63=8', '44/22=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[8, 22], Operations: ['71-63=8', '44-22=22']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,30 unequal: No Solution
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[22, 44, 71, 63], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [22, 44, 8]
Generated Node #0,1: 30:[22, 44, 8] Operation: 71-63=8
Moving to Node #0,1
Current State: 30:[22, 44, 8], Operations: ['71-63=8']
Exploring Operation: 44-22=22, Resulting Numbers: [8, 22]
Generated Node #0,1,1: 30:[8, 22] Operation: 44-22=22
Moving to Node #0,1,1
Current State: 30:[8, 22], Operations: ['71-63=8', '44-22=22']
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
2,
9,
4,
93
] | 75 | [
"4-2=2",
"9*2=18",
"93-18=75"
] | Current State: 75:[2, 9, 4, 93], Operations: []
Exploring Operation: 4-2=2, Resulting Numbers: [9, 93, 2]
Generated Node #2: [9, 93, 2] from Operation: 4-2=2
Current State: 75:[9, 93, 2], Operations: ['4-2=2']
Exploring Operation: 9*2=18, Resulting Numbers: [93, 18]
Generated Node #3: [93, 18] from Operation: 9*2=18
Current State: 75:[93, 18], Operations: ['4-2=2', '9*2=18']
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[2, 9, 4, 93], Operations: []
Exploring Operation: 93-4=89, Resulting Numbers: [2, 9, 89]
Generated Node #0,0: 75:[2, 9, 89] Operation: 93-4=89
Exploring Operation: 9-4=5, Resulting Numbers: [2, 93, 5]
Generated Node #0,1: 75:[2, 93, 5] Operation: 9-4=5
Exploring Operation: 9-2=7, Resulting Numbers: [4, 93, 7]
Generated Node #0,2: 75:[4, 93, 7] Operation: 9-2=7
Exploring Operation: 93-9=84, Resulting Numbers: [2, 4, 84]
Generated Node #0,3: 75:[2, 4, 84] Operation: 93-9=84
Exploring Operation: 93-2=91, Resulting Numbers: [9, 4, 91]
Generated Node #0,4: 75:[9, 4, 91] Operation: 93-2=91
Moving to Node #0,3
Current State: 75:[2, 4, 84], Operations: ['93-9=84']
Exploring Operation: 4-2=2, Resulting Numbers: [84, 2]
Generated Node #0,3,0: 75:[84, 2] Operation: 4-2=2
Exploring Operation: 2+4=6, Resulting Numbers: [84, 6]
Generated Node #0,3,1: 75:[84, 6] Operation: 2+4=6
Exploring Operation: 84/4=21, Resulting Numbers: [2, 21]
Generated Node #0,3,2: 75:[2, 21] Operation: 84/4=21
Exploring Operation: 84-2=82, Resulting Numbers: [4, 82]
Generated Node #0,3,3: 75:[4, 82] Operation: 84-2=82
Exploring Operation: 84-4=80, Resulting Numbers: [2, 80]
Generated Node #0,3,4: 75:[2, 80] Operation: 84-4=80
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 75:[2, 21], Operations: ['93-9=84', '84/4=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,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,3,4
Current State: 75:[2, 80], Operations: ['93-9=84', '84-4=80']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 2*80=160, Resulting Numbers: [160]
160,75 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,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,3,3
Current State: 75:[4, 82], Operations: ['93-9=84', '84-2=82']
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 4*82=328, Resulting Numbers: [328]
328,75 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,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,3,0
Current State: 75:[84, 2], Operations: ['93-9=84', '4-2=2']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,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,3,1
Current State: 75:[84, 6], Operations: ['93-9=84', '2+4=6']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 84*6=504, Resulting Numbers: [504]
504,75 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,75 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: 75:[2, 93, 5], Operations: ['9-4=5']
Exploring Operation: 2+93=95, Resulting Numbers: [5, 95]
Generated Node #0,1,0: 75:[5, 95] Operation: 2+93=95
Exploring Operation: 93-5=88, Resulting Numbers: [2, 88]
Generated Node #0,1,1: 75:[2, 88] Operation: 93-5=88
Exploring Operation: 2+5=7, Resulting Numbers: [93, 7]
Generated Node #0,1,2: 75:[93, 7] Operation: 2+5=7
Exploring Operation: 93-2=91, Resulting Numbers: [5, 91]
Generated Node #0,1,3: 75:[5, 91] Operation: 93-2=91
Exploring Operation: 5-2=3, Resulting Numbers: [93, 3]
Generated Node #0,1,4: 75:[93, 3] Operation: 5-2=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[2, 88], Operations: ['9-4=5', '93-5=88']
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 2*88=176, Resulting Numbers: [176]
176,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 75:[5, 91], Operations: ['9-4=5', '93-2=91']
Exploring Operation: 5*91=455, Resulting Numbers: [455]
455,75 unequal: No Solution
Exploring Operation: 5+91=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 75:[93, 3], Operations: ['9-4=5', '5-2=3']
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,75 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[5, 95], Operations: ['9-4=5', '2+93=95']
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 5*95=475, Resulting Numbers: [475]
475,75 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 5+95=100, Resulting Numbers: [100]
100,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[93, 7], Operations: ['9-4=5', '2+5=7']
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 93*7=651, Resulting Numbers: [651]
651,75 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: 75:[2, 9, 89], Operations: ['93-4=89']
Exploring Operation: 9-2=7, Resulting Numbers: [89, 7]
Generated Node #0,0,0: 75:[89, 7] Operation: 9-2=7
Exploring Operation: 2+9=11, Resulting Numbers: [89, 11]
Generated Node #0,0,1: 75:[89, 11] Operation: 2+9=11
Exploring Operation: 89-9=80, Resulting Numbers: [2, 80]
Generated Node #0,0,2: 75:[2, 80] Operation: 89-9=80
Exploring Operation: 89-2=87, Resulting Numbers: [9, 87]
Generated Node #0,0,3: 75:[9, 87] Operation: 89-2=87
Exploring Operation: 2*9=18, Resulting Numbers: [89, 18]
Generated Node #0,0,4: 75:[89, 18] Operation: 2*9=18
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[2, 80], Operations: ['93-4=89', '89-9=80']
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 2*80=160, Resulting Numbers: [160]
160,75 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,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,0,0
Current State: 75:[89, 7], Operations: ['93-4=89', '9-2=7']
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,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,0,3
Current State: 75:[9, 87], Operations: ['93-4=89', '89-2=87']
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 9+87=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 9*87=783, Resulting Numbers: [783]
783,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,0,4
Current State: 75:[89, 18], Operations: ['93-4=89', '2*9=18']
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 89*18=1602, Resulting Numbers: [1602]
1602,75 unequal: No Solution
Exploring Operation: 89+18=107, Resulting Numbers: [107]
107,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,0,1
Current State: 75:[89, 11], Operations: ['93-4=89', '2+9=11']
Exploring Operation: 89-11=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 89+11=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 89*11=979, Resulting Numbers: [979]
979,75 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: 75:[4, 93, 7], Operations: ['9-2=7']
Exploring Operation: 93-4=89, Resulting Numbers: [7, 89]
Generated Node #0,2,0: 75:[7, 89] Operation: 93-4=89
Exploring Operation: 4+7=11, Resulting Numbers: [93, 11]
Generated Node #0,2,1: 75:[93, 11] Operation: 4+7=11
Exploring Operation: 4*7=28, Resulting Numbers: [93, 28]
Generated Node #0,2,2: 75:[93, 28] Operation: 4*7=28
Exploring Operation: 7-4=3, Resulting Numbers: [93, 3]
Generated Node #0,2,3: 75:[93, 3] Operation: 7-4=3
Exploring Operation: 93-7=86, Resulting Numbers: [4, 86]
Generated Node #0,2,4: 75:[4, 86] Operation: 93-7=86
Moving to Node #0,4
Current State: 75:[9, 4, 91], Operations: ['93-2=91']
Exploring Operation: 4+91=95, Resulting Numbers: [9, 95]
Generated Node #0,4,0: 75:[9, 95] Operation: 4+91=95
Exploring Operation: 9-4=5, Resulting Numbers: [91, 5]
Generated Node #0,4,1: 75:[91, 5] Operation: 9-4=5
Exploring Operation: 91-9=82, Resulting Numbers: [4, 82]
Generated Node #0,4,2: 75:[4, 82] Operation: 91-9=82
Exploring Operation: 91-4=87, Resulting Numbers: [9, 87]
Generated Node #0,4,3: 75:[9, 87] Operation: 91-4=87
Exploring Operation: 9+4=13, Resulting Numbers: [91, 13]
Generated Node #0,4,4: 75:[91, 13] Operation: 9+4=13
Moving to Node #0,4,2
Current State: 75:[4, 82], Operations: ['93-2=91', '91-9=82']
Exploring Operation: 4*82=328, Resulting Numbers: [328]
328,75 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[4, 86], Operations: ['9-2=7', '93-7=86']
Exploring Operation: 4*86=344, Resulting Numbers: [344]
344,75 unequal: No Solution
Exploring Operation: 4+86=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Moving to Node #0,4,1
Current State: 75:[91, 5], Operations: ['93-2=91', '9-4=5']
Exploring Operation: 91*5=455, Resulting Numbers: [455]
455,75 unequal: No Solution
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[7, 89], Operations: ['9-2=7', '93-4=89']
Exploring Operation: 7*89=623, Resulting Numbers: [623]
623,75 unequal: No Solution
Exploring Operation: 7+89=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Moving to Node #0,4,3
Current State: 75:[9, 87], Operations: ['93-2=91', '91-4=87']
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 9+87=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 9*87=783, Resulting Numbers: [783]
783,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[93, 3], Operations: ['9-2=7', '7-4=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,75 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Moving to Node #0,4,4
Current State: 75:[91, 13], Operations: ['93-2=91', '9+4=13']
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 91+13=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Exploring Operation: 91*13=1183, Resulting Numbers: [1183]
1183,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[93, 28], Operations: ['9-2=7', '4*7=28']
Exploring Operation: 93+28=121, Resulting Numbers: [121]
121,75 unequal: No Solution
Exploring Operation: 93*28=2604, Resulting Numbers: [2604]
2604,75 unequal: No Solution
Exploring Operation: 93-28=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[93, 11], Operations: ['9-2=7', '4+7=11']
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 93*11=1023, Resulting Numbers: [1023]
1023,75 unequal: No Solution
Exploring Operation: 93+11=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Moving to Node #0,4,0
Current State: 75:[9, 95], Operations: ['93-2=91', '4+91=95']
Exploring Operation: 9*95=855, Resulting Numbers: [855]
855,75 unequal: No Solution
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 9+95=104, Resulting Numbers: [104]
104,75 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
35,
74,
4,
5
] | 11 | [
"74-35=39",
"5+39=44",
"44/4=11"
] | Current State: 11:[35, 74, 4, 5], Operations: []
Exploring Operation: 74-35=39, Resulting Numbers: [4, 5, 39]
Generated Node #2: [4, 5, 39] from Operation: 74-35=39
Current State: 11:[4, 5, 39], Operations: ['74-35=39']
Exploring Operation: 5+39=44, Resulting Numbers: [4, 44]
Generated Node #3: [4, 44] from Operation: 5+39=44
Current State: 11:[4, 44], Operations: ['74-35=39', '5+39=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[35, 74, 4, 5], Operations: []
Exploring Operation: 35/5=7, Resulting Numbers: [74, 4, 7]
Generated Node #0,0: 11:[74, 4, 7] Operation: 35/5=7
Exploring Operation: 74-35=39, Resulting Numbers: [4, 5, 39]
Generated Node #0,1: 11:[4, 5, 39] Operation: 74-35=39
Exploring Operation: 74-4=70, Resulting Numbers: [35, 5, 70]
Generated Node #0,2: 11:[35, 5, 70] Operation: 74-4=70
Exploring Operation: 35-5=30, Resulting Numbers: [74, 4, 30]
Generated Node #0,3: 11:[74, 4, 30] Operation: 35-5=30
Exploring Operation: 35-4=31, Resulting Numbers: [74, 5, 31]
Generated Node #0,4: 11:[74, 5, 31] Operation: 35-4=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[4, 5, 39], Operations: ['74-35=39']
Exploring Operation: 5-4=1, Resulting Numbers: [39, 1]
Generated Node #0,1,0: 11:[39, 1] Operation: 5-4=1
Exploring Operation: 4*5=20, Resulting Numbers: [39, 20]
Generated Node #0,1,1: 11:[39, 20] Operation: 4*5=20
Exploring Operation: 4+5=9, Resulting Numbers: [39, 9]
Generated Node #0,1,2: 11:[39, 9] Operation: 4+5=9
Exploring Operation: 39-4=35, Resulting Numbers: [5, 35]
Generated Node #0,1,3: 11:[5, 35] Operation: 39-4=35
Exploring Operation: 39-5=34, Resulting Numbers: [4, 34]
Generated Node #0,1,4: 11:[4, 34] Operation: 39-5=34
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 11:[39, 9], Operations: ['74-35=39', '4+5=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,11 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,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,3
Current State: 11:[5, 35], Operations: ['74-35=39', '39-4=35']
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,11 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,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,4
Current State: 11:[4, 34], Operations: ['74-35=39', '39-5=34']
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,11 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,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,1
Current State: 11:[39, 20], Operations: ['74-35=39', '4*5=20']
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,11 unequal: No Solution
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,11 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,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,0
Current State: 11:[39, 1], Operations: ['74-35=39', '5-4=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,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:[74, 4, 7], Operations: ['35/5=7']
Exploring Operation: 74-4=70, Resulting Numbers: [7, 70]
Generated Node #0,0,0: 11:[7, 70] Operation: 74-4=70
Exploring Operation: 7-4=3, Resulting Numbers: [74, 3]
Generated Node #0,0,1: 11:[74, 3] Operation: 7-4=3
Exploring Operation: 74+4=78, Resulting Numbers: [7, 78]
Generated Node #0,0,2: 11:[7, 78] Operation: 74+4=78
Exploring Operation: 4+7=11, Resulting Numbers: [74, 11]
Generated Node #0,0,3: 11:[74, 11] Operation: 4+7=11
Exploring Operation: 74-7=67, Resulting Numbers: [4, 67]
Generated Node #0,0,4: 11:[4, 67] Operation: 74-7=67
Moving to Node #0,0,0
Current State: 11:[7, 70], Operations: ['35/5=7', '74-4=70']
Exploring Operation: 7*70=490, Resulting Numbers: [490]
490,11 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 7+70=77, Resulting Numbers: [77]
77,11 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,11 unequal: No Solution
Moving to Node #0,0,4
Current State: 11:[4, 67], Operations: ['35/5=7', '74-7=67']
Exploring Operation: 4*67=268, Resulting Numbers: [268]
268,11 unequal: No Solution
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,11 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[74, 11], Operations: ['35/5=7', '4+7=11']
Exploring Operation: 74*11=814, Resulting Numbers: [814]
814,11 unequal: No Solution
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,11 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[74, 3], Operations: ['35/5=7', '7-4=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,11 unequal: No Solution
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,11 unequal: No Solution
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[7, 78], Operations: ['35/5=7', '74+4=78']
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,11 unequal: No Solution
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,11 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[35, 5, 70], Operations: ['74-4=70']
Exploring Operation: 70-35=35, Resulting Numbers: [5, 35]
Generated Node #0,2,0: 11:[5, 35] Operation: 70-35=35
Exploring Operation: 35-5=30, Resulting Numbers: [70, 30]
Generated Node #0,2,1: 11:[70, 30] Operation: 35-5=30
Exploring Operation: 70/35=2, Resulting Numbers: [5, 2]
Generated Node #0,2,2: 11:[5, 2] Operation: 70/35=2
Exploring Operation: 70/5=14, Resulting Numbers: [35, 14]
Generated Node #0,2,3: 11:[35, 14] Operation: 70/5=14
Exploring Operation: 35/5=7, Resulting Numbers: [70, 7]
Generated Node #0,2,4: 11:[70, 7] Operation: 35/5=7
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 11:[5, 2], Operations: ['74-4=70', '70/35=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,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,3
Current State: 11:[35, 14], Operations: ['74-4=70', '70/5=14']
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,11 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 35*14=490, Resulting Numbers: [490]
490,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:[5, 35], Operations: ['74-4=70', '70-35=35']
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,11 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,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,4
Current State: 11:[70, 7], Operations: ['74-4=70', '35/5=7']
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,11 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 70*7=490, Resulting Numbers: [490]
490,11 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,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,1
Current State: 11:[70, 30], Operations: ['74-4=70', '35-5=30']
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 70*30=2100, Resulting Numbers: [2100]
2100,11 unequal: No Solution
Exploring Operation: 70+30=100, Resulting Numbers: [100]
100,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,3
Current State: 11:[74, 4, 30], Operations: ['35-5=30']
Exploring Operation: 74-4=70, Resulting Numbers: [30, 70]
Generated Node #0,3,0: 11:[30, 70] Operation: 74-4=70
Exploring Operation: 30-4=26, Resulting Numbers: [74, 26]
Generated Node #0,3,1: 11:[74, 26] Operation: 30-4=26
Exploring Operation: 74+4=78, Resulting Numbers: [30, 78]
Generated Node #0,3,2: 11:[30, 78] Operation: 74+4=78
Exploring Operation: 4+30=34, Resulting Numbers: [74, 34]
Generated Node #0,3,3: 11:[74, 34] Operation: 4+30=34
Exploring Operation: 74-30=44, Resulting Numbers: [4, 44]
Generated Node #0,3,4: 11:[4, 44] Operation: 74-30=44
Moving to Node #0,3,4
Current State: 11:[4, 44], Operations: ['35-5=30', '74-30=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[35, 74, 4, 5], Operations: []
Exploring Operation: 35-5=30, Resulting Numbers: [74, 4, 30]
Generated Node #0,3: 11:[74, 4, 30] Operation: 35-5=30
Moving to Node #0,3
Current State: 11:[74, 4, 30], Operations: ['35-5=30']
Exploring Operation: 74-30=44, Resulting Numbers: [4, 44]
Generated Node #0,3,4: 11:[4, 44] Operation: 74-30=44
Moving to Node #0,3,4
Current State: 11:[4, 44], Operations: ['35-5=30', '74-30=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.930556 | hs_5 | sum_heuristic |
[
64,
96,
11,
71
] | 24 | [
"64+11=75",
"75-71=4",
"96/4=24"
] | Current State: 24:[64, 96, 11, 71], Operations: []
Exploring Operation: 64+11=75, Resulting Numbers: [96, 71, 75]
Generated Node #2: [96, 71, 75] from Operation: 64+11=75
Current State: 24:[96, 71, 75], Operations: ['64+11=75']
Exploring Operation: 75-71=4, Resulting Numbers: [96, 4]
Generated Node #3: [96, 4] from Operation: 75-71=4
Current State: 24:[96, 4], Operations: ['64+11=75', '75-71=4']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[64, 96, 11, 71], Operations: []
Exploring Operation: 96-71=25, Resulting Numbers: [64, 11, 25]
Generated Node #0,0: 24:[64, 11, 25] Operation: 96-71=25
Exploring Operation: 96-64=32, Resulting Numbers: [11, 71, 32]
Generated Node #0,1: 24:[11, 71, 32] Operation: 96-64=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[64, 11, 25], Operations: ['96-71=25']
Exploring Operation: 64-25=39, Resulting Numbers: [11, 39]
Generated Node #0,0,0: 24:[11, 39] Operation: 64-25=39
Exploring Operation: 64-11=53, Resulting Numbers: [25, 53]
Generated Node #0,0,1: 24:[25, 53] Operation: 64-11=53
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[11, 39], Operations: ['96-71=25', '64-25=39']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,24 unequal: No Solution
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,24 unequal: No Solution
No 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: 24:[25, 53], Operations: ['96-71=25', '64-11=53']
Exploring Operation: 25+53=78, Resulting Numbers: [78]
78,24 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,24 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: 24:[11, 71, 32], Operations: ['96-64=32']
Exploring Operation: 71-11=60, Resulting Numbers: [32, 60]
Generated Node #0,1,0: 24:[32, 60] Operation: 71-11=60
Exploring Operation: 71-32=39, Resulting Numbers: [11, 39]
Generated Node #0,1,1: 24:[11, 39] Operation: 71-32=39
Moving to Node #0,1,1
Current State: 24:[11, 39], Operations: ['96-64=32', '71-32=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,24 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[32, 60], Operations: ['96-64=32', '71-11=60']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,24 unequal: No Solution
Exploring Operation: 32+60=92, Resulting Numbers: [92]
92,24 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 |
[
27,
88,
42,
66
] | 37 | [
"88-27=61",
"66-42=24",
"61-24=37"
] | Current State: 37:[27, 88, 42, 66], Operations: []
Exploring Operation: 88-27=61, Resulting Numbers: [42, 66, 61]
Generated Node #2: [42, 66, 61] from Operation: 88-27=61
Current State: 37:[42, 66, 61], Operations: ['88-27=61']
Exploring Operation: 66-42=24, Resulting Numbers: [61, 24]
Generated Node #3: [61, 24] from Operation: 66-42=24
Current State: 37:[61, 24], Operations: ['88-27=61', '66-42=24']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[27, 88, 42, 66], Operations: []
Exploring Operation: 88-66=22, Resulting Numbers: [27, 42, 22]
Generated Node #0,0: 37:[27, 42, 22] Operation: 88-66=22
Exploring Operation: 88-42=46, Resulting Numbers: [27, 66, 46]
Generated Node #0,1: 37:[27, 66, 46] Operation: 88-42=46
Exploring Operation: 66-27=39, Resulting Numbers: [88, 42, 39]
Generated Node #0,2: 37:[88, 42, 39] Operation: 66-27=39
Exploring Operation: 88-27=61, Resulting Numbers: [42, 66, 61]
Generated Node #0,3: 37:[42, 66, 61] Operation: 88-27=61
Exploring Operation: 66-42=24, Resulting Numbers: [27, 88, 24]
Generated Node #0,4: 37:[27, 88, 24] Operation: 66-42=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[27, 42, 22], Operations: ['88-66=22']
Exploring Operation: 42-27=15, Resulting Numbers: [22, 15]
Generated Node #0,0,0: 37:[22, 15] Operation: 42-27=15
Exploring Operation: 27-22=5, Resulting Numbers: [42, 5]
Generated Node #0,0,1: 37:[42, 5] Operation: 27-22=5
Exploring Operation: 27+22=49, Resulting Numbers: [42, 49]
Generated Node #0,0,2: 37:[42, 49] Operation: 27+22=49
Exploring Operation: 42-22=20, Resulting Numbers: [27, 20]
Generated Node #0,0,3: 37:[27, 20] Operation: 42-22=20
Exploring Operation: 42+22=64, Resulting Numbers: [27, 64]
Generated Node #0,0,4: 37:[27, 64] Operation: 42+22=64
Moving to Node #0,0,2
Current State: 37:[42, 49], Operations: ['88-66=22', '27+22=49']
Exploring Operation: 42+49=91, Resulting Numbers: [91]
91,37 unequal: No Solution
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Exploring Operation: 42*49=2058, Resulting Numbers: [2058]
2058,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[27, 20], Operations: ['88-66=22', '42-22=20']
Exploring Operation: 27*20=540, Resulting Numbers: [540]
540,37 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[22, 15], Operations: ['88-66=22', '42-27=15']
Exploring Operation: 22*15=330, Resulting Numbers: [330]
330,37 unequal: No Solution
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[27, 88, 42, 66], Operations: []
Exploring Operation: 88-66=22, Resulting Numbers: [27, 42, 22]
Generated Node #0,0: 37:[27, 42, 22] Operation: 88-66=22
Moving to Node #0,0
Current State: 37:[27, 42, 22], Operations: ['88-66=22']
Exploring Operation: 42-27=15, Resulting Numbers: [22, 15]
Generated Node #0,0,0: 37:[22, 15] Operation: 42-27=15
Moving to Node #0,0,0
Current State: 37:[22, 15], Operations: ['88-66=22', '42-27=15']
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
28,
27,
9,
66
] | 97 | [
"28+66=94",
"27/9=3",
"94+3=97"
] | Current State: 97:[28, 27, 9, 66], Operations: []
Exploring Operation: 28+66=94, Resulting Numbers: [27, 9, 94]
Generated Node #2: [27, 9, 94] from Operation: 28+66=94
Current State: 97:[27, 9, 94], Operations: ['28+66=94']
Exploring Operation: 27/9=3, Resulting Numbers: [94, 3]
Generated Node #3: [94, 3] from Operation: 27/9=3
Current State: 97:[94, 3], Operations: ['28+66=94', '27/9=3']
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[28, 27, 9, 66], Operations: []
Exploring Operation: 28+27=55, Resulting Numbers: [9, 66, 55]
Generated Node #0,0: 97:[9, 66, 55] Operation: 28+27=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[9, 66, 55], Operations: ['28+27=55']
Exploring Operation: 9+66=75, Resulting Numbers: [55, 75]
Generated Node #0,0,0: 97:[55, 75] Operation: 9+66=75
Moving to Node #0,0,0
Current State: 97:[55, 75], Operations: ['28+27=55', '9+66=75']
Exploring Operation: 55+75=130, Resulting Numbers: [130]
130,97 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 |
[
74,
75,
30,
81
] | 38 | [
"74+75=149",
"30+81=111",
"149-111=38"
] | Current State: 38:[74, 75, 30, 81], Operations: []
Exploring Operation: 74+75=149, Resulting Numbers: [30, 81, 149]
Generated Node #2: [30, 81, 149] from Operation: 74+75=149
Current State: 38:[30, 81, 149], Operations: ['74+75=149']
Exploring Operation: 30+81=111, Resulting Numbers: [149, 111]
Generated Node #3: [149, 111] from Operation: 30+81=111
Current State: 38:[149, 111], Operations: ['74+75=149', '30+81=111']
Exploring Operation: 149-111=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[74, 75, 30, 81], Operations: []
Exploring Operation: 75-74=1, Resulting Numbers: [30, 81, 1]
Generated Node #0,0: 38:[30, 81, 1] Operation: 75-74=1
Exploring Operation: 81-74=7, Resulting Numbers: [75, 30, 7]
Generated Node #0,1: 38:[75, 30, 7] Operation: 81-74=7
Exploring Operation: 74-30=44, Resulting Numbers: [75, 81, 44]
Generated Node #0,2: 38:[75, 81, 44] Operation: 74-30=44
Exploring Operation: 81-75=6, Resulting Numbers: [74, 30, 6]
Generated Node #0,3: 38:[74, 30, 6] Operation: 81-75=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[74, 30, 6], Operations: ['81-75=6']
Exploring Operation: 30+6=36, Resulting Numbers: [74, 36]
Generated Node #0,3,0: 38:[74, 36] Operation: 30+6=36
Exploring Operation: 30/6=5, Resulting Numbers: [74, 5]
Generated Node #0,3,1: 38:[74, 5] Operation: 30/6=5
Exploring Operation: 74-6=68, Resulting Numbers: [30, 68]
Generated Node #0,3,2: 38:[30, 68] Operation: 74-6=68
Exploring Operation: 74-30=44, Resulting Numbers: [6, 44]
Generated Node #0,3,3: 38:[6, 44] Operation: 74-30=44
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 38:[6, 44], Operations: ['81-75=6', '74-30=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[74, 75, 30, 81], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [74, 30, 6]
Generated Node #0,3: 38:[74, 30, 6] Operation: 81-75=6
Moving to Node #0,3
Current State: 38:[74, 30, 6], Operations: ['81-75=6']
Exploring Operation: 74-30=44, Resulting Numbers: [6, 44]
Generated Node #0,3,3: 38:[6, 44] Operation: 74-30=44
Moving to Node #0,3,3
Current State: 38:[6, 44], Operations: ['81-75=6', '74-30=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
87,
89,
87,
59
] | 73 | [
"89-87=2",
"87+59=146",
"146/2=73"
] | Current State: 73:[87, 89, 87, 59], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [59, 2]
Generated Node #2: [59, 2] from Operation: 89-87=2
Current State: 73:[59, 2], Operations: ['89-87=2']
Exploring Operation: 87+59=146, Resulting Numbers: [2, 146]
Generated Node #3: [2, 146] from Operation: 87+59=146
Current State: 73:[2, 146], Operations: ['89-87=2', '87+59=146']
Exploring Operation: 146/2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[87, 89, 87, 59], Operations: []
Exploring Operation: 87-59=28, Resulting Numbers: [87, 89, 28]
Generated Node #0,0: 73:[87, 89, 28] Operation: 87-59=28
Exploring Operation: 89-59=30, Resulting Numbers: [87, 87, 30]
Generated Node #0,1: 73:[87, 87, 30] Operation: 89-59=30
Exploring Operation: 89-87=2, Resulting Numbers: [87, 59, 2]
Generated Node #0,2: 73:[87, 59, 2] Operation: 89-87=2
Exploring Operation: 87-59=28, Resulting Numbers: [89, 87, 28]
Generated Node #0,3: 73:[89, 87, 28] Operation: 87-59=28
Exploring Operation: 89-87=2, Resulting Numbers: [87, 59, 2]
Generated Node #0,4: 73:[87, 59, 2] Operation: 89-87=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[87, 87, 30], Operations: ['89-59=30']
Exploring Operation: 87+30=117, Resulting Numbers: [87, 117]
Generated Node #0,1,0: 73:[87, 117] Operation: 87+30=117
Exploring Operation: 87-30=57, Resulting Numbers: [87, 57]
Generated Node #0,1,1: 73:[87, 57] Operation: 87-30=57
Exploring Operation: 87-30=57, Resulting Numbers: [87, 57]
Generated Node #0,1,2: 73:[87, 57] Operation: 87-30=57
Exploring Operation: 87+30=117, Resulting Numbers: [87, 117]
Generated Node #0,1,3: 73:[87, 117] Operation: 87+30=117
Exploring Operation: 87/87=1, Resulting Numbers: [30, 1]
Generated Node #0,1,4: 73:[30, 1] Operation: 87/87=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[87, 57], Operations: ['89-59=30', '87-30=57']
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 87*57=4959, Resulting Numbers: [4959]
4959,73 unequal: No Solution
Exploring Operation: 87+57=144, Resulting Numbers: [144]
144,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[87, 57], Operations: ['89-59=30', '87-30=57']
Exploring Operation: 87+57=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 87*57=4959, Resulting Numbers: [4959]
4959,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[87, 117], Operations: ['89-59=30', '87+30=117']
Exploring Operation: 87+117=204, Resulting Numbers: [204]
204,73 unequal: No Solution
Exploring Operation: 117-87=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 87*117=10179, Resulting Numbers: [10179]
10179,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 73:[87, 117], Operations: ['89-59=30', '87+30=117']
Exploring Operation: 87+117=204, Resulting Numbers: [204]
204,73 unequal: No Solution
Exploring Operation: 117-87=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 87*117=10179, Resulting Numbers: [10179]
10179,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 73:[30, 1], Operations: ['89-59=30', '87/87=1']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,73 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[87, 89, 28], Operations: ['87-59=28']
Exploring Operation: 89+28=117, Resulting Numbers: [87, 117]
Generated Node #0,0,0: 73:[87, 117] Operation: 89+28=117
Exploring Operation: 89-87=2, Resulting Numbers: [28, 2]
Generated Node #0,0,1: 73:[28, 2] Operation: 89-87=2
Exploring Operation: 87-28=59, Resulting Numbers: [89, 59]
Generated Node #0,0,2: 73:[89, 59] Operation: 87-28=59
Exploring Operation: 89-28=61, Resulting Numbers: [87, 61]
Generated Node #0,0,3: 73:[87, 61] Operation: 89-28=61
Exploring Operation: 87+28=115, Resulting Numbers: [89, 115]
Generated Node #0,0,4: 73:[89, 115] Operation: 87+28=115
Moving to Node #0,0,3
Current State: 73:[87, 61], Operations: ['87-59=28', '89-28=61']
Exploring Operation: 87+61=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 87*61=5307, Resulting Numbers: [5307]
5307,73 unequal: No Solution
Exploring Operation: 87-61=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[89, 59], Operations: ['87-59=28', '87-28=59']
Exploring Operation: 89*59=5251, Resulting Numbers: [5251]
5251,73 unequal: No Solution
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 89+59=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[87, 117], Operations: ['87-59=28', '89+28=117']
Exploring Operation: 87+117=204, Resulting Numbers: [204]
204,73 unequal: No Solution
Exploring Operation: 87*117=10179, Resulting Numbers: [10179]
10179,73 unequal: No Solution
Exploring Operation: 117-87=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Moving to Node #0,0,4
Current State: 73:[89, 115], Operations: ['87-59=28', '87+28=115']
Exploring Operation: 115-89=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Exploring Operation: 89*115=10235, Resulting Numbers: [10235]
10235,73 unequal: No Solution
Exploring Operation: 89+115=204, Resulting Numbers: [204]
204,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[28, 2], Operations: ['87-59=28', '89-87=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,73 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,73 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,73 unequal: No Solution
No 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: 73:[89, 87, 28], Operations: ['87-59=28']
Exploring Operation: 87+28=115, Resulting Numbers: [89, 115]
Generated Node #0,3,0: 73:[89, 115] Operation: 87+28=115
Exploring Operation: 87-28=59, Resulting Numbers: [89, 59]
Generated Node #0,3,1: 73:[89, 59] Operation: 87-28=59
Exploring Operation: 89+28=117, Resulting Numbers: [87, 117]
Generated Node #0,3,2: 73:[87, 117] Operation: 89+28=117
Exploring Operation: 89-28=61, Resulting Numbers: [87, 61]
Generated Node #0,3,3: 73:[87, 61] Operation: 89-28=61
Exploring Operation: 89-87=2, Resulting Numbers: [28, 2]
Generated Node #0,3,4: 73:[28, 2] Operation: 89-87=2
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 73:[87, 61], Operations: ['87-59=28', '89-28=61']
Exploring Operation: 87-61=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Exploring Operation: 87+61=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 87*61=5307, Resulting Numbers: [5307]
5307,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 73:[89, 59], Operations: ['87-59=28', '87-28=59']
Exploring Operation: 89+59=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 89*59=5251, Resulting Numbers: [5251]
5251,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 73:[89, 115], Operations: ['87-59=28', '87+28=115']
Exploring Operation: 89*115=10235, Resulting Numbers: [10235]
10235,73 unequal: No Solution
Exploring Operation: 89+115=204, Resulting Numbers: [204]
204,73 unequal: No Solution
Exploring Operation: 115-89=26, Resulting Numbers: [26]
26,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 73:[87, 117], Operations: ['87-59=28', '89+28=117']
Exploring Operation: 87*117=10179, Resulting Numbers: [10179]
10179,73 unequal: No Solution
Exploring Operation: 117-87=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 87+117=204, Resulting Numbers: [204]
204,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 73:[28, 2], Operations: ['87-59=28', '89-87=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,73 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,73 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[87, 59, 2], Operations: ['89-87=2']
Exploring Operation: 59+2=61, Resulting Numbers: [87, 61]
Generated Node #0,2,0: 73:[87, 61] Operation: 59+2=61
Exploring Operation: 87+2=89, Resulting Numbers: [59, 89]
Generated Node #0,2,1: 73:[59, 89] Operation: 87+2=89
Exploring Operation: 87-2=85, Resulting Numbers: [59, 85]
Generated Node #0,2,2: 73:[59, 85] Operation: 87-2=85
Exploring Operation: 59*2=118, Resulting Numbers: [87, 118]
Generated Node #0,2,3: 73:[87, 118] Operation: 59*2=118
Exploring Operation: 59-2=57, Resulting Numbers: [87, 57]
Generated Node #0,2,4: 73:[87, 57] Operation: 59-2=57
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[87, 61], Operations: ['89-87=2', '59+2=61']
Exploring Operation: 87+61=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 87*61=5307, Resulting Numbers: [5307]
5307,73 unequal: No Solution
Exploring Operation: 87-61=26, Resulting Numbers: [26]
26,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[59, 85], Operations: ['89-87=2', '87-2=85']
Exploring Operation: 59*85=5015, Resulting Numbers: [5015]
5015,73 unequal: No Solution
Exploring Operation: 59+85=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 85-59=26, Resulting Numbers: [26]
26,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 73:[59, 89], Operations: ['89-87=2', '87+2=89']
Exploring Operation: 59+89=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 59*89=5251, Resulting Numbers: [5251]
5251,73 unequal: No Solution
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 73:[87, 57], Operations: ['89-87=2', '59-2=57']
Exploring Operation: 87+57=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 87*57=4959, Resulting Numbers: [4959]
4959,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 73:[87, 118], Operations: ['89-87=2', '59*2=118']
Exploring Operation: 118-87=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 87+118=205, Resulting Numbers: [205]
205,73 unequal: No Solution
Exploring Operation: 87*118=10266, Resulting Numbers: [10266]
10266,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 73:[87, 59, 2], Operations: ['89-87=2']
Exploring Operation: 59*2=118, Resulting Numbers: [87, 118]
Generated Node #0,4,0: 73:[87, 118] Operation: 59*2=118
Exploring Operation: 87+2=89, Resulting Numbers: [59, 89]
Generated Node #0,4,1: 73:[59, 89] Operation: 87+2=89
Exploring Operation: 87-2=85, Resulting Numbers: [59, 85]
Generated Node #0,4,2: 73:[59, 85] Operation: 87-2=85
Exploring Operation: 59+2=61, Resulting Numbers: [87, 61]
Generated Node #0,4,3: 73:[87, 61] Operation: 59+2=61
Exploring Operation: 59-2=57, Resulting Numbers: [87, 57]
Generated Node #0,4,4: 73:[87, 57] Operation: 59-2=57
Moving to Node #0,4,2
Current State: 73:[59, 85], Operations: ['89-87=2', '87-2=85']
Exploring Operation: 59*85=5015, Resulting Numbers: [5015]
5015,73 unequal: No Solution
Exploring Operation: 59+85=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 85-59=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Moving to Node #0,4,3
Current State: 73:[87, 61], Operations: ['89-87=2', '59+2=61']
Exploring Operation: 87-61=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Exploring Operation: 87*61=5307, Resulting Numbers: [5307]
5307,73 unequal: No Solution
Exploring Operation: 87+61=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Moving to Node #0,4,1
Current State: 73:[59, 89], Operations: ['89-87=2', '87+2=89']
Exploring Operation: 59*89=5251, Resulting Numbers: [5251]
5251,73 unequal: No Solution
Exploring Operation: 59+89=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Moving to Node #0,4,4
Current State: 73:[87, 57], Operations: ['89-87=2', '59-2=57']
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 87*57=4959, Resulting Numbers: [4959]
4959,73 unequal: No Solution
Exploring Operation: 87+57=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[87, 118], Operations: ['89-87=2', '59*2=118']
Exploring Operation: 87*118=10266, Resulting Numbers: [10266]
10266,73 unequal: No Solution
Exploring Operation: 118-87=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 87+118=205, Resulting Numbers: [205]
205,73 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 |
[
54,
59,
13,
63
] | 63 | [
"54+59=113",
"63-13=50",
"113-50=63"
] | Current State: 63:[54, 59, 13, 63], Operations: []
Exploring Operation: 54+59=113, Resulting Numbers: [13, 63, 113]
Generated Node #2: [13, 63, 113] from Operation: 54+59=113
Current State: 63:[13, 63, 113], Operations: ['54+59=113']
Exploring Operation: 63-13=50, Resulting Numbers: [113, 50]
Generated Node #3: [113, 50] from Operation: 63-13=50
Current State: 63:[113, 50], Operations: ['54+59=113', '63-13=50']
Exploring Operation: 113-50=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[54, 59, 13, 63], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [59, 13, 9]
Generated Node #0,0: 63:[59, 13, 9] Operation: 63-54=9
Exploring Operation: 59-54=5, Resulting Numbers: [13, 63, 5]
Generated Node #0,1: 63:[13, 63, 5] Operation: 59-54=5
Exploring Operation: 63-59=4, Resulting Numbers: [54, 13, 4]
Generated Node #0,2: 63:[54, 13, 4] Operation: 63-59=4
Exploring Operation: 54+13=67, Resulting Numbers: [59, 63, 67]
Generated Node #0,3: 63:[59, 63, 67] Operation: 54+13=67
Moving to Node #0,1
Current State: 63:[13, 63, 5], Operations: ['59-54=5']
Exploring Operation: 13-5=8, Resulting Numbers: [63, 8]
Generated Node #0,1,0: 63:[63, 8] Operation: 13-5=8
Exploring Operation: 13+5=18, Resulting Numbers: [63, 18]
Generated Node #0,1,1: 63:[63, 18] Operation: 13+5=18
Exploring Operation: 13*5=65, Resulting Numbers: [63, 65]
Generated Node #0,1,2: 63:[63, 65] Operation: 13*5=65
Exploring Operation: 63+5=68, Resulting Numbers: [13, 68]
Generated Node #0,1,3: 63:[13, 68] Operation: 63+5=68
Moving to Node #0,3
Current State: 63:[59, 63, 67], Operations: ['54+13=67']
Exploring Operation: 67-59=8, Resulting Numbers: [63, 8]
Generated Node #0,3,0: 63:[63, 8] Operation: 67-59=8
Exploring Operation: 67-63=4, Resulting Numbers: [59, 4]
Generated Node #0,3,1: 63:[59, 4] Operation: 67-63=4
Exploring Operation: 63-59=4, Resulting Numbers: [67, 4]
Generated Node #0,3,2: 63:[67, 4] Operation: 63-59=4
Exploring Operation: 59+63=122, Resulting Numbers: [67, 122]
Generated Node #0,3,3: 63:[67, 122] Operation: 59+63=122
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 63:[63, 8], Operations: ['54+13=67', '67-59=8']
Exploring Operation: 63+8=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 63*8=504, Resulting Numbers: [504]
504,63 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 63:[59, 4], Operations: ['54+13=67', '67-63=4']
Exploring Operation: 59*4=236, Resulting Numbers: [236]
236,63 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,63 unequal: No Solution
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[54, 59, 13, 63], Operations: []
Exploring Operation: 54+13=67, Resulting Numbers: [59, 63, 67]
Generated Node #0,3: 63:[59, 63, 67] Operation: 54+13=67
Moving to Node #0,3
Current State: 63:[59, 63, 67], Operations: ['54+13=67']
Exploring Operation: 67-63=4, Resulting Numbers: [59, 4]
Generated Node #0,3,1: 63:[59, 4] Operation: 67-63=4
Moving to Node #0,3,1
Current State: 63:[59, 4], Operations: ['54+13=67', '67-63=4']
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
42,
72,
57,
65
] | 33 | [
"65-57=8",
"72/8=9",
"42-9=33"
] | Current State: 33:[42, 72, 57, 65], Operations: []
Exploring Operation: 65-57=8, Resulting Numbers: [42, 72, 8]
Generated Node #2: [42, 72, 8] from Operation: 65-57=8
Current State: 33:[42, 72, 8], Operations: ['65-57=8']
Exploring Operation: 72/8=9, Resulting Numbers: [42, 9]
Generated Node #3: [42, 9] from Operation: 72/8=9
Current State: 33:[42, 9], Operations: ['65-57=8', '72/8=9']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[42, 72, 57, 65], Operations: []
Exploring Operation: 65-57=8, Resulting Numbers: [42, 72, 8]
Generated Node #0,0: 33:[42, 72, 8] Operation: 65-57=8
Exploring Operation: 72-57=15, Resulting Numbers: [42, 65, 15]
Generated Node #0,1: 33:[42, 65, 15] Operation: 72-57=15
Exploring Operation: 72-65=7, Resulting Numbers: [42, 57, 7]
Generated Node #0,2: 33:[42, 57, 7] Operation: 72-65=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[42, 57, 7], Operations: ['72-65=7']
Exploring Operation: 42-7=35, Resulting Numbers: [57, 35]
Generated Node #0,2,0: 33:[57, 35] Operation: 42-7=35
Exploring Operation: 57-7=50, Resulting Numbers: [42, 50]
Generated Node #0,2,1: 33:[42, 50] Operation: 57-7=50
Exploring Operation: 57-42=15, Resulting Numbers: [7, 15]
Generated Node #0,2,2: 33:[7, 15] Operation: 57-42=15
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 33:[7, 15], Operations: ['72-65=7', '57-42=15']
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,33 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,33 unequal: No Solution
No 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: 33:[57, 35], Operations: ['72-65=7', '42-7=35']
Exploring Operation: 57*35=1995, Resulting Numbers: [1995]
1995,33 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,33 unequal: No Solution
No 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: 33:[42, 50], Operations: ['72-65=7', '57-7=50']
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 42+50=92, Resulting Numbers: [92]
92,33 unequal: No Solution
Exploring Operation: 42*50=2100, Resulting Numbers: [2100]
2100,33 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: 33:[42, 65, 15], Operations: ['72-57=15']
Exploring Operation: 65-42=23, Resulting Numbers: [15, 23]
Generated Node #0,1,0: 33:[15, 23] Operation: 65-42=23
Exploring Operation: 42-15=27, Resulting Numbers: [65, 27]
Generated Node #0,1,1: 33:[65, 27] Operation: 42-15=27
Exploring Operation: 65-15=50, Resulting Numbers: [42, 50]
Generated Node #0,1,2: 33:[42, 50] Operation: 65-15=50
Moving to Node #0,1,0
Current State: 33:[15, 23], Operations: ['72-57=15', '65-42=23']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[42, 50], Operations: ['72-57=15', '65-15=50']
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 42+50=92, Resulting Numbers: [92]
92,33 unequal: No Solution
Exploring Operation: 42*50=2100, Resulting Numbers: [2100]
2100,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[65, 27], Operations: ['72-57=15', '42-15=27']
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 65*27=1755, Resulting Numbers: [1755]
1755,33 unequal: No Solution
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[42, 72, 8], Operations: ['65-57=8']
Exploring Operation: 42-8=34, Resulting Numbers: [72, 34]
Generated Node #0,0,0: 33:[72, 34] Operation: 42-8=34
Exploring Operation: 72/8=9, Resulting Numbers: [42, 9]
Generated Node #0,0,1: 33:[42, 9] Operation: 72/8=9
Exploring Operation: 72-42=30, Resulting Numbers: [8, 30]
Generated Node #0,0,2: 33:[8, 30] Operation: 72-42=30
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[8, 30], Operations: ['65-57=8', '72-42=30']
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,33 unequal: No Solution
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,33 unequal: No Solution
No 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: 33:[42, 9], Operations: ['65-57=8', '72/8=9']
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,33 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[42, 72, 57, 65], Operations: []
Exploring Operation: 65-57=8, Resulting Numbers: [42, 72, 8]
Generated Node #0,0: 33:[42, 72, 8] Operation: 65-57=8
Moving to Node #0,0
Current State: 33:[42, 72, 8], Operations: ['65-57=8']
Exploring Operation: 72/8=9, Resulting Numbers: [42, 9]
Generated Node #0,0,1: 33:[42, 9] Operation: 72/8=9
Moving to Node #0,0,1
Current State: 33:[42, 9], Operations: ['65-57=8', '72/8=9']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_3 | mult_heuristic |
[
5,
9,
85,
74
] | 34 | [
"5*9=45",
"85-74=11",
"45-11=34"
] | Current State: 34:[5, 9, 85, 74], Operations: []
Exploring Operation: 5*9=45, Resulting Numbers: [85, 74, 45]
Generated Node #2: [85, 74, 45] from Operation: 5*9=45
Current State: 34:[85, 74, 45], Operations: ['5*9=45']
Exploring Operation: 85-74=11, Resulting Numbers: [45, 11]
Generated Node #3: [45, 11] from Operation: 85-74=11
Current State: 34:[45, 11], Operations: ['5*9=45', '85-74=11']
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[5, 9, 85, 74], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [9, 74, 17]
Generated Node #0,0: 34:[9, 74, 17] Operation: 85/5=17
Exploring Operation: 9-5=4, Resulting Numbers: [85, 74, 4]
Generated Node #0,1: 34:[85, 74, 4] Operation: 9-5=4
Exploring Operation: 85-9=76, Resulting Numbers: [5, 74, 76]
Generated Node #0,2: 34:[5, 74, 76] Operation: 85-9=76
Exploring Operation: 74-9=65, Resulting Numbers: [5, 85, 65]
Generated Node #0,3: 34:[5, 85, 65] Operation: 74-9=65
Exploring Operation: 85-74=11, Resulting Numbers: [5, 9, 11]
Generated Node #0,4: 34:[5, 9, 11] Operation: 85-74=11
Moving to Node #0,4
Current State: 34:[5, 9, 11], Operations: ['85-74=11']
Exploring Operation: 5+11=16, Resulting Numbers: [9, 16]
Generated Node #0,4,0: 34:[9, 16] Operation: 5+11=16
Exploring Operation: 9+11=20, Resulting Numbers: [5, 20]
Generated Node #0,4,1: 34:[5, 20] Operation: 9+11=20
Exploring Operation: 5+9=14, Resulting Numbers: [11, 14]
Generated Node #0,4,2: 34:[11, 14] Operation: 5+9=14
Exploring Operation: 9-5=4, Resulting Numbers: [11, 4]
Generated Node #0,4,3: 34:[11, 4] Operation: 9-5=4
Exploring Operation: 11-9=2, Resulting Numbers: [5, 2]
Generated Node #0,4,4: 34:[5, 2] Operation: 11-9=2
Moving to Node #0,0
Current State: 34:[9, 74, 17], Operations: ['85/5=17']
Exploring Operation: 9+74=83, Resulting Numbers: [17, 83]
Generated Node #0,0,0: 34:[17, 83] Operation: 9+74=83
Exploring Operation: 74-9=65, Resulting Numbers: [17, 65]
Generated Node #0,0,1: 34:[17, 65] Operation: 74-9=65
Exploring Operation: 17-9=8, Resulting Numbers: [74, 8]
Generated Node #0,0,2: 34:[74, 8] Operation: 17-9=8
Exploring Operation: 9+17=26, Resulting Numbers: [74, 26]
Generated Node #0,0,3: 34:[74, 26] Operation: 9+17=26
Exploring Operation: 74-17=57, Resulting Numbers: [9, 57]
Generated Node #0,0,4: 34:[9, 57] Operation: 74-17=57
Moving to Node #0,2
Current State: 34:[5, 74, 76], Operations: ['85-9=76']
Exploring Operation: 5+76=81, Resulting Numbers: [74, 81]
Generated Node #0,2,0: 34:[74, 81] Operation: 5+76=81
Exploring Operation: 76-5=71, Resulting Numbers: [74, 71]
Generated Node #0,2,1: 34:[74, 71] Operation: 76-5=71
Exploring Operation: 74-5=69, Resulting Numbers: [76, 69]
Generated Node #0,2,2: 34:[76, 69] Operation: 74-5=69
Exploring Operation: 76-74=2, Resulting Numbers: [5, 2]
Generated Node #0,2,3: 34:[5, 2] Operation: 76-74=2
Exploring Operation: 5+74=79, Resulting Numbers: [76, 79]
Generated Node #0,2,4: 34:[76, 79] Operation: 5+74=79
Moving to Node #0,3
Current State: 34:[5, 85, 65], Operations: ['74-9=65']
Exploring Operation: 85-65=20, Resulting Numbers: [5, 20]
Generated Node #0,3,0: 34:[5, 20] Operation: 85-65=20
Exploring Operation: 85-5=80, Resulting Numbers: [65, 80]
Generated Node #0,3,1: 34:[65, 80] Operation: 85-5=80
Exploring Operation: 65/5=13, Resulting Numbers: [85, 13]
Generated Node #0,3,2: 34:[85, 13] Operation: 65/5=13
Exploring Operation: 85/5=17, Resulting Numbers: [65, 17]
Generated Node #0,3,3: 34:[65, 17] Operation: 85/5=17
Exploring Operation: 65-5=60, Resulting Numbers: [85, 60]
Generated Node #0,3,4: 34:[85, 60] Operation: 65-5=60
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 34:[5, 20], Operations: ['74-9=65', '85-65=20']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 34:[65, 17], Operations: ['74-9=65', '85/5=17']
Exploring Operation: 65*17=1105, Resulting Numbers: [1105]
1105,34 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 34:[85, 13], Operations: ['74-9=65', '65/5=13']
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,34 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 85*13=1105, Resulting Numbers: [1105]
1105,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 34:[65, 80], Operations: ['74-9=65', '85-5=80']
Exploring Operation: 65*80=5200, Resulting Numbers: [5200]
5200,34 unequal: No Solution
Exploring Operation: 65+80=145, Resulting Numbers: [145]
145,34 unequal: No Solution
Exploring Operation: 80-65=15, Resulting Numbers: [15]
15,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 34:[85, 60], Operations: ['74-9=65', '65-5=60']
Exploring Operation: 85*60=5100, Resulting Numbers: [5100]
5100,34 unequal: No Solution
Exploring Operation: 85-60=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 85+60=145, Resulting Numbers: [145]
145,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 34:[85, 74, 4], Operations: ['9-5=4']
Exploring Operation: 74-4=70, Resulting Numbers: [85, 70]
Generated Node #0,1,0: 34:[85, 70] Operation: 74-4=70
Exploring Operation: 85+4=89, Resulting Numbers: [74, 89]
Generated Node #0,1,1: 34:[74, 89] Operation: 85+4=89
Exploring Operation: 85-74=11, Resulting Numbers: [4, 11]
Generated Node #0,1,2: 34:[4, 11] Operation: 85-74=11
Exploring Operation: 74+4=78, Resulting Numbers: [85, 78]
Generated Node #0,1,3: 34:[85, 78] Operation: 74+4=78
Exploring Operation: 85-4=81, Resulting Numbers: [74, 81]
Generated Node #0,1,4: 34:[74, 81] Operation: 85-4=81
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[4, 11], Operations: ['9-5=4', '85-74=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,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,0
Current State: 34:[85, 70], Operations: ['9-5=4', '74-4=70']
Exploring Operation: 85*70=5950, Resulting Numbers: [5950]
5950,34 unequal: No Solution
Exploring Operation: 85+70=155, Resulting Numbers: [155]
155,34 unequal: No Solution
Exploring Operation: 85-70=15, Resulting Numbers: [15]
15,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:[74, 81], Operations: ['9-5=4', '85-4=81']
Exploring Operation: 74*81=5994, Resulting Numbers: [5994]
5994,34 unequal: No Solution
Exploring Operation: 74+81=155, Resulting Numbers: [155]
155,34 unequal: No Solution
Exploring Operation: 81-74=7, Resulting Numbers: [7]
7,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:[74, 89], Operations: ['9-5=4', '85+4=89']
Exploring Operation: 74*89=6586, Resulting Numbers: [6586]
6586,34 unequal: No Solution
Exploring Operation: 74+89=163, Resulting Numbers: [163]
163,34 unequal: No Solution
Exploring Operation: 89-74=15, Resulting Numbers: [15]
15,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:[85, 78], Operations: ['9-5=4', '74+4=78']
Exploring Operation: 85+78=163, Resulting Numbers: [163]
163,34 unequal: No Solution
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 85*78=6630, Resulting Numbers: [6630]
6630,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 34:[5, 2], Operations: ['85-74=11', '11-9=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[5, 2], Operations: ['85-9=76', '76-74=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Moving to Node #0,4,1
Current State: 34:[5, 20], Operations: ['85-74=11', '9+11=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Moving to Node #0,4,0
Current State: 34:[9, 16], Operations: ['85-74=11', '5+11=16']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,34 unequal: No Solution
Moving to Node #0,4,3
Current State: 34:[11, 4], Operations: ['85-74=11', '9-5=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Moving to Node #0,4,2
Current State: 34:[11, 14], Operations: ['85-74=11', '5+9=14']
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,34 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Moving to Node #0,0,4
Current State: 34:[9, 57], Operations: ['85/5=17', '74-17=57']
Exploring Operation: 9*57=513, Resulting Numbers: [513]
513,34 unequal: No Solution
Exploring Operation: 9+57=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[17, 65], Operations: ['85/5=17', '74-9=65']
Exploring Operation: 17*65=1105, Resulting Numbers: [1105]
1105,34 unequal: No Solution
Exploring Operation: 17+65=82, Resulting Numbers: [82]
82,34 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[74, 8], Operations: ['85/5=17', '17-9=8']
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,34 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,34 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[74, 26], Operations: ['85/5=17', '9+17=26']
Exploring Operation: 74*26=1924, Resulting Numbers: [1924]
1924,34 unequal: No Solution
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[17, 83], Operations: ['85/5=17', '9+74=83']
Exploring Operation: 17*83=1411, Resulting Numbers: [1411]
1411,34 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 17+83=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[76, 69], Operations: ['85-9=76', '74-5=69']
Exploring Operation: 76+69=145, Resulting Numbers: [145]
145,34 unequal: No Solution
Exploring Operation: 76-69=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 76*69=5244, Resulting Numbers: [5244]
5244,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[74, 71], Operations: ['85-9=76', '76-5=71']
Exploring Operation: 74-71=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 74+71=145, Resulting Numbers: [145]
145,34 unequal: No Solution
Exploring Operation: 74*71=5254, Resulting Numbers: [5254]
5254,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[74, 81], Operations: ['85-9=76', '5+76=81']
Exploring Operation: 81-74=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 74*81=5994, Resulting Numbers: [5994]
5994,34 unequal: No Solution
Exploring Operation: 74+81=155, Resulting Numbers: [155]
155,34 unequal: No Solution
Moving to Node #0,2,4
Current State: 34:[76, 79], Operations: ['85-9=76', '5+74=79']
Exploring Operation: 76+79=155, Resulting Numbers: [155]
155,34 unequal: No Solution
Exploring Operation: 76*79=6004, Resulting Numbers: [6004]
6004,34 unequal: No Solution
Exploring Operation: 79-76=3, Resulting Numbers: [3]
3,34 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
1,
78,
21,
85
] | 82 | [
"85-1=84",
"84/21=4",
"78+4=82"
] | Current State: 82:[1, 78, 21, 85], Operations: []
Exploring Operation: 85-1=84, Resulting Numbers: [78, 21, 84]
Generated Node #2: [78, 21, 84] from Operation: 85-1=84
Current State: 82:[78, 21, 84], Operations: ['85-1=84']
Exploring Operation: 84/21=4, Resulting Numbers: [78, 4]
Generated Node #3: [78, 4] from Operation: 84/21=4
Current State: 82:[78, 4], Operations: ['85-1=84', '84/21=4']
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[1, 78, 21, 85], Operations: []
Exploring Operation: 78+21=99, Resulting Numbers: [1, 85, 99]
Generated Node #0,0: 82:[1, 85, 99] Operation: 78+21=99
Exploring Operation: 1+78=79, Resulting Numbers: [21, 85, 79]
Generated Node #0,1: 82:[21, 85, 79] Operation: 1+78=79
Exploring Operation: 78-21=57, Resulting Numbers: [1, 85, 57]
Generated Node #0,2: 82:[1, 85, 57] Operation: 78-21=57
Exploring Operation: 85-21=64, Resulting Numbers: [1, 78, 64]
Generated Node #0,3: 82:[1, 78, 64] Operation: 85-21=64
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[1, 85, 57], Operations: ['78-21=57']
Exploring Operation: 85-57=28, Resulting Numbers: [1, 28]
Generated Node #0,2,0: 82:[1, 28] Operation: 85-57=28
Exploring Operation: 1*85=85, Resulting Numbers: [57, 85]
Generated Node #0,2,1: 82:[57, 85] Operation: 1*85=85
Exploring Operation: 85-1=84, Resulting Numbers: [57, 84]
Generated Node #0,2,2: 82:[57, 84] Operation: 85-1=84
Exploring Operation: 57-1=56, Resulting Numbers: [85, 56]
Generated Node #0,2,3: 82:[85, 56] Operation: 57-1=56
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[1, 28], Operations: ['78-21=57', '85-57=28']
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,82 unequal: No Solution
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[57, 84], Operations: ['78-21=57', '85-1=84']
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 57*84=4788, Resulting Numbers: [4788]
4788,82 unequal: No Solution
Exploring Operation: 57+84=141, Resulting Numbers: [141]
141,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 82:[85, 56], Operations: ['78-21=57', '57-1=56']
Exploring Operation: 85+56=141, Resulting Numbers: [141]
141,82 unequal: No Solution
Exploring Operation: 85-56=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 85*56=4760, Resulting Numbers: [4760]
4760,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[57, 85], Operations: ['78-21=57', '1*85=85']
Exploring Operation: 85-57=28, Resulting Numbers: [28]
28,82 unequal: No Solution
Exploring Operation: 57*85=4845, Resulting Numbers: [4845]
4845,82 unequal: No Solution
Exploring Operation: 57+85=142, Resulting Numbers: [142]
142,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[1, 85, 99], Operations: ['78+21=99']
Exploring Operation: 85-1=84, Resulting Numbers: [99, 84]
Generated Node #0,0,0: 82:[99, 84] Operation: 85-1=84
Exploring Operation: 99-1=98, Resulting Numbers: [85, 98]
Generated Node #0,0,1: 82:[85, 98] Operation: 99-1=98
Exploring Operation: 1*85=85, Resulting Numbers: [99, 85]
Generated Node #0,0,2: 82:[99, 85] Operation: 1*85=85
Exploring Operation: 99-85=14, Resulting Numbers: [1, 14]
Generated Node #0,0,3: 82:[1, 14] Operation: 99-85=14
Moving to Node #0,0,3
Current State: 82:[1, 14], Operations: ['78+21=99', '99-85=14']
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[85, 98], Operations: ['78+21=99', '99-1=98']
Exploring Operation: 85*98=8330, Resulting Numbers: [8330]
8330,82 unequal: No Solution
Exploring Operation: 85+98=183, Resulting Numbers: [183]
183,82 unequal: No Solution
Exploring Operation: 98-85=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[99, 84], Operations: ['78+21=99', '85-1=84']
Exploring Operation: 99*84=8316, Resulting Numbers: [8316]
8316,82 unequal: No Solution
Exploring Operation: 99+84=183, Resulting Numbers: [183]
183,82 unequal: No Solution
Exploring Operation: 99-84=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[99, 85], Operations: ['78+21=99', '1*85=85']
Exploring Operation: 99-85=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Exploring Operation: 99*85=8415, Resulting Numbers: [8415]
8415,82 unequal: No Solution
Exploring Operation: 99+85=184, Resulting Numbers: [184]
184,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[1, 78, 64], Operations: ['85-21=64']
Exploring Operation: 1+64=65, Resulting Numbers: [78, 65]
Generated Node #0,3,0: 82:[78, 65] Operation: 1+64=65
Exploring Operation: 78-64=14, Resulting Numbers: [1, 14]
Generated Node #0,3,1: 82:[1, 14] Operation: 78-64=14
Exploring Operation: 1+78=79, Resulting Numbers: [64, 79]
Generated Node #0,3,2: 82:[64, 79] Operation: 1+78=79
Exploring Operation: 1*78=78, Resulting Numbers: [64, 78]
Generated Node #0,3,3: 82:[64, 78] Operation: 1*78=78
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 82:[1, 14], Operations: ['85-21=64', '78-64=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 82:[78, 65], Operations: ['85-21=64', '1+64=65']
Exploring Operation: 78*65=5070, Resulting Numbers: [5070]
5070,82 unequal: No Solution
Exploring Operation: 78-65=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 78+65=143, Resulting Numbers: [143]
143,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 82:[64, 79], Operations: ['85-21=64', '1+78=79']
Exploring Operation: 79-64=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 64*79=5056, Resulting Numbers: [5056]
5056,82 unequal: No Solution
Exploring Operation: 64+79=143, Resulting Numbers: [143]
143,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 82:[64, 78], Operations: ['85-21=64', '1*78=78']
Exploring Operation: 64*78=4992, Resulting Numbers: [4992]
4992,82 unequal: No Solution
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Exploring Operation: 64+78=142, Resulting Numbers: [142]
142,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[21, 85, 79], Operations: ['1+78=79']
Exploring Operation: 85-21=64, Resulting Numbers: [79, 64]
Generated Node #0,1,0: 82:[79, 64] Operation: 85-21=64
Exploring Operation: 21+79=100, Resulting Numbers: [85, 100]
Generated Node #0,1,1: 82:[85, 100] Operation: 21+79=100
Exploring Operation: 85-79=6, Resulting Numbers: [21, 6]
Generated Node #0,1,2: 82:[21, 6] Operation: 85-79=6
Exploring Operation: 79-21=58, Resulting Numbers: [85, 58]
Generated Node #0,1,3: 82:[85, 58] Operation: 79-21=58
Moving to Node #0,1,3
Current State: 82:[85, 58], Operations: ['1+78=79', '79-21=58']
Exploring Operation: 85-58=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 85*58=4930, Resulting Numbers: [4930]
4930,82 unequal: No Solution
Exploring Operation: 85+58=143, Resulting Numbers: [143]
143,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[85, 100], Operations: ['1+78=79', '21+79=100']
Exploring Operation: 85+100=185, Resulting Numbers: [185]
185,82 unequal: No Solution
Exploring Operation: 100-85=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 85*100=8500, Resulting Numbers: [8500]
8500,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[79, 64], Operations: ['1+78=79', '85-21=64']
Exploring Operation: 79-64=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 79+64=143, Resulting Numbers: [143]
143,82 unequal: No Solution
Exploring Operation: 79*64=5056, Resulting Numbers: [5056]
5056,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[21, 6], Operations: ['1+78=79', '85-79=6']
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,82 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 |
[
30,
44,
21,
57
] | 50 | [
"44-30=14",
"57-21=36",
"14+36=50"
] | Current State: 50:[30, 44, 21, 57], Operations: []
Exploring Operation: 44-30=14, Resulting Numbers: [21, 57, 14]
Generated Node #2: [21, 57, 14] from Operation: 44-30=14
Current State: 50:[21, 57, 14], Operations: ['44-30=14']
Exploring Operation: 57-21=36, Resulting Numbers: [14, 36]
Generated Node #3: [14, 36] from Operation: 57-21=36
Current State: 50:[14, 36], Operations: ['44-30=14', '57-21=36']
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[30, 44, 21, 57], Operations: []
Exploring Operation: 30-21=9, Resulting Numbers: [44, 57, 9]
Generated Node #0,0: 50:[44, 57, 9] Operation: 30-21=9
Exploring Operation: 57-30=27, Resulting Numbers: [44, 21, 27]
Generated Node #0,1: 50:[44, 21, 27] Operation: 57-30=27
Exploring Operation: 44-21=23, Resulting Numbers: [30, 57, 23]
Generated Node #0,2: 50:[30, 57, 23] Operation: 44-21=23
Exploring Operation: 57-44=13, Resulting Numbers: [30, 21, 13]
Generated Node #0,3: 50:[30, 21, 13] Operation: 57-44=13
Exploring Operation: 30+21=51, Resulting Numbers: [44, 57, 51]
Generated Node #0,4: 50:[44, 57, 51] Operation: 30+21=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[44, 21, 27], Operations: ['57-30=27']
Exploring Operation: 44+21=65, Resulting Numbers: [27, 65]
Generated Node #0,1,0: 50:[27, 65] Operation: 44+21=65
Exploring Operation: 44-27=17, Resulting Numbers: [21, 17]
Generated Node #0,1,1: 50:[21, 17] Operation: 44-27=17
Exploring Operation: 44-21=23, Resulting Numbers: [27, 23]
Generated Node #0,1,2: 50:[27, 23] Operation: 44-21=23
Exploring Operation: 21+27=48, Resulting Numbers: [44, 48]
Generated Node #0,1,3: 50:[44, 48] Operation: 21+27=48
Exploring Operation: 27-21=6, Resulting Numbers: [44, 6]
Generated Node #0,1,4: 50:[44, 6] Operation: 27-21=6
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 50:[27, 23], Operations: ['57-30=27', '44-21=23']
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,50 unequal: No Solution
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[30, 44, 21, 57], Operations: []
Exploring Operation: 57-30=27, Resulting Numbers: [44, 21, 27]
Generated Node #0,1: 50:[44, 21, 27] Operation: 57-30=27
Moving to Node #0,1
Current State: 50:[44, 21, 27], Operations: ['57-30=27']
Exploring Operation: 44-21=23, Resulting Numbers: [27, 23]
Generated Node #0,1,2: 50:[27, 23] Operation: 44-21=23
Moving to Node #0,1,2
Current State: 50:[27, 23], Operations: ['57-30=27', '44-21=23']
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
17,
5,
98,
83
] | 49 | [
"17*5=85",
"85-83=2",
"98/2=49"
] | Current State: 49:[17, 5, 98, 83], Operations: []
Exploring Operation: 17*5=85, Resulting Numbers: [98, 83, 85]
Generated Node #2: [98, 83, 85] from Operation: 17*5=85
Current State: 49:[98, 83, 85], Operations: ['17*5=85']
Exploring Operation: 85-83=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 85-83=2
Current State: 49:[98, 2], Operations: ['17*5=85', '85-83=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[17, 5, 98, 83], Operations: []
Exploring Operation: 83-17=66, Resulting Numbers: [5, 98, 66]
Generated Node #0,0: 49:[5, 98, 66] Operation: 83-17=66
Exploring Operation: 17-5=12, Resulting Numbers: [98, 83, 12]
Generated Node #0,1: 49:[98, 83, 12] Operation: 17-5=12
Exploring Operation: 98-83=15, Resulting Numbers: [17, 5, 15]
Generated Node #0,2: 49:[17, 5, 15] Operation: 98-83=15
Exploring Operation: 98-17=81, Resulting Numbers: [5, 83, 81]
Generated Node #0,3: 49:[5, 83, 81] Operation: 98-17=81
Exploring Operation: 98-5=93, Resulting Numbers: [17, 83, 93]
Generated Node #0,4: 49:[17, 83, 93] Operation: 98-5=93
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[17, 5, 15], Operations: ['98-83=15']
Exploring Operation: 15/5=3, Resulting Numbers: [17, 3]
Generated Node #0,2,0: 49:[17, 3] Operation: 15/5=3
Exploring Operation: 17+15=32, Resulting Numbers: [5, 32]
Generated Node #0,2,1: 49:[5, 32] Operation: 17+15=32
Exploring Operation: 17-5=12, Resulting Numbers: [15, 12]
Generated Node #0,2,2: 49:[15, 12] Operation: 17-5=12
Exploring Operation: 17-15=2, Resulting Numbers: [5, 2]
Generated Node #0,2,3: 49:[5, 2] Operation: 17-15=2
Exploring Operation: 15-5=10, Resulting Numbers: [17, 10]
Generated Node #0,2,4: 49:[17, 10] Operation: 15-5=10
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 49:[5, 2], Operations: ['98-83=15', '17-15=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 49:[15, 12], Operations: ['98-83=15', '17-5=12']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,49 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 49:[17, 10], Operations: ['98-83=15', '15-5=10']
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,49 unequal: No Solution
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[17, 3], Operations: ['98-83=15', '15/5=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[5, 32], Operations: ['98-83=15', '17+15=32']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[5, 98, 66], Operations: ['83-17=66']
Exploring Operation: 98-5=93, Resulting Numbers: [66, 93]
Generated Node #0,0,0: 49:[66, 93] Operation: 98-5=93
Exploring Operation: 66-5=61, Resulting Numbers: [98, 61]
Generated Node #0,0,1: 49:[98, 61] Operation: 66-5=61
Exploring Operation: 98-66=32, Resulting Numbers: [5, 32]
Generated Node #0,0,2: 49:[5, 32] Operation: 98-66=32
Exploring Operation: 5+98=103, Resulting Numbers: [66, 103]
Generated Node #0,0,3: 49:[66, 103] Operation: 5+98=103
Exploring Operation: 5+66=71, Resulting Numbers: [98, 71]
Generated Node #0,0,4: 49:[98, 71] Operation: 5+66=71
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[5, 32], Operations: ['83-17=66', '98-66=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,49 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[66, 93], Operations: ['83-17=66', '98-5=93']
Exploring Operation: 66*93=6138, Resulting Numbers: [6138]
6138,49 unequal: No Solution
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 66+93=159, Resulting Numbers: [159]
159,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[98, 61], Operations: ['83-17=66', '66-5=61']
Exploring Operation: 98+61=159, Resulting Numbers: [159]
159,49 unequal: No Solution
Exploring Operation: 98*61=5978, Resulting Numbers: [5978]
5978,49 unequal: No Solution
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 49:[66, 103], Operations: ['83-17=66', '5+98=103']
Exploring Operation: 103-66=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 66+103=169, Resulting Numbers: [169]
169,49 unequal: No Solution
Exploring Operation: 66*103=6798, Resulting Numbers: [6798]
6798,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 49:[98, 71], Operations: ['83-17=66', '5+66=71']
Exploring Operation: 98*71=6958, Resulting Numbers: [6958]
6958,49 unequal: No Solution
Exploring Operation: 98-71=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 98+71=169, Resulting Numbers: [169]
169,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[5, 83, 81], Operations: ['98-17=81']
Exploring Operation: 5+81=86, Resulting Numbers: [83, 86]
Generated Node #0,3,0: 49:[83, 86] Operation: 5+81=86
Exploring Operation: 83-5=78, Resulting Numbers: [81, 78]
Generated Node #0,3,1: 49:[81, 78] Operation: 83-5=78
Exploring Operation: 81-5=76, Resulting Numbers: [83, 76]
Generated Node #0,3,2: 49:[83, 76] Operation: 81-5=76
Exploring Operation: 83-81=2, Resulting Numbers: [5, 2]
Generated Node #0,3,3: 49:[5, 2] Operation: 83-81=2
Exploring Operation: 5+83=88, Resulting Numbers: [81, 88]
Generated Node #0,3,4: 49:[81, 88] Operation: 5+83=88
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 49:[5, 2], Operations: ['98-17=81', '83-81=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 49:[81, 78], Operations: ['98-17=81', '83-5=78']
Exploring Operation: 81+78=159, Resulting Numbers: [159]
159,49 unequal: No Solution
Exploring Operation: 81-78=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 81*78=6318, Resulting Numbers: [6318]
6318,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 49:[83, 76], Operations: ['98-17=81', '81-5=76']
Exploring Operation: 83-76=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 83+76=159, Resulting Numbers: [159]
159,49 unequal: No Solution
Exploring Operation: 83*76=6308, Resulting Numbers: [6308]
6308,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 49:[83, 86], Operations: ['98-17=81', '5+81=86']
Exploring Operation: 83+86=169, Resulting Numbers: [169]
169,49 unequal: No Solution
Exploring Operation: 83*86=7138, Resulting Numbers: [7138]
7138,49 unequal: No Solution
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 49:[81, 88], Operations: ['98-17=81', '5+83=88']
Exploring Operation: 81+88=169, Resulting Numbers: [169]
169,49 unequal: No Solution
Exploring Operation: 81*88=7128, Resulting Numbers: [7128]
7128,49 unequal: No Solution
Exploring Operation: 88-81=7, Resulting Numbers: [7]
7,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[98, 83, 12], Operations: ['17-5=12']
Exploring Operation: 83-12=71, Resulting Numbers: [98, 71]
Generated Node #0,1,0: 49:[98, 71] Operation: 83-12=71
Exploring Operation: 98-12=86, Resulting Numbers: [83, 86]
Generated Node #0,1,1: 49:[83, 86] Operation: 98-12=86
Exploring Operation: 98+12=110, Resulting Numbers: [83, 110]
Generated Node #0,1,2: 49:[83, 110] Operation: 98+12=110
Exploring Operation: 98-83=15, Resulting Numbers: [12, 15]
Generated Node #0,1,3: 49:[12, 15] Operation: 98-83=15
Exploring Operation: 83+12=95, Resulting Numbers: [98, 95]
Generated Node #0,1,4: 49:[98, 95] Operation: 83+12=95
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 49:[12, 15], Operations: ['17-5=12', '98-83=15']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,49 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[98, 71], Operations: ['17-5=12', '83-12=71']
Exploring Operation: 98*71=6958, Resulting Numbers: [6958]
6958,49 unequal: No Solution
Exploring Operation: 98-71=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 98+71=169, Resulting Numbers: [169]
169,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[83, 86], Operations: ['17-5=12', '98-12=86']
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 83+86=169, Resulting Numbers: [169]
169,49 unequal: No Solution
Exploring Operation: 83*86=7138, Resulting Numbers: [7138]
7138,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 49:[83, 110], Operations: ['17-5=12', '98+12=110']
Exploring Operation: 110-83=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 83*110=9130, Resulting Numbers: [9130]
9130,49 unequal: No Solution
Exploring Operation: 83+110=193, Resulting Numbers: [193]
193,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 49:[98, 95], Operations: ['17-5=12', '83+12=95']
Exploring Operation: 98*95=9310, Resulting Numbers: [9310]
9310,49 unequal: No Solution
Exploring Operation: 98+95=193, Resulting Numbers: [193]
193,49 unequal: No Solution
Exploring Operation: 98-95=3, Resulting Numbers: [3]
3,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 49:[17, 83, 93], Operations: ['98-5=93']
Exploring Operation: 17+93=110, Resulting Numbers: [83, 110]
Generated Node #0,4,0: 49:[83, 110] Operation: 17+93=110
Exploring Operation: 93-83=10, Resulting Numbers: [17, 10]
Generated Node #0,4,1: 49:[17, 10] Operation: 93-83=10
Exploring Operation: 83-17=66, Resulting Numbers: [93, 66]
Generated Node #0,4,2: 49:[93, 66] Operation: 83-17=66
Exploring Operation: 17+83=100, Resulting Numbers: [93, 100]
Generated Node #0,4,3: 49:[93, 100] Operation: 17+83=100
Exploring Operation: 93-17=76, Resulting Numbers: [83, 76]
Generated Node #0,4,4: 49:[83, 76] Operation: 93-17=76
Moving to Node #0,4,1
Current State: 49:[17, 10], Operations: ['98-5=93', '93-83=10']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,49 unequal: No Solution
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Moving to Node #0,4,4
Current State: 49:[83, 76], Operations: ['98-5=93', '93-17=76']
Exploring Operation: 83-76=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 83*76=6308, Resulting Numbers: [6308]
6308,49 unequal: No Solution
Exploring Operation: 83+76=159, Resulting Numbers: [159]
159,49 unequal: No Solution
Moving to Node #0,4,2
Current State: 49:[93, 66], Operations: ['98-5=93', '83-17=66']
Exploring Operation: 93+66=159, Resulting Numbers: [159]
159,49 unequal: No Solution
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 93*66=6138, Resulting Numbers: [6138]
6138,49 unequal: No Solution
Moving to Node #0,4,0
Current State: 49:[83, 110], Operations: ['98-5=93', '17+93=110']
Exploring Operation: 110-83=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 83*110=9130, Resulting Numbers: [9130]
9130,49 unequal: No Solution
Exploring Operation: 83+110=193, Resulting Numbers: [193]
193,49 unequal: No Solution
Moving to Node #0,4,3
Current State: 49:[93, 100], Operations: ['98-5=93', '17+83=100']
Exploring Operation: 93*100=9300, Resulting Numbers: [9300]
9300,49 unequal: No Solution
Exploring Operation: 93+100=193, Resulting Numbers: [193]
193,49 unequal: No Solution
Exploring Operation: 100-93=7, Resulting Numbers: [7]
7,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
4,
83,
80,
96
] | 33 | [
"80/4=20",
"96-83=13",
"20+13=33"
] | Current State: 33:[4, 83, 80, 96], Operations: []
Exploring Operation: 80/4=20, Resulting Numbers: [83, 96, 20]
Generated Node #2: [83, 96, 20] from Operation: 80/4=20
Current State: 33:[83, 96, 20], Operations: ['80/4=20']
Exploring Operation: 96-83=13, Resulting Numbers: [20, 13]
Generated Node #3: [20, 13] from Operation: 96-83=13
Current State: 33:[20, 13], Operations: ['80/4=20', '96-83=13']
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[4, 83, 80, 96], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [4, 96, 3]
Generated Node #0,0: 33:[4, 96, 3] Operation: 83-80=3
Exploring Operation: 96/4=24, Resulting Numbers: [83, 80, 24]
Generated Node #0,1: 33:[83, 80, 24] Operation: 96/4=24
Exploring Operation: 96-83=13, Resulting Numbers: [4, 80, 13]
Generated Node #0,2: 33:[4, 80, 13] Operation: 96-83=13
Exploring Operation: 96-80=16, Resulting Numbers: [4, 83, 16]
Generated Node #0,3: 33:[4, 83, 16] Operation: 96-80=16
Moving to Node #0,2
Current State: 33:[4, 80, 13], Operations: ['96-83=13']
Exploring Operation: 80/4=20, Resulting Numbers: [13, 20]
Generated Node #0,2,0: 33:[13, 20] Operation: 80/4=20
Exploring Operation: 80-13=67, Resulting Numbers: [4, 67]
Generated Node #0,2,1: 33:[4, 67] Operation: 80-13=67
Exploring Operation: 80-4=76, Resulting Numbers: [13, 76]
Generated Node #0,2,2: 33:[13, 76] Operation: 80-4=76
Exploring Operation: 13-4=9, Resulting Numbers: [80, 9]
Generated Node #0,2,3: 33:[80, 9] Operation: 13-4=9
Moving to Node #0,3
Current State: 33:[4, 83, 16], Operations: ['96-80=16']
Exploring Operation: 83-16=67, Resulting Numbers: [4, 67]
Generated Node #0,3,0: 33:[4, 67] Operation: 83-16=67
Exploring Operation: 16-4=12, Resulting Numbers: [83, 12]
Generated Node #0,3,1: 33:[83, 12] Operation: 16-4=12
Exploring Operation: 16/4=4, Resulting Numbers: [83, 4]
Generated Node #0,3,2: 33:[83, 4] Operation: 16/4=4
Exploring Operation: 83-4=79, Resulting Numbers: [16, 79]
Generated Node #0,3,3: 33:[16, 79] Operation: 83-4=79
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 33:[4, 67], Operations: ['96-80=16', '83-16=67']
Exploring Operation: 4*67=268, Resulting Numbers: [268]
268,33 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 33:[83, 12], Operations: ['96-80=16', '16-4=12']
Exploring Operation: 83+12=95, Resulting Numbers: [95]
95,33 unequal: No Solution
Exploring Operation: 83*12=996, Resulting Numbers: [996]
996,33 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 33:[83, 4], Operations: ['96-80=16', '16/4=4']
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,33 unequal: No Solution
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 33:[16, 79], Operations: ['96-80=16', '83-4=79']
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 16*79=1264, Resulting Numbers: [1264]
1264,33 unequal: No Solution
Exploring Operation: 16+79=95, Resulting Numbers: [95]
95,33 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: 33:[4, 96, 3], Operations: ['83-80=3']
Exploring Operation: 96/4=24, Resulting Numbers: [3, 24]
Generated Node #0,0,0: 33:[3, 24] Operation: 96/4=24
Exploring Operation: 96-3=93, Resulting Numbers: [4, 93]
Generated Node #0,0,1: 33:[4, 93] Operation: 96-3=93
Exploring Operation: 96-4=92, Resulting Numbers: [3, 92]
Generated Node #0,0,2: 33:[3, 92] Operation: 96-4=92
Exploring Operation: 96/3=32, Resulting Numbers: [4, 32]
Generated Node #0,0,3: 33:[4, 32] Operation: 96/3=32
Moving to Node #0,1
Current State: 33:[83, 80, 24], Operations: ['96/4=24']
Exploring Operation: 83-80=3, Resulting Numbers: [24, 3]
Generated Node #0,1,0: 33:[24, 3] Operation: 83-80=3
Exploring Operation: 83-24=59, Resulting Numbers: [80, 59]
Generated Node #0,1,1: 33:[80, 59] Operation: 83-24=59
Exploring Operation: 83+24=107, Resulting Numbers: [80, 107]
Generated Node #0,1,2: 33:[80, 107] Operation: 83+24=107
Exploring Operation: 80-24=56, Resulting Numbers: [83, 56]
Generated Node #0,1,3: 33:[83, 56] Operation: 80-24=56
Moving to Node #0,0,3
Current State: 33:[4, 32], Operations: ['83-80=3', '96/3=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,33 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[3, 24], Operations: ['83-80=3', '96/4=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[24, 3], Operations: ['96/4=24', '83-80=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[13, 20], Operations: ['96-83=13', '80/4=20']
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,33 unequal: No Solution
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[4, 83, 80, 96], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [4, 80, 13]
Generated Node #0,2: 33:[4, 80, 13] Operation: 96-83=13
Moving to Node #0,2
Current State: 33:[4, 80, 13], Operations: ['96-83=13']
Exploring Operation: 80/4=20, Resulting Numbers: [13, 20]
Generated Node #0,2,0: 33:[13, 20] Operation: 80/4=20
Moving to Node #0,2,0
Current State: 33:[13, 20], Operations: ['96-83=13', '80/4=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.956597 | hs_4 | sum_heuristic |
[
69,
41,
2,
56
] | 52 | [
"69+41=110",
"2+56=58",
"110-58=52"
] | Current State: 52:[69, 41, 2, 56], Operations: []
Exploring Operation: 69+41=110, Resulting Numbers: [2, 56, 110]
Generated Node #2: [2, 56, 110] from Operation: 69+41=110
Current State: 52:[2, 56, 110], Operations: ['69+41=110']
Exploring Operation: 2+56=58, Resulting Numbers: [110, 58]
Generated Node #3: [110, 58] from Operation: 2+56=58
Current State: 52:[110, 58], Operations: ['69+41=110', '2+56=58']
Exploring Operation: 110-58=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[69, 41, 2, 56], Operations: []
Exploring Operation: 69-41=28, Resulting Numbers: [2, 56, 28]
Generated Node #0,0: 52:[2, 56, 28] Operation: 69-41=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[2, 56, 28], Operations: ['69-41=28']
Exploring Operation: 56/28=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 52:[2, 2] Operation: 56/28=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[2, 2], Operations: ['69-41=28', '56/28=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
93,
16,
36,
80
] | 62 | [
"93-36=57",
"80/16=5",
"57+5=62"
] | Current State: 62:[93, 16, 36, 80], Operations: []
Exploring Operation: 93-36=57, Resulting Numbers: [16, 80, 57]
Generated Node #2: [16, 80, 57] from Operation: 93-36=57
Current State: 62:[16, 80, 57], Operations: ['93-36=57']
Exploring Operation: 80/16=5, Resulting Numbers: [57, 5]
Generated Node #3: [57, 5] from Operation: 80/16=5
Current State: 62:[57, 5], Operations: ['93-36=57', '80/16=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[93, 16, 36, 80], Operations: []
Exploring Operation: 93-80=13, Resulting Numbers: [16, 36, 13]
Generated Node #0,0: 62:[16, 36, 13] Operation: 93-80=13
Exploring Operation: 93-36=57, Resulting Numbers: [16, 80, 57]
Generated Node #0,1: 62:[16, 80, 57] Operation: 93-36=57
Moving to Node #0,0
Current State: 62:[16, 36, 13], Operations: ['93-80=13']
Exploring Operation: 16-13=3, Resulting Numbers: [36, 3]
Generated Node #0,0,0: 62:[36, 3] Operation: 16-13=3
Exploring Operation: 16+13=29, Resulting Numbers: [36, 29]
Generated Node #0,0,1: 62:[36, 29] Operation: 16+13=29
Moving to Node #0,1
Current State: 62:[16, 80, 57], Operations: ['93-36=57']
Exploring Operation: 80/16=5, Resulting Numbers: [57, 5]
Generated Node #0,1,0: 62:[57, 5] Operation: 80/16=5
Exploring Operation: 80-16=64, Resulting Numbers: [57, 64]
Generated Node #0,1,1: 62:[57, 64] Operation: 80-16=64
Moving to Node #0,0,0
Current State: 62:[36, 3], Operations: ['93-80=13', '16-13=3']
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,62 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[57, 64], Operations: ['93-36=57', '80-16=64']
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 57+64=121, Resulting Numbers: [121]
121,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[36, 29], Operations: ['93-80=13', '16+13=29']
Exploring Operation: 36+29=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[57, 5], Operations: ['93-36=57', '80/16=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[93, 16, 36, 80], Operations: []
Exploring Operation: 93-36=57, Resulting Numbers: [16, 80, 57]
Generated Node #0,1: 62:[16, 80, 57] Operation: 93-36=57
Moving to Node #0,1
Current State: 62:[16, 80, 57], Operations: ['93-36=57']
Exploring Operation: 80/16=5, Resulting Numbers: [57, 5]
Generated Node #0,1,0: 62:[57, 5] Operation: 80/16=5
Moving to Node #0,1,0
Current State: 62:[57, 5], Operations: ['93-36=57', '80/16=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
63,
53,
65,
59
] | 12 | [
"65-63=2",
"59-53=6",
"2*6=12"
] | Current State: 12:[63, 53, 65, 59], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [53, 59, 2]
Generated Node #2: [53, 59, 2] from Operation: 65-63=2
Current State: 12:[53, 59, 2], Operations: ['65-63=2']
Exploring Operation: 59-53=6, Resulting Numbers: [2, 6]
Generated Node #3: [2, 6] from Operation: 59-53=6
Current State: 12:[2, 6], Operations: ['65-63=2', '59-53=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[63, 53, 65, 59], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [53, 59, 2]
Generated Node #0,0: 12:[53, 59, 2] Operation: 65-63=2
Moving to Node #0,0
Current State: 12:[53, 59, 2], Operations: ['65-63=2']
Exploring Operation: 59-53=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 12:[2, 6] Operation: 59-53=6
Moving to Node #0,0,0
Current State: 12:[2, 6], Operations: ['65-63=2', '59-53=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[63, 53, 65, 59], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [53, 59, 2]
Generated Node #0,0: 12:[53, 59, 2] Operation: 65-63=2
Moving to Node #0,0
Current State: 12:[53, 59, 2], Operations: ['65-63=2']
Exploring Operation: 59-53=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 12:[2, 6] Operation: 59-53=6
Moving to Node #0,0,0
Current State: 12:[2, 6], Operations: ['65-63=2', '59-53=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
5,
42,
71,
17
] | 56 | [
"5*17=85",
"71-42=29",
"85-29=56"
] | Current State: 56:[5, 42, 71, 17], Operations: []
Exploring Operation: 5*17=85, Resulting Numbers: [42, 71, 85]
Generated Node #2: [42, 71, 85] from Operation: 5*17=85
Current State: 56:[42, 71, 85], Operations: ['5*17=85']
Exploring Operation: 71-42=29, Resulting Numbers: [85, 29]
Generated Node #3: [85, 29] from Operation: 71-42=29
Current State: 56:[85, 29], Operations: ['5*17=85', '71-42=29']
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[5, 42, 71, 17], Operations: []
Exploring Operation: 71-42=29, Resulting Numbers: [5, 17, 29]
Generated Node #0,0: 56:[5, 17, 29] Operation: 71-42=29
Moving to Node #0,0
Current State: 56:[5, 17, 29], Operations: ['71-42=29']
Exploring Operation: 17-5=12, Resulting Numbers: [29, 12]
Generated Node #0,0,0: 56:[29, 12] Operation: 17-5=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[29, 12], Operations: ['71-42=29', '17-5=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,56 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 |
[
76,
57,
38,
80
] | 76 | [
"80-76=4",
"57-38=19",
"4*19=76"
] | Current State: 76:[76, 57, 38, 80], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [57, 38, 4]
Generated Node #2: [57, 38, 4] from Operation: 80-76=4
Current State: 76:[57, 38, 4], Operations: ['80-76=4']
Exploring Operation: 57-38=19, Resulting Numbers: [4, 19]
Generated Node #3: [4, 19] from Operation: 57-38=19
Current State: 76:[4, 19], Operations: ['80-76=4', '57-38=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[76, 57, 38, 80], Operations: []
Exploring Operation: 76-57=19, Resulting Numbers: [38, 80, 19]
Generated Node #0,0: 76:[38, 80, 19] Operation: 76-57=19
Moving to Node #0,0
Current State: 76:[38, 80, 19], Operations: ['76-57=19']
Exploring Operation: 80-38=42, Resulting Numbers: [19, 42]
Generated Node #0,0,0: 76:[19, 42] Operation: 80-38=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[19, 42], Operations: ['76-57=19', '80-38=42']
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,76 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 |
[
36,
17,
5,
65
] | 17 | [
"36+17=53",
"5+65=70",
"70-53=17"
] | Current State: 17:[36, 17, 5, 65], Operations: []
Exploring Operation: 36+17=53, Resulting Numbers: [5, 65, 53]
Generated Node #2: [5, 65, 53] from Operation: 36+17=53
Current State: 17:[5, 65, 53], Operations: ['36+17=53']
Exploring Operation: 5+65=70, Resulting Numbers: [53, 70]
Generated Node #3: [53, 70] from Operation: 5+65=70
Current State: 17:[53, 70], Operations: ['36+17=53', '5+65=70']
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[36, 17, 5, 65], Operations: []
Exploring Operation: 36-17=19, Resulting Numbers: [5, 65, 19]
Generated Node #0,0: 17:[5, 65, 19] Operation: 36-17=19
Exploring Operation: 65-36=29, Resulting Numbers: [17, 5, 29]
Generated Node #0,1: 17:[17, 5, 29] Operation: 65-36=29
Exploring Operation: 65/5=13, Resulting Numbers: [36, 17, 13]
Generated Node #0,2: 17:[36, 17, 13] Operation: 65/5=13
Moving to Node #0,2
Current State: 17:[36, 17, 13], Operations: ['65/5=13']
Exploring Operation: 36-17=19, Resulting Numbers: [13, 19]
Generated Node #0,2,0: 17:[13, 19] Operation: 36-17=19
Exploring Operation: 36-13=23, Resulting Numbers: [17, 23]
Generated Node #0,2,1: 17:[17, 23] Operation: 36-13=23
Exploring Operation: 36+13=49, Resulting Numbers: [17, 49]
Generated Node #0,2,2: 17:[17, 49] Operation: 36+13=49
Moving to Node #0,1
Current State: 17:[17, 5, 29], Operations: ['65-36=29']
Exploring Operation: 17+5=22, Resulting Numbers: [29, 22]
Generated Node #0,1,0: 17:[29, 22] Operation: 17+5=22
Exploring Operation: 17-5=12, Resulting Numbers: [29, 12]
Generated Node #0,1,1: 17:[29, 12] Operation: 17-5=12
Exploring Operation: 29-5=24, Resulting Numbers: [17, 24]
Generated Node #0,1,2: 17:[17, 24] Operation: 29-5=24
Moving to Node #0,0
Current State: 17:[5, 65, 19], Operations: ['36-17=19']
Exploring Operation: 65/5=13, Resulting Numbers: [19, 13]
Generated Node #0,0,0: 17:[19, 13] Operation: 65/5=13
Exploring Operation: 65-19=46, Resulting Numbers: [5, 46]
Generated Node #0,0,1: 17:[5, 46] Operation: 65-19=46
Exploring Operation: 65-5=60, Resulting Numbers: [19, 60]
Generated Node #0,0,2: 17:[19, 60] Operation: 65-5=60
Moving to Node #0,2,0
Current State: 17:[13, 19], Operations: ['65/5=13', '36-17=19']
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,17 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[19, 13], Operations: ['36-17=19', '65/5=13']
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,17 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[17, 23], Operations: ['65/5=13', '36-13=23']
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,17 unequal: No Solution
Exploring Operation: 17*23=391, Resulting Numbers: [391]
391,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[17, 24], Operations: ['65-36=29', '29-5=24']
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,17 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[29, 12], Operations: ['65-36=29', '17-5=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[36, 17, 5, 65], Operations: []
Exploring Operation: 65-36=29, Resulting Numbers: [17, 5, 29]
Generated Node #0,1: 17:[17, 5, 29] Operation: 65-36=29
Moving to Node #0,1
Current State: 17:[17, 5, 29], Operations: ['65-36=29']
Exploring Operation: 17-5=12, Resulting Numbers: [29, 12]
Generated Node #0,1,1: 17:[29, 12] Operation: 17-5=12
Moving to Node #0,1,1
Current State: 17:[29, 12], Operations: ['65-36=29', '17-5=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.974826 | hs_3 | mult_heuristic |
[
35,
24,
2,
29
] | 75 | [
"35*2=70",
"29-24=5",
"70+5=75"
] | Current State: 75:[35, 24, 2, 29], Operations: []
Exploring Operation: 35*2=70, Resulting Numbers: [24, 29, 70]
Generated Node #2: [24, 29, 70] from Operation: 35*2=70
Current State: 75:[24, 29, 70], Operations: ['35*2=70']
Exploring Operation: 29-24=5, Resulting Numbers: [70, 5]
Generated Node #3: [70, 5] from Operation: 29-24=5
Current State: 75:[70, 5], Operations: ['35*2=70', '29-24=5']
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[35, 24, 2, 29], Operations: []
Exploring Operation: 35-24=11, Resulting Numbers: [2, 29, 11]
Generated Node #0,0: 75:[2, 29, 11] Operation: 35-24=11
Exploring Operation: 35-29=6, Resulting Numbers: [24, 2, 6]
Generated Node #0,1: 75:[24, 2, 6] Operation: 35-29=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[24, 2, 6], Operations: ['35-29=6']
Exploring Operation: 24+2=26, Resulting Numbers: [6, 26]
Generated Node #0,1,0: 75:[6, 26] Operation: 24+2=26
Exploring Operation: 6/2=3, Resulting Numbers: [24, 3]
Generated Node #0,1,1: 75:[24, 3] Operation: 6/2=3
Moving to Node #0,1,1
Current State: 75:[24, 3], Operations: ['35-29=6', '6/2=3']
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[6, 26], Operations: ['35-29=6', '24+2=26']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,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,0
Current State: 75:[2, 29, 11], Operations: ['35-24=11']
Exploring Operation: 29-2=27, Resulting Numbers: [11, 27]
Generated Node #0,0,0: 75:[11, 27] Operation: 29-2=27
Exploring Operation: 29-11=18, Resulting Numbers: [2, 18]
Generated Node #0,0,1: 75:[2, 18] Operation: 29-11=18
Moving to Node #0,0,1
Current State: 75:[2, 18], Operations: ['35-24=11', '29-11=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[11, 27], Operations: ['35-24=11', '29-2=27']
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,75 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 |
[
44,
30,
5,
26
] | 24 | [
"44-26=18",
"30/5=6",
"18+6=24"
] | Current State: 24:[44, 30, 5, 26], Operations: []
Exploring Operation: 44-26=18, Resulting Numbers: [30, 5, 18]
Generated Node #2: [30, 5, 18] from Operation: 44-26=18
Current State: 24:[30, 5, 18], Operations: ['44-26=18']
Exploring Operation: 30/5=6, Resulting Numbers: [18, 6]
Generated Node #3: [18, 6] from Operation: 30/5=6
Current State: 24:[18, 6], Operations: ['44-26=18', '30/5=6']
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[44, 30, 5, 26], Operations: []
Exploring Operation: 44-30=14, Resulting Numbers: [5, 26, 14]
Generated Node #0,0: 24:[5, 26, 14] Operation: 44-30=14
Exploring Operation: 44-26=18, Resulting Numbers: [30, 5, 18]
Generated Node #0,1: 24:[30, 5, 18] Operation: 44-26=18
Moving to Node #0,0
Current State: 24:[5, 26, 14], Operations: ['44-30=14']
Exploring Operation: 14-5=9, Resulting Numbers: [26, 9]
Generated Node #0,0,0: 24:[26, 9] Operation: 14-5=9
Exploring Operation: 26-14=12, Resulting Numbers: [5, 12]
Generated Node #0,0,1: 24:[5, 12] Operation: 26-14=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[5, 12], Operations: ['44-30=14', '26-14=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[26, 9], Operations: ['44-30=14', '14-5=9']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 24:[30, 5, 18], Operations: ['44-26=18']
Exploring Operation: 30-18=12, Resulting Numbers: [5, 12]
Generated Node #0,1,0: 24:[5, 12] Operation: 30-18=12
Exploring Operation: 30/5=6, Resulting Numbers: [18, 6]
Generated Node #0,1,1: 24:[18, 6] Operation: 30/5=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[5, 12], Operations: ['44-26=18', '30-18=12']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[18, 6], Operations: ['44-26=18', '30/5=6']
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[44, 30, 5, 26], Operations: []
Exploring Operation: 44-26=18, Resulting Numbers: [30, 5, 18]
Generated Node #0,1: 24:[30, 5, 18] Operation: 44-26=18
Moving to Node #0,1
Current State: 24:[30, 5, 18], Operations: ['44-26=18']
Exploring Operation: 30/5=6, Resulting Numbers: [18, 6]
Generated Node #0,1,1: 24:[18, 6] Operation: 30/5=6
Moving to Node #0,1,1
Current State: 24:[18, 6], Operations: ['44-26=18', '30/5=6']
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
88,
52,
54,
9
] | 99 | [
"88-52=36",
"54+9=63",
"36+63=99"
] | Current State: 99:[88, 52, 54, 9], Operations: []
Exploring Operation: 88-52=36, Resulting Numbers: [54, 9, 36]
Generated Node #2: [54, 9, 36] from Operation: 88-52=36
Current State: 99:[54, 9, 36], Operations: ['88-52=36']
Exploring Operation: 54+9=63, Resulting Numbers: [36, 63]
Generated Node #3: [36, 63] from Operation: 54+9=63
Current State: 99:[36, 63], Operations: ['88-52=36', '54+9=63']
Exploring Operation: 36+63=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[88, 52, 54, 9], Operations: []
Exploring Operation: 52+54=106, Resulting Numbers: [88, 9, 106]
Generated Node #0,0: 99:[88, 9, 106] Operation: 52+54=106
Exploring Operation: 88-54=34, Resulting Numbers: [52, 9, 34]
Generated Node #0,1: 99:[52, 9, 34] Operation: 88-54=34
Exploring Operation: 54-52=2, Resulting Numbers: [88, 9, 2]
Generated Node #0,2: 99:[88, 9, 2] Operation: 54-52=2
Exploring Operation: 88-52=36, Resulting Numbers: [54, 9, 36]
Generated Node #0,3: 99:[54, 9, 36] Operation: 88-52=36
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[88, 9, 2], Operations: ['54-52=2']
Exploring Operation: 88+9=97, Resulting Numbers: [2, 97]
Generated Node #0,2,0: 99:[2, 97] Operation: 88+9=97
Exploring Operation: 88+2=90, Resulting Numbers: [9, 90]
Generated Node #0,2,1: 99:[9, 90] Operation: 88+2=90
Exploring Operation: 88/2=44, Resulting Numbers: [9, 44]
Generated Node #0,2,2: 99:[9, 44] Operation: 88/2=44
Exploring Operation: 9+2=11, Resulting Numbers: [88, 11]
Generated Node #0,2,3: 99:[88, 11] Operation: 9+2=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 99:[2, 97], Operations: ['54-52=2', '88+9=97']
Exploring Operation: 2+97=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[88, 52, 54, 9], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [88, 9, 2]
Generated Node #0,2: 99:[88, 9, 2] Operation: 54-52=2
Moving to Node #0,2
Current State: 99:[88, 9, 2], Operations: ['54-52=2']
Exploring Operation: 88+9=97, Resulting Numbers: [2, 97]
Generated Node #0,2,0: 99:[2, 97] Operation: 88+9=97
Moving to Node #0,2,0
Current State: 99:[2, 97], Operations: ['54-52=2', '88+9=97']
Exploring Operation: 2+97=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
78,
75,
54,
40
] | 91 | [
"78-75=3",
"54+40=94",
"94-3=91"
] | Current State: 91:[78, 75, 54, 40], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [54, 40, 3]
Generated Node #2: [54, 40, 3] from Operation: 78-75=3
Current State: 91:[54, 40, 3], Operations: ['78-75=3']
Exploring Operation: 54+40=94, Resulting Numbers: [3, 94]
Generated Node #3: [3, 94] from Operation: 54+40=94
Current State: 91:[3, 94], Operations: ['78-75=3', '54+40=94']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[78, 75, 54, 40], Operations: []
Exploring Operation: 75-54=21, Resulting Numbers: [78, 40, 21]
Generated Node #0,0: 91:[78, 40, 21] Operation: 75-54=21
Exploring Operation: 78-54=24, Resulting Numbers: [75, 40, 24]
Generated Node #0,1: 91:[75, 40, 24] Operation: 78-54=24
Exploring Operation: 54+40=94, Resulting Numbers: [78, 75, 94]
Generated Node #0,2: 91:[78, 75, 94] Operation: 54+40=94
Exploring Operation: 54-40=14, Resulting Numbers: [78, 75, 14]
Generated Node #0,3: 91:[78, 75, 14] Operation: 54-40=14
Moving to Node #0,3
Current State: 91:[78, 75, 14], Operations: ['54-40=14']
Exploring Operation: 75+14=89, Resulting Numbers: [78, 89]
Generated Node #0,3,0: 91:[78, 89] Operation: 75+14=89
Exploring Operation: 78+14=92, Resulting Numbers: [75, 92]
Generated Node #0,3,1: 91:[75, 92] Operation: 78+14=92
Exploring Operation: 78-75=3, Resulting Numbers: [14, 3]
Generated Node #0,3,2: 91:[14, 3] Operation: 78-75=3
Exploring Operation: 78-14=64, Resulting Numbers: [75, 64]
Generated Node #0,3,3: 91:[75, 64] Operation: 78-14=64
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[14, 3], Operations: ['54-40=14', '78-75=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[78, 89], Operations: ['54-40=14', '75+14=89']
Exploring Operation: 78*89=6942, Resulting Numbers: [6942]
6942,91 unequal: No Solution
Exploring Operation: 89-78=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 78+89=167, Resulting Numbers: [167]
167,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[75, 92], Operations: ['54-40=14', '78+14=92']
Exploring Operation: 75+92=167, Resulting Numbers: [167]
167,91 unequal: No Solution
Exploring Operation: 75*92=6900, Resulting Numbers: [6900]
6900,91 unequal: No Solution
Exploring Operation: 92-75=17, Resulting Numbers: [17]
17,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[75, 64], Operations: ['54-40=14', '78-14=64']
Exploring Operation: 75*64=4800, Resulting Numbers: [4800]
4800,91 unequal: No Solution
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 75+64=139, Resulting Numbers: [139]
139,91 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: 91:[78, 75, 94], Operations: ['54+40=94']
Exploring Operation: 78-75=3, Resulting Numbers: [94, 3]
Generated Node #0,2,0: 91:[94, 3] Operation: 78-75=3
Exploring Operation: 78+75=153, Resulting Numbers: [94, 153]
Generated Node #0,2,1: 91:[94, 153] Operation: 78+75=153
Exploring Operation: 94-75=19, Resulting Numbers: [78, 19]
Generated Node #0,2,2: 91:[78, 19] Operation: 94-75=19
Exploring Operation: 94-78=16, Resulting Numbers: [75, 16]
Generated Node #0,2,3: 91:[75, 16] Operation: 94-78=16
Moving to Node #0,0
Current State: 91:[78, 40, 21], Operations: ['75-54=21']
Exploring Operation: 78+40=118, Resulting Numbers: [21, 118]
Generated Node #0,0,0: 91:[21, 118] Operation: 78+40=118
Exploring Operation: 40-21=19, Resulting Numbers: [78, 19]
Generated Node #0,0,1: 91:[78, 19] Operation: 40-21=19
Exploring Operation: 78-40=38, Resulting Numbers: [21, 38]
Generated Node #0,0,2: 91:[21, 38] Operation: 78-40=38
Exploring Operation: 78+21=99, Resulting Numbers: [40, 99]
Generated Node #0,0,3: 91:[40, 99] Operation: 78+21=99
Moving to Node #0,1
Current State: 91:[75, 40, 24], Operations: ['78-54=24']
Exploring Operation: 75-40=35, Resulting Numbers: [24, 35]
Generated Node #0,1,0: 91:[24, 35] Operation: 75-40=35
Exploring Operation: 75+40=115, Resulting Numbers: [24, 115]
Generated Node #0,1,1: 91:[24, 115] Operation: 75+40=115
Exploring Operation: 40-24=16, Resulting Numbers: [75, 16]
Generated Node #0,1,2: 91:[75, 16] Operation: 40-24=16
Exploring Operation: 75+24=99, Resulting Numbers: [40, 99]
Generated Node #0,1,3: 91:[40, 99] Operation: 75+24=99
Moving to Node #0,2,0
Current State: 91:[94, 3], Operations: ['54+40=94', '78-75=3']
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,91 unequal: No Solution
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[78, 75, 54, 40], Operations: []
Exploring Operation: 54+40=94, Resulting Numbers: [78, 75, 94]
Generated Node #0,2: 91:[78, 75, 94] Operation: 54+40=94
Moving to Node #0,2
Current State: 91:[78, 75, 94], Operations: ['54+40=94']
Exploring Operation: 78-75=3, Resulting Numbers: [94, 3]
Generated Node #0,2,0: 91:[94, 3] Operation: 78-75=3
Moving to Node #0,2,0
Current State: 91:[94, 3], Operations: ['54+40=94', '78-75=3']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.967014 | hs_4 | mult_heuristic |
[
38,
78,
79,
59
] | 21 | [
"59-38=21",
"79-78=1",
"21*1=21"
] | Current State: 21:[38, 78, 79, 59], Operations: []
Exploring Operation: 59-38=21, Resulting Numbers: [78, 79, 21]
Generated Node #2: [78, 79, 21] from Operation: 59-38=21
Current State: 21:[78, 79, 21], Operations: ['59-38=21']
Exploring Operation: 79-78=1, Resulting Numbers: [21, 1]
Generated Node #3: [21, 1] from Operation: 79-78=1
Current State: 21:[21, 1], Operations: ['59-38=21', '79-78=1']
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[38, 78, 79, 59], Operations: []
Exploring Operation: 79-78=1, Resulting Numbers: [38, 59, 1]
Generated Node #0,0: 21:[38, 59, 1] Operation: 79-78=1
Exploring Operation: 78-59=19, Resulting Numbers: [38, 79, 19]
Generated Node #0,1: 21:[38, 79, 19] Operation: 78-59=19
Exploring Operation: 79-59=20, Resulting Numbers: [38, 78, 20]
Generated Node #0,2: 21:[38, 78, 20] Operation: 79-59=20
Moving to Node #0,0
Current State: 21:[38, 59, 1], Operations: ['79-78=1']
Exploring Operation: 59-38=21, Resulting Numbers: [1, 21]
Generated Node #0,0,0: 21:[1, 21] Operation: 59-38=21
Exploring Operation: 59-1=58, Resulting Numbers: [38, 58]
Generated Node #0,0,1: 21:[38, 58] Operation: 59-1=58
Exploring Operation: 38-1=37, Resulting Numbers: [59, 37]
Generated Node #0,0,2: 21:[59, 37] Operation: 38-1=37
Moving to Node #0,2
Current State: 21:[38, 78, 20], Operations: ['79-59=20']
Exploring Operation: 78-38=40, Resulting Numbers: [20, 40]
Generated Node #0,2,0: 21:[20, 40] Operation: 78-38=40
Exploring Operation: 78-20=58, Resulting Numbers: [38, 58]
Generated Node #0,2,1: 21:[38, 58] Operation: 78-20=58
Exploring Operation: 38-20=18, Resulting Numbers: [78, 18]
Generated Node #0,2,2: 21:[78, 18] Operation: 38-20=18
Moving to Node #0,1
Current State: 21:[38, 79, 19], Operations: ['78-59=19']
Exploring Operation: 38/19=2, Resulting Numbers: [79, 2]
Generated Node #0,1,0: 21:[79, 2] Operation: 38/19=2
Exploring Operation: 79-38=41, Resulting Numbers: [19, 41]
Generated Node #0,1,1: 21:[19, 41] Operation: 79-38=41
Exploring Operation: 79-19=60, Resulting Numbers: [38, 60]
Generated Node #0,1,2: 21:[38, 60] Operation: 79-19=60
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[19, 41], Operations: ['78-59=19', '79-38=41']
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 19*41=779, Resulting Numbers: [779]
779,21 unequal: No Solution
Exploring Operation: 19+41=60, Resulting Numbers: [60]
60,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,1,2
Current State: 21:[38, 60], Operations: ['78-59=19', '79-19=60']
Exploring Operation: 38+60=98, Resulting Numbers: [98]
98,21 unequal: No Solution
Exploring Operation: 38*60=2280, Resulting Numbers: [2280]
2280,21 unequal: No Solution
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,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,1,0
Current State: 21:[79, 2], Operations: ['78-59=19', '38/19=2']
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,21 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,21 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: 21:[1, 21], Operations: ['79-78=1', '59-38=21']
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[38, 78, 79, 59], Operations: []
Exploring Operation: 79-78=1, Resulting Numbers: [38, 59, 1]
Generated Node #0,0: 21:[38, 59, 1] Operation: 79-78=1
Moving to Node #0,0
Current State: 21:[38, 59, 1], Operations: ['79-78=1']
Exploring Operation: 59-38=21, Resulting Numbers: [1, 21]
Generated Node #0,0,0: 21:[1, 21] Operation: 59-38=21
Moving to Node #0,0,0
Current State: 21:[1, 21], Operations: ['79-78=1', '59-38=21']
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
89,
4,
50,
25
] | 68 | [
"89+4=93",
"50-25=25",
"93-25=68"
] | Current State: 68:[89, 4, 50, 25], Operations: []
Exploring Operation: 89+4=93, Resulting Numbers: [50, 25, 93]
Generated Node #2: [50, 25, 93] from Operation: 89+4=93
Current State: 68:[50, 25, 93], Operations: ['89+4=93']
Exploring Operation: 50-25=25, Resulting Numbers: [93, 25]
Generated Node #3: [93, 25] from Operation: 50-25=25
Current State: 68:[93, 25], Operations: ['89+4=93', '50-25=25']
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[89, 4, 50, 25], Operations: []
Exploring Operation: 89-50=39, Resulting Numbers: [4, 25, 39]
Generated Node #0,0: 68:[4, 25, 39] Operation: 89-50=39
Moving to Node #0,0
Current State: 68:[4, 25, 39], Operations: ['89-50=39']
Exploring Operation: 39-25=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 68:[4, 14] Operation: 39-25=14
Moving to Node #0,0,0
Current State: 68:[4, 14], Operations: ['89-50=39', '39-25=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,68 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
23,
61,
20,
74
] | 16 | [
"61-23=38",
"74-20=54",
"54-38=16"
] | Current State: 16:[23, 61, 20, 74], Operations: []
Exploring Operation: 61-23=38, Resulting Numbers: [20, 74, 38]
Generated Node #2: [20, 74, 38] from Operation: 61-23=38
Current State: 16:[20, 74, 38], Operations: ['61-23=38']
Exploring Operation: 74-20=54, Resulting Numbers: [38, 54]
Generated Node #3: [38, 54] from Operation: 74-20=54
Current State: 16:[38, 54], Operations: ['61-23=38', '74-20=54']
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[23, 61, 20, 74], Operations: []
Exploring Operation: 61-23=38, Resulting Numbers: [20, 74, 38]
Generated Node #0,0: 16:[20, 74, 38] Operation: 61-23=38
Exploring Operation: 61-20=41, Resulting Numbers: [23, 74, 41]
Generated Node #0,1: 16:[23, 74, 41] Operation: 61-20=41
Exploring Operation: 74-23=51, Resulting Numbers: [61, 20, 51]
Generated Node #0,2: 16:[61, 20, 51] Operation: 74-23=51
Exploring Operation: 74-61=13, Resulting Numbers: [23, 20, 13]
Generated Node #0,3: 16:[23, 20, 13] Operation: 74-61=13
Exploring Operation: 74-20=54, Resulting Numbers: [23, 61, 54]
Generated Node #0,4: 16:[23, 61, 54] Operation: 74-20=54
Moving to Node #0,3
Current State: 16:[23, 20, 13], Operations: ['74-61=13']
Exploring Operation: 23-13=10, Resulting Numbers: [20, 10]
Generated Node #0,3,0: 16:[20, 10] Operation: 23-13=10
Exploring Operation: 20-13=7, Resulting Numbers: [23, 7]
Generated Node #0,3,1: 16:[23, 7] Operation: 20-13=7
Exploring Operation: 20+13=33, Resulting Numbers: [23, 33]
Generated Node #0,3,2: 16:[23, 33] Operation: 20+13=33
Exploring Operation: 23+13=36, Resulting Numbers: [20, 36]
Generated Node #0,3,3: 16:[20, 36] Operation: 23+13=36
Exploring Operation: 23-20=3, Resulting Numbers: [13, 3]
Generated Node #0,3,4: 16:[13, 3] Operation: 23-20=3
Moving to Node #0,2
Current State: 16:[61, 20, 51], Operations: ['74-23=51']
Exploring Operation: 61-20=41, Resulting Numbers: [51, 41]
Generated Node #0,2,0: 16:[51, 41] Operation: 61-20=41
Exploring Operation: 61+51=112, Resulting Numbers: [20, 112]
Generated Node #0,2,1: 16:[20, 112] Operation: 61+51=112
Exploring Operation: 61+20=81, Resulting Numbers: [51, 81]
Generated Node #0,2,2: 16:[51, 81] Operation: 61+20=81
Exploring Operation: 61-51=10, Resulting Numbers: [20, 10]
Generated Node #0,2,3: 16:[20, 10] Operation: 61-51=10
Exploring Operation: 51-20=31, Resulting Numbers: [61, 31]
Generated Node #0,2,4: 16:[61, 31] Operation: 51-20=31
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[20, 10], Operations: ['74-23=51', '61-51=10']
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[51, 41], Operations: ['74-23=51', '61-20=41']
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 51+41=92, Resulting Numbers: [92]
92,16 unequal: No Solution
Exploring Operation: 51*41=2091, Resulting Numbers: [2091]
2091,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 16:[61, 31], Operations: ['74-23=51', '51-20=31']
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 61*31=1891, Resulting Numbers: [1891]
1891,16 unequal: No Solution
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[20, 112], Operations: ['74-23=51', '61+51=112']
Exploring Operation: 20+112=132, Resulting Numbers: [132]
132,16 unequal: No Solution
Exploring Operation: 20*112=2240, Resulting Numbers: [2240]
2240,16 unequal: No Solution
Exploring Operation: 112-20=92, Resulting Numbers: [92]
92,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[51, 81], Operations: ['74-23=51', '61+20=81']
Exploring Operation: 51*81=4131, Resulting Numbers: [4131]
4131,16 unequal: No Solution
Exploring Operation: 81-51=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 51+81=132, Resulting Numbers: [132]
132,16 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: 16:[20, 74, 38], Operations: ['61-23=38']
Exploring Operation: 74-20=54, Resulting Numbers: [38, 54]
Generated Node #0,0,0: 16:[38, 54] Operation: 74-20=54
Exploring Operation: 74-38=36, Resulting Numbers: [20, 36]
Generated Node #0,0,1: 16:[20, 36] Operation: 74-38=36
Exploring Operation: 20+74=94, Resulting Numbers: [38, 94]
Generated Node #0,0,2: 16:[38, 94] Operation: 20+74=94
Exploring Operation: 38-20=18, Resulting Numbers: [74, 18]
Generated Node #0,0,3: 16:[74, 18] Operation: 38-20=18
Exploring Operation: 20+38=58, Resulting Numbers: [74, 58]
Generated Node #0,0,4: 16:[74, 58] Operation: 20+38=58
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[20, 36], Operations: ['61-23=38', '74-38=36']
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[23, 61, 20, 74], Operations: []
Exploring Operation: 61-23=38, Resulting Numbers: [20, 74, 38]
Generated Node #0,0: 16:[20, 74, 38] Operation: 61-23=38
Moving to Node #0,0
Current State: 16:[20, 74, 38], Operations: ['61-23=38']
Exploring Operation: 74-38=36, Resulting Numbers: [20, 36]
Generated Node #0,0,1: 16:[20, 36] Operation: 74-38=36
Moving to Node #0,0,1
Current State: 16:[20, 36], Operations: ['61-23=38', '74-38=36']
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
61,
80,
8,
63
] | 64 | [
"63-61=2",
"8*2=16",
"80-16=64"
] | Current State: 64:[61, 80, 8, 63], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [80, 8, 2]
Generated Node #2: [80, 8, 2] from Operation: 63-61=2
Current State: 64:[80, 8, 2], Operations: ['63-61=2']
Exploring Operation: 8*2=16, Resulting Numbers: [80, 16]
Generated Node #3: [80, 16] from Operation: 8*2=16
Current State: 64:[80, 16], Operations: ['63-61=2', '8*2=16']
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[61, 80, 8, 63], Operations: []
Exploring Operation: 80/8=10, Resulting Numbers: [61, 63, 10]
Generated Node #0,0: 64:[61, 63, 10] Operation: 80/8=10
Exploring Operation: 80-63=17, Resulting Numbers: [61, 8, 17]
Generated Node #0,1: 64:[61, 8, 17] Operation: 80-63=17
Exploring Operation: 80-61=19, Resulting Numbers: [8, 63, 19]
Generated Node #0,2: 64:[8, 63, 19] Operation: 80-61=19
Moving to Node #0,1
Current State: 64:[61, 8, 17], Operations: ['80-63=17']
Exploring Operation: 8+17=25, Resulting Numbers: [61, 25]
Generated Node #0,1,0: 64:[61, 25] Operation: 8+17=25
Exploring Operation: 61+8=69, Resulting Numbers: [17, 69]
Generated Node #0,1,1: 64:[17, 69] Operation: 61+8=69
Exploring Operation: 17-8=9, Resulting Numbers: [61, 9]
Generated Node #0,1,2: 64:[61, 9] Operation: 17-8=9
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[61, 9], Operations: ['80-63=17', '17-8=9']
Exploring Operation: 61*9=549, Resulting Numbers: [549]
549,64 unequal: No Solution
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[17, 69], Operations: ['80-63=17', '61+8=69']
Exploring Operation: 17+69=86, Resulting Numbers: [86]
86,64 unequal: No Solution
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 17*69=1173, Resulting Numbers: [1173]
1173,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[61, 25], Operations: ['80-63=17', '8+17=25']
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 61*25=1525, Resulting Numbers: [1525]
1525,64 unequal: No Solution
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,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:[8, 63, 19], Operations: ['80-61=19']
Exploring Operation: 19-8=11, Resulting Numbers: [63, 11]
Generated Node #0,2,0: 64:[63, 11] Operation: 19-8=11
Exploring Operation: 8+63=71, Resulting Numbers: [19, 71]
Generated Node #0,2,1: 64:[19, 71] Operation: 8+63=71
Exploring Operation: 8+19=27, Resulting Numbers: [63, 27]
Generated Node #0,2,2: 64:[63, 27] Operation: 8+19=27
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 64:[63, 11], Operations: ['80-61=19', '19-8=11']
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,64 unequal: No Solution
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[63, 27], Operations: ['80-61=19', '8+19=27']
Exploring Operation: 63*27=1701, Resulting Numbers: [1701]
1701,64 unequal: No Solution
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 63+27=90, Resulting Numbers: [90]
90,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[19, 71], Operations: ['80-61=19', '8+63=71']
Exploring Operation: 19+71=90, Resulting Numbers: [90]
90,64 unequal: No Solution
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 19*71=1349, Resulting Numbers: [1349]
1349,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 64:[61, 63, 10], Operations: ['80/8=10']
Exploring Operation: 61+10=71, Resulting Numbers: [63, 71]
Generated Node #0,0,0: 64:[63, 71] Operation: 61+10=71
Exploring Operation: 63+10=73, Resulting Numbers: [61, 73]
Generated Node #0,0,1: 64:[61, 73] Operation: 63+10=73
Exploring Operation: 63-61=2, Resulting Numbers: [10, 2]
Generated Node #0,0,2: 64:[10, 2] Operation: 63-61=2
Moving to Node #0,0,2
Current State: 64:[10, 2], Operations: ['80/8=10', '63-61=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[63, 71], Operations: ['80/8=10', '61+10=71']
Exploring Operation: 63+71=134, Resulting Numbers: [134]
134,64 unequal: No Solution
Exploring Operation: 71-63=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 63*71=4473, Resulting Numbers: [4473]
4473,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[61, 73], Operations: ['80/8=10', '63+10=73']
Exploring Operation: 61*73=4453, Resulting Numbers: [4453]
4453,64 unequal: No Solution
Exploring Operation: 73-61=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 61+73=134, Resulting Numbers: [134]
134,64 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
29,
58,
49,
71
] | 91 | [
"58-29=29",
"49+71=120",
"120-29=91"
] | Current State: 91:[29, 58, 49, 71], Operations: []
Exploring Operation: 58-29=29, Resulting Numbers: [49, 71, 29]
Generated Node #2: [49, 71, 29] from Operation: 58-29=29
Current State: 91:[49, 71, 29], Operations: ['58-29=29']
Exploring Operation: 49+71=120, Resulting Numbers: [29, 120]
Generated Node #3: [29, 120] from Operation: 49+71=120
Current State: 91:[29, 120], Operations: ['58-29=29', '49+71=120']
Exploring Operation: 120-29=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[29, 58, 49, 71], Operations: []
Exploring Operation: 58-49=9, Resulting Numbers: [29, 71, 9]
Generated Node #0,0: 91:[29, 71, 9] Operation: 58-49=9
Moving to Node #0,0
Current State: 91:[29, 71, 9], Operations: ['58-49=9']
Exploring Operation: 29+71=100, Resulting Numbers: [9, 100]
Generated Node #0,0,0: 91:[9, 100] Operation: 29+71=100
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[9, 100], Operations: ['58-49=9', '29+71=100']
Exploring Operation: 100-9=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[29, 58, 49, 71], Operations: []
Exploring Operation: 58-49=9, Resulting Numbers: [29, 71, 9]
Generated Node #0,0: 91:[29, 71, 9] Operation: 58-49=9
Moving to Node #0,0
Current State: 91:[29, 71, 9], Operations: ['58-49=9']
Exploring Operation: 29+71=100, Resulting Numbers: [9, 100]
Generated Node #0,0,0: 91:[9, 100] Operation: 29+71=100
Moving to Node #0,0,0
Current State: 91:[9, 100], Operations: ['58-49=9', '29+71=100']
Exploring Operation: 100-9=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
25,
69,
3,
79
] | 77 | [
"79-25=54",
"69/3=23",
"54+23=77"
] | Current State: 77:[25, 69, 3, 79], Operations: []
Exploring Operation: 79-25=54, Resulting Numbers: [69, 3, 54]
Generated Node #2: [69, 3, 54] from Operation: 79-25=54
Current State: 77:[69, 3, 54], Operations: ['79-25=54']
Exploring Operation: 69/3=23, Resulting Numbers: [54, 23]
Generated Node #3: [54, 23] from Operation: 69/3=23
Current State: 77:[54, 23], Operations: ['79-25=54', '69/3=23']
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[25, 69, 3, 79], Operations: []
Exploring Operation: 25*3=75, Resulting Numbers: [69, 79, 75]
Generated Node #0,0: 77:[69, 79, 75] Operation: 25*3=75
Exploring Operation: 79-69=10, Resulting Numbers: [25, 3, 10]
Generated Node #0,1: 77:[25, 3, 10] Operation: 79-69=10
Exploring Operation: 25-3=22, Resulting Numbers: [69, 79, 22]
Generated Node #0,2: 77:[69, 79, 22] Operation: 25-3=22
Exploring Operation: 69+3=72, Resulting Numbers: [25, 79, 72]
Generated Node #0,3: 77:[25, 79, 72] Operation: 69+3=72
Moving to Node #0,0
Current State: 77:[69, 79, 75], Operations: ['25*3=75']
Exploring Operation: 75-69=6, Resulting Numbers: [79, 6]
Generated Node #0,0,0: 77:[79, 6] Operation: 75-69=6
Exploring Operation: 79-75=4, Resulting Numbers: [69, 4]
Generated Node #0,0,1: 77:[69, 4] Operation: 79-75=4
Exploring Operation: 79-69=10, Resulting Numbers: [75, 10]
Generated Node #0,0,2: 77:[75, 10] Operation: 79-69=10
Exploring Operation: 69+75=144, Resulting Numbers: [79, 144]
Generated Node #0,0,3: 77:[79, 144] Operation: 69+75=144
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[79, 6], Operations: ['25*3=75', '75-69=6']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 79*6=474, Resulting Numbers: [474]
474,77 unequal: No Solution
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[75, 10], Operations: ['25*3=75', '79-69=10']
Exploring Operation: 75*10=750, Resulting Numbers: [750]
750,77 unequal: No Solution
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[69, 4], Operations: ['25*3=75', '79-75=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,77 unequal: No Solution
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 69*4=276, Resulting Numbers: [276]
276,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 77:[79, 144], Operations: ['25*3=75', '69+75=144']
Exploring Operation: 79*144=11376, Resulting Numbers: [11376]
11376,77 unequal: No Solution
Exploring Operation: 144-79=65, Resulting Numbers: [65]
65,77 unequal: No Solution
Exploring Operation: 79+144=223, Resulting Numbers: [223]
223,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 77:[25, 3, 10], Operations: ['79-69=10']
Exploring Operation: 25-10=15, Resulting Numbers: [3, 15]
Generated Node #0,1,0: 77:[3, 15] Operation: 25-10=15
Exploring Operation: 25*3=75, Resulting Numbers: [10, 75]
Generated Node #0,1,1: 77:[10, 75] Operation: 25*3=75
Exploring Operation: 25-3=22, Resulting Numbers: [10, 22]
Generated Node #0,1,2: 77:[10, 22] Operation: 25-3=22
Exploring Operation: 10-3=7, Resulting Numbers: [25, 7]
Generated Node #0,1,3: 77:[25, 7] Operation: 10-3=7
Moving to Node #0,3
Current State: 77:[25, 79, 72], Operations: ['69+3=72']
Exploring Operation: 79-25=54, Resulting Numbers: [72, 54]
Generated Node #0,3,0: 77:[72, 54] Operation: 79-25=54
Exploring Operation: 25+72=97, Resulting Numbers: [79, 97]
Generated Node #0,3,1: 77:[79, 97] Operation: 25+72=97
Exploring Operation: 79-72=7, Resulting Numbers: [25, 7]
Generated Node #0,3,2: 77:[25, 7] Operation: 79-72=7
Exploring Operation: 25+79=104, Resulting Numbers: [72, 104]
Generated Node #0,3,3: 77:[72, 104] Operation: 25+79=104
Moving to Node #0,2
Current State: 77:[69, 79, 22], Operations: ['25-3=22']
Exploring Operation: 69+22=91, Resulting Numbers: [79, 91]
Generated Node #0,2,0: 77:[79, 91] Operation: 69+22=91
Exploring Operation: 79-69=10, Resulting Numbers: [22, 10]
Generated Node #0,2,1: 77:[22, 10] Operation: 79-69=10
Exploring Operation: 79-22=57, Resulting Numbers: [69, 57]
Generated Node #0,2,2: 77:[69, 57] Operation: 79-22=57
Exploring Operation: 69-22=47, Resulting Numbers: [79, 47]
Generated Node #0,2,3: 77:[79, 47] Operation: 69-22=47
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 77:[22, 10], Operations: ['25-3=22', '79-69=10']
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[79, 91], Operations: ['25-3=22', '69+22=91']
Exploring Operation: 91-79=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 79+91=170, Resulting Numbers: [170]
170,77 unequal: No Solution
Exploring Operation: 79*91=7189, Resulting Numbers: [7189]
7189,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 77:[69, 57], Operations: ['25-3=22', '79-22=57']
Exploring Operation: 69+57=126, Resulting Numbers: [126]
126,77 unequal: No Solution
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 69*57=3933, Resulting Numbers: [3933]
3933,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 77:[79, 47], Operations: ['25-3=22', '69-22=47']
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 79*47=3713, Resulting Numbers: [3713]
3713,77 unequal: No Solution
Exploring Operation: 79+47=126, Resulting Numbers: [126]
126,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 77:[10, 75], Operations: ['79-69=10', '25*3=75']
Exploring Operation: 10*75=750, Resulting Numbers: [750]
750,77 unequal: No Solution
Exploring Operation: 10+75=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[3, 15], Operations: ['79-69=10', '25-10=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,77 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[10, 22], Operations: ['79-69=10', '25-3=22']
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,77 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[25, 7], Operations: ['69+3=72', '79-72=7']
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[25, 7], Operations: ['79-69=10', '10-3=7']
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[79, 97], Operations: ['69+3=72', '25+72=97']
Exploring Operation: 79+97=176, Resulting Numbers: [176]
176,77 unequal: No Solution
Exploring Operation: 79*97=7663, Resulting Numbers: [7663]
7663,77 unequal: No Solution
Exploring Operation: 97-79=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[72, 54], Operations: ['69+3=72', '79-25=54']
Exploring Operation: 72*54=3888, Resulting Numbers: [3888]
3888,77 unequal: No Solution
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 72+54=126, Resulting Numbers: [126]
126,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[72, 104], Operations: ['69+3=72', '25+79=104']
Exploring Operation: 72*104=7488, Resulting Numbers: [7488]
7488,77 unequal: No Solution
Exploring Operation: 104-72=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 72+104=176, Resulting Numbers: [176]
176,77 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
58,
89,
2,
3
] | 12 | [
"89+3=92",
"92/2=46",
"58-46=12"
] | Current State: 12:[58, 89, 2, 3], Operations: []
Exploring Operation: 89+3=92, Resulting Numbers: [58, 2, 92]
Generated Node #2: [58, 2, 92] from Operation: 89+3=92
Current State: 12:[58, 2, 92], Operations: ['89+3=92']
Exploring Operation: 92/2=46, Resulting Numbers: [58, 46]
Generated Node #3: [58, 46] from Operation: 92/2=46
Current State: 12:[58, 46], Operations: ['89+3=92', '92/2=46']
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[58, 89, 2, 3], Operations: []
Exploring Operation: 89-3=86, Resulting Numbers: [58, 2, 86]
Generated Node #0,0: 12:[58, 2, 86] Operation: 89-3=86
Exploring Operation: 58/2=29, Resulting Numbers: [89, 3, 29]
Generated Node #0,1: 12:[89, 3, 29] Operation: 58/2=29
Exploring Operation: 58-2=56, Resulting Numbers: [89, 3, 56]
Generated Node #0,2: 12:[89, 3, 56] Operation: 58-2=56
Exploring Operation: 58-3=55, Resulting Numbers: [89, 2, 55]
Generated Node #0,3: 12:[89, 2, 55] Operation: 58-3=55
Exploring Operation: 89-58=31, Resulting Numbers: [2, 3, 31]
Generated Node #0,4: 12:[2, 3, 31] Operation: 89-58=31
Start Sub Search at level 1: Moving to Node #0,4
Current State: 12:[2, 3, 31], Operations: ['89-58=31']
Exploring Operation: 2*3=6, Resulting Numbers: [31, 6]
Generated Node #0,4,0: 12:[31, 6] Operation: 2*3=6
Exploring Operation: 31-3=28, Resulting Numbers: [2, 28]
Generated Node #0,4,1: 12:[2, 28] Operation: 31-3=28
Exploring Operation: 2+3=5, Resulting Numbers: [31, 5]
Generated Node #0,4,2: 12:[31, 5] Operation: 2+3=5
Exploring Operation: 31-2=29, Resulting Numbers: [3, 29]
Generated Node #0,4,3: 12:[3, 29] Operation: 31-2=29
Exploring Operation: 3-2=1, Resulting Numbers: [31, 1]
Generated Node #0,4,4: 12:[31, 1] Operation: 3-2=1
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 12:[2, 28], Operations: ['89-58=31', '31-3=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,12 unequal: No Solution
No 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: 12:[3, 29], Operations: ['89-58=31', '31-2=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,12 unequal: No Solution
No 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: 12:[31, 6], Operations: ['89-58=31', '2*3=6']
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,12 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,12 unequal: No Solution
No 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: 12:[31, 5], Operations: ['89-58=31', '2+3=5']
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 31*5=155, Resulting Numbers: [155]
155,12 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,12 unequal: No Solution
No 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: 12:[31, 1], Operations: ['89-58=31', '3-2=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,12 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[89, 3, 29], Operations: ['58/2=29']
Exploring Operation: 89-29=60, Resulting Numbers: [3, 60]
Generated Node #0,1,0: 12:[3, 60] Operation: 89-29=60
Exploring Operation: 89+3=92, Resulting Numbers: [29, 92]
Generated Node #0,1,1: 12:[29, 92] Operation: 89+3=92
Exploring Operation: 3+29=32, Resulting Numbers: [89, 32]
Generated Node #0,1,2: 12:[89, 32] Operation: 3+29=32
Exploring Operation: 29-3=26, Resulting Numbers: [89, 26]
Generated Node #0,1,3: 12:[89, 26] Operation: 29-3=26
Exploring Operation: 89-3=86, Resulting Numbers: [29, 86]
Generated Node #0,1,4: 12:[29, 86] Operation: 89-3=86
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 12:[3, 60], Operations: ['58/2=29', '89-29=60']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,12 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,12 unequal: No Solution
No 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: 12:[89, 26], Operations: ['58/2=29', '29-3=26']
Exploring Operation: 89+26=115, Resulting Numbers: [115]
115,12 unequal: No Solution
Exploring Operation: 89*26=2314, Resulting Numbers: [2314]
2314,12 unequal: No Solution
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,12 unequal: No Solution
No 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: 12:[29, 86], Operations: ['58/2=29', '89-3=86']
Exploring Operation: 29+86=115, Resulting Numbers: [115]
115,12 unequal: No Solution
Exploring Operation: 29*86=2494, Resulting Numbers: [2494]
2494,12 unequal: No Solution
Exploring Operation: 86-29=57, Resulting Numbers: [57]
57,12 unequal: No Solution
No 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: 12:[29, 92], Operations: ['58/2=29', '89+3=92']
Exploring Operation: 92-29=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 29*92=2668, Resulting Numbers: [2668]
2668,12 unequal: No Solution
Exploring Operation: 29+92=121, Resulting Numbers: [121]
121,12 unequal: No Solution
No 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: 12:[89, 32], Operations: ['58/2=29', '3+29=32']
Exploring Operation: 89*32=2848, Resulting Numbers: [2848]
2848,12 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 89+32=121, Resulting Numbers: [121]
121,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[58, 2, 86], Operations: ['89-3=86']
Exploring Operation: 86-2=84, Resulting Numbers: [58, 84]
Generated Node #0,0,0: 12:[58, 84] Operation: 86-2=84
Exploring Operation: 58-2=56, Resulting Numbers: [86, 56]
Generated Node #0,0,1: 12:[86, 56] Operation: 58-2=56
Exploring Operation: 86/2=43, Resulting Numbers: [58, 43]
Generated Node #0,0,2: 12:[58, 43] Operation: 86/2=43
Exploring Operation: 86-58=28, Resulting Numbers: [2, 28]
Generated Node #0,0,3: 12:[2, 28] Operation: 86-58=28
Exploring Operation: 58/2=29, Resulting Numbers: [86, 29]
Generated Node #0,0,4: 12:[86, 29] Operation: 58/2=29
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 12:[2, 28], Operations: ['89-3=86', '86-58=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,12 unequal: No Solution
No 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: 12:[58, 43], Operations: ['89-3=86', '86/2=43']
Exploring Operation: 58+43=101, Resulting Numbers: [101]
101,12 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 58*43=2494, Resulting Numbers: [2494]
2494,12 unequal: No Solution
No 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: 12:[86, 29], Operations: ['89-3=86', '58/2=29']
Exploring Operation: 86*29=2494, Resulting Numbers: [2494]
2494,12 unequal: No Solution
Exploring Operation: 86+29=115, Resulting Numbers: [115]
115,12 unequal: No Solution
Exploring Operation: 86-29=57, Resulting Numbers: [57]
57,12 unequal: No Solution
No 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: 12:[58, 84], Operations: ['89-3=86', '86-2=84']
Exploring Operation: 58*84=4872, Resulting Numbers: [4872]
4872,12 unequal: No Solution
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 58+84=142, Resulting Numbers: [142]
142,12 unequal: No Solution
No 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: 12:[86, 56], Operations: ['89-3=86', '58-2=56']
Exploring Operation: 86*56=4816, Resulting Numbers: [4816]
4816,12 unequal: No Solution
Exploring Operation: 86+56=142, Resulting Numbers: [142]
142,12 unequal: No Solution
Exploring Operation: 86-56=30, Resulting Numbers: [30]
30,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[89, 2, 55], Operations: ['58-3=55']
Exploring Operation: 55-2=53, Resulting Numbers: [89, 53]
Generated Node #0,3,0: 12:[89, 53] Operation: 55-2=53
Exploring Operation: 89+2=91, Resulting Numbers: [55, 91]
Generated Node #0,3,1: 12:[55, 91] Operation: 89+2=91
Exploring Operation: 89-2=87, Resulting Numbers: [55, 87]
Generated Node #0,3,2: 12:[55, 87] Operation: 89-2=87
Exploring Operation: 89-55=34, Resulting Numbers: [2, 34]
Generated Node #0,3,3: 12:[2, 34] Operation: 89-55=34
Exploring Operation: 2+55=57, Resulting Numbers: [89, 57]
Generated Node #0,3,4: 12:[89, 57] Operation: 2+55=57
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 12:[2, 34], Operations: ['58-3=55', '89-55=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,12 unequal: No Solution
No 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: 12:[89, 53], Operations: ['58-3=55', '55-2=53']
Exploring Operation: 89+53=142, Resulting Numbers: [142]
142,12 unequal: No Solution
Exploring Operation: 89*53=4717, Resulting Numbers: [4717]
4717,12 unequal: No Solution
Exploring Operation: 89-53=36, Resulting Numbers: [36]
36,12 unequal: No Solution
No 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: 12:[55, 87], Operations: ['58-3=55', '89-2=87']
Exploring Operation: 55*87=4785, Resulting Numbers: [4785]
4785,12 unequal: No Solution
Exploring Operation: 55+87=142, Resulting Numbers: [142]
142,12 unequal: No Solution
Exploring Operation: 87-55=32, Resulting Numbers: [32]
32,12 unequal: No Solution
No 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: 12:[55, 91], Operations: ['58-3=55', '89+2=91']
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 55*91=5005, Resulting Numbers: [5005]
5005,12 unequal: No Solution
Exploring Operation: 55+91=146, Resulting Numbers: [146]
146,12 unequal: No Solution
No 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: 12:[89, 57], Operations: ['58-3=55', '2+55=57']
Exploring Operation: 89-57=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 89*57=5073, Resulting Numbers: [5073]
5073,12 unequal: No Solution
Exploring Operation: 89+57=146, Resulting Numbers: [146]
146,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[89, 3, 56], Operations: ['58-2=56']
Exploring Operation: 89+3=92, Resulting Numbers: [56, 92]
Generated Node #0,2,0: 12:[56, 92] Operation: 89+3=92
Exploring Operation: 56-3=53, Resulting Numbers: [89, 53]
Generated Node #0,2,1: 12:[89, 53] Operation: 56-3=53
Exploring Operation: 89-56=33, Resulting Numbers: [3, 33]
Generated Node #0,2,2: 12:[3, 33] Operation: 89-56=33
Exploring Operation: 3+56=59, Resulting Numbers: [89, 59]
Generated Node #0,2,3: 12:[89, 59] Operation: 3+56=59
Exploring Operation: 89-3=86, Resulting Numbers: [56, 86]
Generated Node #0,2,4: 12:[56, 86] Operation: 89-3=86
Moving to Node #0,2,2
Current State: 12:[3, 33], Operations: ['58-2=56', '89-56=33']
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,12 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Moving to Node #0,2,4
Current State: 12:[56, 86], Operations: ['58-2=56', '89-3=86']
Exploring Operation: 56*86=4816, Resulting Numbers: [4816]
4816,12 unequal: No Solution
Exploring Operation: 86-56=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 56+86=142, Resulting Numbers: [142]
142,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[89, 53], Operations: ['58-2=56', '56-3=53']
Exploring Operation: 89*53=4717, Resulting Numbers: [4717]
4717,12 unequal: No Solution
Exploring Operation: 89+53=142, Resulting Numbers: [142]
142,12 unequal: No Solution
Exploring Operation: 89-53=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[56, 92], Operations: ['58-2=56', '89+3=92']
Exploring Operation: 56*92=5152, Resulting Numbers: [5152]
5152,12 unequal: No Solution
Exploring Operation: 92-56=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 56+92=148, Resulting Numbers: [148]
148,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[89, 59], Operations: ['58-2=56', '3+56=59']
Exploring Operation: 89+59=148, Resulting Numbers: [148]
148,12 unequal: No Solution
Exploring Operation: 89*59=5251, Resulting Numbers: [5251]
5251,12 unequal: No Solution
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,12 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 |
[
60,
24,
27,
59
] | 80 | [
"59-27=32",
"60*32=1920",
"1920/24=80"
] | Current State: 80:[60, 24, 27, 59], Operations: []
Exploring Operation: 59-27=32, Resulting Numbers: [60, 24, 32]
Generated Node #2: [60, 24, 32] from Operation: 59-27=32
Current State: 80:[60, 24, 32], Operations: ['59-27=32']
Exploring Operation: 60*32=1920, Resulting Numbers: [24, 1920]
Generated Node #3: [24, 1920] from Operation: 60*32=1920
Current State: 80:[24, 1920], Operations: ['59-27=32', '60*32=1920']
Exploring Operation: 1920/24=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[60, 24, 27, 59], Operations: []
Exploring Operation: 60-59=1, Resulting Numbers: [24, 27, 1]
Generated Node #0,0: 80:[24, 27, 1] Operation: 60-59=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[24, 27, 1], Operations: ['60-59=1']
Exploring Operation: 27-24=3, Resulting Numbers: [1, 3]
Generated Node #0,0,0: 80:[1, 3] Operation: 27-24=3
Moving to Node #0,0,0
Current State: 80:[1, 3], Operations: ['60-59=1', '27-24=3']
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,80 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 |
[
3,
74,
6,
40
] | 40 | [
"3*40=120",
"74+6=80",
"120-80=40"
] | Current State: 40:[3, 74, 6, 40], Operations: []
Exploring Operation: 3*40=120, Resulting Numbers: [74, 6, 120]
Generated Node #2: [74, 6, 120] from Operation: 3*40=120
Current State: 40:[74, 6, 120], Operations: ['3*40=120']
Exploring Operation: 74+6=80, Resulting Numbers: [120, 80]
Generated Node #3: [120, 80] from Operation: 74+6=80
Current State: 40:[120, 80], Operations: ['3*40=120', '74+6=80']
Exploring Operation: 120-80=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[3, 74, 6, 40], Operations: []
Exploring Operation: 74-40=34, Resulting Numbers: [3, 6, 34]
Generated Node #0,0: 40:[3, 6, 34] Operation: 74-40=34
Moving to Node #0,0
Current State: 40:[3, 6, 34], Operations: ['74-40=34']
Exploring Operation: 6+34=40, Resulting Numbers: [3, 40]
Generated Node #0,0,0: 40:[3, 40] Operation: 6+34=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[3, 40], Operations: ['74-40=34', '6+34=40']
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,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 | sum_heuristic |
[
41,
1,
2,
16
] | 32 | [
"41-1=40",
"16/2=8",
"40-8=32"
] | Current State: 32:[41, 1, 2, 16], Operations: []
Exploring Operation: 41-1=40, Resulting Numbers: [2, 16, 40]
Generated Node #2: [2, 16, 40] from Operation: 41-1=40
Current State: 32:[2, 16, 40], Operations: ['41-1=40']
Exploring Operation: 16/2=8, Resulting Numbers: [40, 8]
Generated Node #3: [40, 8] from Operation: 16/2=8
Current State: 32:[40, 8], Operations: ['41-1=40', '16/2=8']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[41, 1, 2, 16], Operations: []
Exploring Operation: 41-1=40, Resulting Numbers: [2, 16, 40]
Generated Node #0,0: 32:[2, 16, 40] Operation: 41-1=40
Exploring Operation: 41-2=39, Resulting Numbers: [1, 16, 39]
Generated Node #0,1: 32:[1, 16, 39] Operation: 41-2=39
Exploring Operation: 41*1=41, Resulting Numbers: [2, 16, 41]
Generated Node #0,2: 32:[2, 16, 41] Operation: 41*1=41
Exploring Operation: 41-16=25, Resulting Numbers: [1, 2, 25]
Generated Node #0,3: 32:[1, 2, 25] Operation: 41-16=25
Exploring Operation: 41/1=41, Resulting Numbers: [2, 16, 41]
Generated Node #0,4: 32:[2, 16, 41] Operation: 41/1=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[2, 16, 40], Operations: ['41-1=40']
Exploring Operation: 40/2=20, Resulting Numbers: [16, 20]
Generated Node #0,0,0: 32:[16, 20] Operation: 40/2=20
Exploring Operation: 16/2=8, Resulting Numbers: [40, 8]
Generated Node #0,0,1: 32:[40, 8] Operation: 16/2=8
Exploring Operation: 40-2=38, Resulting Numbers: [16, 38]
Generated Node #0,0,2: 32:[16, 38] Operation: 40-2=38
Exploring Operation: 40-16=24, Resulting Numbers: [2, 24]
Generated Node #0,0,3: 32:[2, 24] Operation: 40-16=24
Exploring Operation: 2*16=32, Resulting Numbers: [40, 32]
Generated Node #0,0,4: 32:[40, 32] Operation: 2*16=32
Moving to Node #0,0,0
Current State: 32:[16, 20], Operations: ['41-1=40', '40/2=20']
Exploring Operation: 16+20=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 16*20=320, Resulting Numbers: [320]
320,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[16, 38], Operations: ['41-1=40', '40-2=38']
Exploring Operation: 16*38=608, Resulting Numbers: [608]
608,32 unequal: No Solution
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[40, 8], Operations: ['41-1=40', '16/2=8']
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Exploring Operation: 40*8=320, Resulting Numbers: [320]
320,32 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[41, 1, 2, 16], Operations: []
Exploring Operation: 41-1=40, Resulting Numbers: [2, 16, 40]
Generated Node #0,0: 32:[2, 16, 40] Operation: 41-1=40
Moving to Node #0,0
Current State: 32:[2, 16, 40], Operations: ['41-1=40']
Exploring Operation: 16/2=8, Resulting Numbers: [40, 8]
Generated Node #0,0,1: 32:[40, 8] Operation: 16/2=8
Moving to Node #0,0,1
Current State: 32:[40, 8], Operations: ['41-1=40', '16/2=8']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | mult_heuristic |
[
25,
89,
65,
71
] | 58 | [
"89-25=64",
"71-65=6",
"64-6=58"
] | Current State: 58:[25, 89, 65, 71], Operations: []
Exploring Operation: 89-25=64, Resulting Numbers: [65, 71, 64]
Generated Node #2: [65, 71, 64] from Operation: 89-25=64
Current State: 58:[65, 71, 64], Operations: ['89-25=64']
Exploring Operation: 71-65=6, Resulting Numbers: [64, 6]
Generated Node #3: [64, 6] from Operation: 71-65=6
Current State: 58:[64, 6], Operations: ['89-25=64', '71-65=6']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[25, 89, 65, 71], Operations: []
Exploring Operation: 89-65=24, Resulting Numbers: [25, 71, 24]
Generated Node #0,0: 58:[25, 71, 24] Operation: 89-65=24
Moving to Node #0,0
Current State: 58:[25, 71, 24], Operations: ['89-65=24']
Exploring Operation: 25-24=1, Resulting Numbers: [71, 1]
Generated Node #0,0,0: 58:[71, 1] Operation: 25-24=1
Moving to Node #0,0,0
Current State: 58:[71, 1], Operations: ['89-65=24', '25-24=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,58 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
36,
26,
48,
62
] | 66 | [
"26+62=88",
"36*88=3168",
"3168/48=66"
] | Current State: 66:[36, 26, 48, 62], Operations: []
Exploring Operation: 26+62=88, Resulting Numbers: [36, 48, 88]
Generated Node #2: [36, 48, 88] from Operation: 26+62=88
Current State: 66:[36, 48, 88], Operations: ['26+62=88']
Exploring Operation: 36*88=3168, Resulting Numbers: [48, 3168]
Generated Node #3: [48, 3168] from Operation: 36*88=3168
Current State: 66:[48, 3168], Operations: ['26+62=88', '36*88=3168']
Exploring Operation: 3168/48=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[36, 26, 48, 62], Operations: []
Exploring Operation: 26+48=74, Resulting Numbers: [36, 62, 74]
Generated Node #0,0: 66:[36, 62, 74] Operation: 26+48=74
Exploring Operation: 36-26=10, Resulting Numbers: [48, 62, 10]
Generated Node #0,1: 66:[48, 62, 10] Operation: 36-26=10
Exploring Operation: 48-26=22, Resulting Numbers: [36, 62, 22]
Generated Node #0,2: 66:[36, 62, 22] Operation: 48-26=22
Exploring Operation: 48-36=12, Resulting Numbers: [26, 62, 12]
Generated Node #0,3: 66:[26, 62, 12] Operation: 48-36=12
Exploring Operation: 62-48=14, Resulting Numbers: [36, 26, 14]
Generated Node #0,4: 66:[36, 26, 14] Operation: 62-48=14
Moving to Node #0,2
Current State: 66:[36, 62, 22], Operations: ['48-26=22']
Exploring Operation: 62-22=40, Resulting Numbers: [36, 40]
Generated Node #0,2,0: 66:[36, 40] Operation: 62-22=40
Exploring Operation: 36+22=58, Resulting Numbers: [62, 58]
Generated Node #0,2,1: 66:[62, 58] Operation: 36+22=58
Exploring Operation: 36-22=14, Resulting Numbers: [62, 14]
Generated Node #0,2,2: 66:[62, 14] Operation: 36-22=14
Exploring Operation: 62+22=84, Resulting Numbers: [36, 84]
Generated Node #0,2,3: 66:[36, 84] Operation: 62+22=84
Exploring Operation: 62-36=26, Resulting Numbers: [22, 26]
Generated Node #0,2,4: 66:[22, 26] Operation: 62-36=26
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 66:[22, 26], Operations: ['48-26=22', '62-36=26']
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,66 unequal: No Solution
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 66:[62, 14], Operations: ['48-26=22', '36-22=14']
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 62*14=868, Resulting Numbers: [868]
868,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 66:[36, 40], Operations: ['48-26=22', '62-22=40']
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,66 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 66:[62, 58], Operations: ['48-26=22', '36+22=58']
Exploring Operation: 62+58=120, Resulting Numbers: [120]
120,66 unequal: No Solution
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 62*58=3596, Resulting Numbers: [3596]
3596,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 66:[36, 84], Operations: ['48-26=22', '62+22=84']
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 36+84=120, Resulting Numbers: [120]
120,66 unequal: No Solution
Exploring Operation: 36*84=3024, Resulting Numbers: [3024]
3024,66 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: 66:[26, 62, 12], Operations: ['48-36=12']
Exploring Operation: 26+12=38, Resulting Numbers: [62, 38]
Generated Node #0,3,0: 66:[62, 38] Operation: 26+12=38
Exploring Operation: 62+12=74, Resulting Numbers: [26, 74]
Generated Node #0,3,1: 66:[26, 74] Operation: 62+12=74
Exploring Operation: 26-12=14, Resulting Numbers: [62, 14]
Generated Node #0,3,2: 66:[62, 14] Operation: 26-12=14
Exploring Operation: 62-26=36, Resulting Numbers: [12, 36]
Generated Node #0,3,3: 66:[12, 36] Operation: 62-26=36
Exploring Operation: 62-12=50, Resulting Numbers: [26, 50]
Generated Node #0,3,4: 66:[26, 50] Operation: 62-12=50
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[12, 36], Operations: ['48-36=12', '62-26=36']
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,66 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[62, 14], Operations: ['48-36=12', '26-12=14']
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 62*14=868, Resulting Numbers: [868]
868,66 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[62, 38], Operations: ['48-36=12', '26+12=38']
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 62*38=2356, Resulting Numbers: [2356]
2356,66 unequal: No Solution
Exploring Operation: 62+38=100, Resulting Numbers: [100]
100,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[26, 74], Operations: ['48-36=12', '62+12=74']
Exploring Operation: 26*74=1924, Resulting Numbers: [1924]
1924,66 unequal: No Solution
Exploring Operation: 26+74=100, Resulting Numbers: [100]
100,66 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 66:[26, 50], Operations: ['48-36=12', '62-12=50']
Exploring Operation: 26+50=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 26*50=1300, Resulting Numbers: [1300]
1300,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 66:[36, 26, 14], Operations: ['62-48=14']
Exploring Operation: 26-14=12, Resulting Numbers: [36, 12]
Generated Node #0,4,0: 66:[36, 12] Operation: 26-14=12
Exploring Operation: 26+14=40, Resulting Numbers: [36, 40]
Generated Node #0,4,1: 66:[36, 40] Operation: 26+14=40
Exploring Operation: 36-26=10, Resulting Numbers: [14, 10]
Generated Node #0,4,2: 66:[14, 10] Operation: 36-26=10
Exploring Operation: 36-14=22, Resulting Numbers: [26, 22]
Generated Node #0,4,3: 66:[26, 22] Operation: 36-14=22
Exploring Operation: 36+26=62, Resulting Numbers: [14, 62]
Generated Node #0,4,4: 66:[14, 62] Operation: 36+26=62
Moving to Node #0,0
Current State: 66:[36, 62, 74], Operations: ['26+48=74']
Exploring Operation: 74-36=38, Resulting Numbers: [62, 38]
Generated Node #0,0,0: 66:[62, 38] Operation: 74-36=38
Exploring Operation: 36+62=98, Resulting Numbers: [74, 98]
Generated Node #0,0,1: 66:[74, 98] Operation: 36+62=98
Exploring Operation: 74-62=12, Resulting Numbers: [36, 12]
Generated Node #0,0,2: 66:[36, 12] Operation: 74-62=12
Exploring Operation: 36+74=110, Resulting Numbers: [62, 110]
Generated Node #0,0,3: 66:[62, 110] Operation: 36+74=110
Exploring Operation: 62-36=26, Resulting Numbers: [74, 26]
Generated Node #0,0,4: 66:[74, 26] Operation: 62-36=26
Moving to Node #0,1
Current State: 66:[48, 62, 10], Operations: ['36-26=10']
Exploring Operation: 62+10=72, Resulting Numbers: [48, 72]
Generated Node #0,1,0: 66:[48, 72] Operation: 62+10=72
Exploring Operation: 62-48=14, Resulting Numbers: [10, 14]
Generated Node #0,1,1: 66:[10, 14] Operation: 62-48=14
Exploring Operation: 48-10=38, Resulting Numbers: [62, 38]
Generated Node #0,1,2: 66:[62, 38] Operation: 48-10=38
Exploring Operation: 48+10=58, Resulting Numbers: [62, 58]
Generated Node #0,1,3: 66:[62, 58] Operation: 48+10=58
Exploring Operation: 62-10=52, Resulting Numbers: [48, 52]
Generated Node #0,1,4: 66:[48, 52] Operation: 62-10=52
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[10, 14], Operations: ['36-26=10', '62-48=14']
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,66 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[62, 38], Operations: ['36-26=10', '48-10=38']
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 62+38=100, Resulting Numbers: [100]
100,66 unequal: No Solution
Exploring Operation: 62*38=2356, Resulting Numbers: [2356]
2356,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[62, 58], Operations: ['36-26=10', '48+10=58']
Exploring Operation: 62*58=3596, Resulting Numbers: [3596]
3596,66 unequal: No Solution
Exploring Operation: 62+58=120, Resulting Numbers: [120]
120,66 unequal: No Solution
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[48, 72], Operations: ['36-26=10', '62+10=72']
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,66 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 66:[48, 52], Operations: ['36-26=10', '62-10=52']
Exploring Operation: 48*52=2496, Resulting Numbers: [2496]
2496,66 unequal: No Solution
Exploring Operation: 48+52=100, Resulting Numbers: [100]
100,66 unequal: No Solution
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 66:[36, 12], Operations: ['62-48=14', '26-14=12']
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,66 unequal: No Solution
Moving to Node #0,4,3
Current State: 66:[26, 22], Operations: ['62-48=14', '36-14=22']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[36, 12], Operations: ['26+48=74', '74-62=12']
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,66 unequal: No Solution
Moving to Node #0,4,2
Current State: 66:[14, 10], Operations: ['62-48=14', '36-26=10']
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,66 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Moving to Node #0,4,4
Current State: 66:[14, 62], Operations: ['62-48=14', '36+26=62']
Exploring Operation: 14+62=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 14*62=868, Resulting Numbers: [868]
868,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[62, 38], Operations: ['26+48=74', '74-36=38']
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 62*38=2356, Resulting Numbers: [2356]
2356,66 unequal: No Solution
Exploring Operation: 62+38=100, Resulting Numbers: [100]
100,66 unequal: No Solution
Moving to Node #0,4,1
Current State: 66:[36, 40], Operations: ['62-48=14', '26+14=40']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,66 unequal: No Solution
Moving to Node #0,0,4
Current State: 66:[74, 26], Operations: ['26+48=74', '62-36=26']
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,66 unequal: No Solution
Exploring Operation: 74*26=1924, Resulting Numbers: [1924]
1924,66 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[74, 98], Operations: ['26+48=74', '36+62=98']
Exploring Operation: 74+98=172, Resulting Numbers: [172]
172,66 unequal: No Solution
Exploring Operation: 98-74=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 74*98=7252, Resulting Numbers: [7252]
7252,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[62, 110], Operations: ['26+48=74', '36+74=110']
Exploring Operation: 62*110=6820, Resulting Numbers: [6820]
6820,66 unequal: No Solution
Exploring Operation: 110-62=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 62+110=172, Resulting Numbers: [172]
172,66 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
75,
43,
11,
87
] | 24 | [
"11*87=957",
"75+957=1032",
"1032/43=24"
] | Current State: 24:[75, 43, 11, 87], Operations: []
Exploring Operation: 11*87=957, Resulting Numbers: [75, 43, 957]
Generated Node #2: [75, 43, 957] from Operation: 11*87=957
Current State: 24:[75, 43, 957], Operations: ['11*87=957']
Exploring Operation: 75+957=1032, Resulting Numbers: [43, 1032]
Generated Node #3: [43, 1032] from Operation: 75+957=1032
Current State: 24:[43, 1032], Operations: ['11*87=957', '75+957=1032']
Exploring Operation: 1032/43=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[75, 43, 11, 87], Operations: []
Exploring Operation: 87-75=12, Resulting Numbers: [43, 11, 12]
Generated Node #0,0: 24:[43, 11, 12] Operation: 87-75=12
Moving to Node #0,0
Current State: 24:[43, 11, 12], Operations: ['87-75=12']
Exploring Operation: 43-11=32, Resulting Numbers: [12, 32]
Generated Node #0,0,0: 24:[12, 32] Operation: 43-11=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[12, 32], Operations: ['87-75=12', '43-11=32']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,24 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 |
[
41,
55,
8,
33
] | 27 | [
"55-41=14",
"8+33=41",
"41-14=27"
] | Current State: 27:[41, 55, 8, 33], Operations: []
Exploring Operation: 55-41=14, Resulting Numbers: [8, 33, 14]
Generated Node #2: [8, 33, 14] from Operation: 55-41=14
Current State: 27:[8, 33, 14], Operations: ['55-41=14']
Exploring Operation: 8+33=41, Resulting Numbers: [14, 41]
Generated Node #3: [14, 41] from Operation: 8+33=41
Current State: 27:[14, 41], Operations: ['55-41=14', '8+33=41']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[41, 55, 8, 33], Operations: []
Exploring Operation: 55-41=14, Resulting Numbers: [8, 33, 14]
Generated Node #0,0: 27:[8, 33, 14] Operation: 55-41=14
Exploring Operation: 41-8=33, Resulting Numbers: [55, 33, 33]
Generated Node #0,1: 27:[55, 33, 33] Operation: 41-8=33
Exploring Operation: 55-8=47, Resulting Numbers: [41, 33, 47]
Generated Node #0,2: 27:[41, 33, 47] Operation: 55-8=47
Exploring Operation: 41-33=8, Resulting Numbers: [55, 8, 8]
Generated Node #0,3: 27:[55, 8, 8] Operation: 41-33=8
Exploring Operation: 55-33=22, Resulting Numbers: [41, 8, 22]
Generated Node #0,4: 27:[41, 8, 22] Operation: 55-33=22
Moving to Node #0,0
Current State: 27:[8, 33, 14], Operations: ['55-41=14']
Exploring Operation: 8+33=41, Resulting Numbers: [14, 41]
Generated Node #0,0,0: 27:[14, 41] Operation: 8+33=41
Exploring Operation: 33-14=19, Resulting Numbers: [8, 19]
Generated Node #0,0,1: 27:[8, 19] Operation: 33-14=19
Exploring Operation: 8+14=22, Resulting Numbers: [33, 22]
Generated Node #0,0,2: 27:[33, 22] Operation: 8+14=22
Exploring Operation: 33-8=25, Resulting Numbers: [14, 25]
Generated Node #0,0,3: 27:[14, 25] Operation: 33-8=25
Exploring Operation: 14-8=6, Resulting Numbers: [33, 6]
Generated Node #0,0,4: 27:[33, 6] Operation: 14-8=6
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 27:[14, 25], Operations: ['55-41=14', '33-8=25']
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,27 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,27 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,27 unequal: No Solution
No 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: 27:[8, 19], Operations: ['55-41=14', '33-14=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[41, 55, 8, 33], Operations: []
Exploring Operation: 55-41=14, Resulting Numbers: [8, 33, 14]
Generated Node #0,0: 27:[8, 33, 14] Operation: 55-41=14
Moving to Node #0,0
Current State: 27:[8, 33, 14], Operations: ['55-41=14']
Exploring Operation: 33-14=19, Resulting Numbers: [8, 19]
Generated Node #0,0,1: 27:[8, 19] Operation: 33-14=19
Moving to Node #0,0,1
Current State: 27:[8, 19], Operations: ['55-41=14', '33-14=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
52,
69,
82,
97
] | 58 | [
"52+69=121",
"82+97=179",
"179-121=58"
] | Current State: 58:[52, 69, 82, 97], Operations: []
Exploring Operation: 52+69=121, Resulting Numbers: [82, 97, 121]
Generated Node #2: [82, 97, 121] from Operation: 52+69=121
Current State: 58:[82, 97, 121], Operations: ['52+69=121']
Exploring Operation: 82+97=179, Resulting Numbers: [121, 179]
Generated Node #3: [121, 179] from Operation: 82+97=179
Current State: 58:[121, 179], Operations: ['52+69=121', '82+97=179']
Exploring Operation: 179-121=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[52, 69, 82, 97], Operations: []
Exploring Operation: 97-82=15, Resulting Numbers: [52, 69, 15]
Generated Node #0,0: 58:[52, 69, 15] Operation: 97-82=15
Exploring Operation: 97-69=28, Resulting Numbers: [52, 82, 28]
Generated Node #0,1: 58:[52, 82, 28] Operation: 97-69=28
Exploring Operation: 82-69=13, Resulting Numbers: [52, 97, 13]
Generated Node #0,2: 58:[52, 97, 13] Operation: 82-69=13
Exploring Operation: 82-52=30, Resulting Numbers: [69, 97, 30]
Generated Node #0,3: 58:[69, 97, 30] Operation: 82-52=30
Exploring Operation: 97-52=45, Resulting Numbers: [69, 82, 45]
Generated Node #0,4: 58:[69, 82, 45] Operation: 97-52=45
Moving to Node #0,0
Current State: 58:[52, 69, 15], Operations: ['97-82=15']
Exploring Operation: 69-15=54, Resulting Numbers: [52, 54]
Generated Node #0,0,0: 58:[52, 54] Operation: 69-15=54
Exploring Operation: 52-15=37, Resulting Numbers: [69, 37]
Generated Node #0,0,1: 58:[69, 37] Operation: 52-15=37
Exploring Operation: 69-52=17, Resulting Numbers: [15, 17]
Generated Node #0,0,2: 58:[15, 17] Operation: 69-52=17
Exploring Operation: 69+15=84, Resulting Numbers: [52, 84]
Generated Node #0,0,3: 58:[52, 84] Operation: 69+15=84
Exploring Operation: 52+15=67, Resulting Numbers: [69, 67]
Generated Node #0,0,4: 58:[69, 67] Operation: 52+15=67
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[52, 54], Operations: ['97-82=15', '69-15=54']
Exploring Operation: 52*54=2808, Resulting Numbers: [2808]
2808,58 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 52+54=106, Resulting Numbers: [106]
106,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[69, 37], Operations: ['97-82=15', '52-15=37']
Exploring Operation: 69*37=2553, Resulting Numbers: [2553]
2553,58 unequal: No Solution
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 69+37=106, Resulting Numbers: [106]
106,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 58:[69, 67], Operations: ['97-82=15', '52+15=67']
Exploring Operation: 69*67=4623, Resulting Numbers: [4623]
4623,58 unequal: No Solution
Exploring Operation: 69+67=136, Resulting Numbers: [136]
136,58 unequal: No Solution
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[15, 17], Operations: ['97-82=15', '69-52=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,58 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 58:[52, 84], Operations: ['97-82=15', '69+15=84']
Exploring Operation: 52+84=136, Resulting Numbers: [136]
136,58 unequal: No Solution
Exploring Operation: 52*84=4368, Resulting Numbers: [4368]
4368,58 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 58:[52, 82, 28], Operations: ['97-69=28']
Exploring Operation: 82+28=110, Resulting Numbers: [52, 110]
Generated Node #0,1,0: 58:[52, 110] Operation: 82+28=110
Exploring Operation: 52+28=80, Resulting Numbers: [82, 80]
Generated Node #0,1,1: 58:[82, 80] Operation: 52+28=80
Exploring Operation: 82-28=54, Resulting Numbers: [52, 54]
Generated Node #0,1,2: 58:[52, 54] Operation: 82-28=54
Exploring Operation: 52-28=24, Resulting Numbers: [82, 24]
Generated Node #0,1,3: 58:[82, 24] Operation: 52-28=24
Exploring Operation: 82-52=30, Resulting Numbers: [28, 30]
Generated Node #0,1,4: 58:[28, 30] Operation: 82-52=30
Moving to Node #0,4
Current State: 58:[69, 82, 45], Operations: ['97-52=45']
Exploring Operation: 69+45=114, Resulting Numbers: [82, 114]
Generated Node #0,4,0: 58:[82, 114] Operation: 69+45=114
Exploring Operation: 69-45=24, Resulting Numbers: [82, 24]
Generated Node #0,4,1: 58:[82, 24] Operation: 69-45=24
Exploring Operation: 82-45=37, Resulting Numbers: [69, 37]
Generated Node #0,4,2: 58:[69, 37] Operation: 82-45=37
Exploring Operation: 82-69=13, Resulting Numbers: [45, 13]
Generated Node #0,4,3: 58:[45, 13] Operation: 82-69=13
Exploring Operation: 82+45=127, Resulting Numbers: [69, 127]
Generated Node #0,4,4: 58:[69, 127] Operation: 82+45=127
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 58:[69, 37], Operations: ['97-52=45', '82-45=37']
Exploring Operation: 69*37=2553, Resulting Numbers: [2553]
2553,58 unequal: No Solution
Exploring Operation: 69+37=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 58:[45, 13], Operations: ['97-52=45', '82-69=13']
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[52, 69, 82, 97], Operations: []
Exploring Operation: 97-52=45, Resulting Numbers: [69, 82, 45]
Generated Node #0,4: 58:[69, 82, 45] Operation: 97-52=45
Moving to Node #0,4
Current State: 58:[69, 82, 45], Operations: ['97-52=45']
Exploring Operation: 82-69=13, Resulting Numbers: [45, 13]
Generated Node #0,4,3: 58:[45, 13] Operation: 82-69=13
Moving to Node #0,4,3
Current State: 58:[45, 13], Operations: ['97-52=45', '82-69=13']
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
52,
79,
46,
2
] | 67 | [
"52-46=6",
"2*6=12",
"79-12=67"
] | Current State: 67:[52, 79, 46, 2], Operations: []
Exploring Operation: 52-46=6, Resulting Numbers: [79, 2, 6]
Generated Node #2: [79, 2, 6] from Operation: 52-46=6
Current State: 67:[79, 2, 6], Operations: ['52-46=6']
Exploring Operation: 2*6=12, Resulting Numbers: [79, 12]
Generated Node #3: [79, 12] from Operation: 2*6=12
Current State: 67:[79, 12], Operations: ['52-46=6', '2*6=12']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[52, 79, 46, 2], Operations: []
Exploring Operation: 79-2=77, Resulting Numbers: [52, 46, 77]
Generated Node #0,0: 67:[52, 46, 77] Operation: 79-2=77
Exploring Operation: 52+2=54, Resulting Numbers: [79, 46, 54]
Generated Node #0,1: 67:[79, 46, 54] Operation: 52+2=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[52, 46, 77], Operations: ['79-2=77']
Exploring Operation: 77-46=31, Resulting Numbers: [52, 31]
Generated Node #0,0,0: 67:[52, 31] Operation: 77-46=31
Exploring Operation: 52+46=98, Resulting Numbers: [77, 98]
Generated Node #0,0,1: 67:[77, 98] Operation: 52+46=98
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[77, 98], Operations: ['79-2=77', '52+46=98']
Exploring Operation: 98-77=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Exploring Operation: 77+98=175, Resulting Numbers: [175]
175,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,0,0
Current State: 67:[52, 31], Operations: ['79-2=77', '77-46=31']
Exploring Operation: 52+31=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[79, 46, 54], Operations: ['52+2=54']
Exploring Operation: 79-46=33, Resulting Numbers: [54, 33]
Generated Node #0,1,0: 67:[54, 33] Operation: 79-46=33
Exploring Operation: 46+54=100, Resulting Numbers: [79, 100]
Generated Node #0,1,1: 67:[79, 100] Operation: 46+54=100
Moving to Node #0,1,1
Current State: 67:[79, 100], Operations: ['52+2=54', '46+54=100']
Exploring Operation: 100-79=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Exploring Operation: 79+100=179, Resulting Numbers: [179]
179,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[54, 33], Operations: ['52+2=54', '79-46=33']
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
47,
2,
34,
41
] | 10 | [
"47+41=88",
"88/2=44",
"44-34=10"
] | Current State: 10:[47, 2, 34, 41], Operations: []
Exploring Operation: 47+41=88, Resulting Numbers: [2, 34, 88]
Generated Node #2: [2, 34, 88] from Operation: 47+41=88
Current State: 10:[2, 34, 88], Operations: ['47+41=88']
Exploring Operation: 88/2=44, Resulting Numbers: [34, 44]
Generated Node #3: [34, 44] from Operation: 88/2=44
Current State: 10:[34, 44], Operations: ['47+41=88', '88/2=44']
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[47, 2, 34, 41], Operations: []
Exploring Operation: 47-41=6, Resulting Numbers: [2, 34, 6]
Generated Node #0,0: 10:[2, 34, 6] Operation: 47-41=6
Exploring Operation: 47-34=13, Resulting Numbers: [2, 41, 13]
Generated Node #0,1: 10:[2, 41, 13] Operation: 47-34=13
Exploring Operation: 47-2=45, Resulting Numbers: [34, 41, 45]
Generated Node #0,2: 10:[34, 41, 45] Operation: 47-2=45
Exploring Operation: 34/2=17, Resulting Numbers: [47, 41, 17]
Generated Node #0,3: 10:[47, 41, 17] Operation: 34/2=17
Exploring Operation: 41-34=7, Resulting Numbers: [47, 2, 7]
Generated Node #0,4: 10:[47, 2, 7] Operation: 41-34=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[2, 34, 6], Operations: ['47-41=6']
Exploring Operation: 34/2=17, Resulting Numbers: [6, 17]
Generated Node #0,0,0: 10:[6, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [6, 32]
Generated Node #0,0,1: 10:[6, 32] Operation: 34-2=32
Exploring Operation: 6-2=4, Resulting Numbers: [34, 4]
Generated Node #0,0,2: 10:[34, 4] Operation: 6-2=4
Exploring Operation: 34-6=28, Resulting Numbers: [2, 28]
Generated Node #0,0,3: 10:[2, 28] Operation: 34-6=28
Exploring Operation: 6/2=3, Resulting Numbers: [34, 3]
Generated Node #0,0,4: 10:[34, 3] Operation: 6/2=3
Moving to Node #0,0,0
Current State: 10:[6, 17], Operations: ['47-41=6', '34/2=17']
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,10 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[2, 28], Operations: ['47-41=6', '34-6=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[6, 32], Operations: ['47-41=6', '34-2=32']
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[34, 4], Operations: ['47-41=6', '6-2=4']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,10 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Moving to Node #0,0,4
Current State: 10:[34, 3], Operations: ['47-41=6', '6/2=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[2, 41, 13], Operations: ['47-34=13']
Exploring Operation: 13-2=11, Resulting Numbers: [41, 11]
Generated Node #0,1,0: 10:[41, 11] Operation: 13-2=11
Exploring Operation: 2+13=15, Resulting Numbers: [41, 15]
Generated Node #0,1,1: 10:[41, 15] Operation: 2+13=15
Exploring Operation: 41-2=39, Resulting Numbers: [13, 39]
Generated Node #0,1,2: 10:[13, 39] Operation: 41-2=39
Exploring Operation: 2+41=43, Resulting Numbers: [13, 43]
Generated Node #0,1,3: 10:[13, 43] Operation: 2+41=43
Exploring Operation: 41-13=28, Resulting Numbers: [2, 28]
Generated Node #0,1,4: 10:[2, 28] Operation: 41-13=28
Moving to Node #0,1,4
Current State: 10:[2, 28], Operations: ['47-34=13', '41-13=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,10 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[13, 39], Operations: ['47-34=13', '41-2=39']
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 13*39=507, Resulting Numbers: [507]
507,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[41, 11], Operations: ['47-34=13', '13-2=11']
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,10 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[41, 15], Operations: ['47-34=13', '2+13=15']
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,10 unequal: No Solution
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,10 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[13, 43], Operations: ['47-34=13', '2+41=43']
Exploring Operation: 13*43=559, Resulting Numbers: [559]
559,10 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 13+43=56, Resulting Numbers: [56]
56,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 10:[47, 2, 7], Operations: ['41-34=7']
Exploring Operation: 47+2=49, Resulting Numbers: [7, 49]
Generated Node #0,4,0: 10:[7, 49] Operation: 47+2=49
Exploring Operation: 7-2=5, Resulting Numbers: [47, 5]
Generated Node #0,4,1: 10:[47, 5] Operation: 7-2=5
Exploring Operation: 47-2=45, Resulting Numbers: [7, 45]
Generated Node #0,4,2: 10:[7, 45] Operation: 47-2=45
Exploring Operation: 2+7=9, Resulting Numbers: [47, 9]
Generated Node #0,4,3: 10:[47, 9] Operation: 2+7=9
Exploring Operation: 47-7=40, Resulting Numbers: [2, 40]
Generated Node #0,4,4: 10:[2, 40] Operation: 47-7=40
Moving to Node #0,4,4
Current State: 10:[2, 40], Operations: ['41-34=7', '47-7=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Moving to Node #0,4,2
Current State: 10:[7, 45], Operations: ['41-34=7', '47-2=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,10 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Moving to Node #0,4,1
Current State: 10:[47, 5], Operations: ['41-34=7', '7-2=5']
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,10 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Moving to Node #0,4,3
Current State: 10:[47, 9], Operations: ['41-34=7', '2+7=9']
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,10 unequal: No Solution
Exploring Operation: 47*9=423, Resulting Numbers: [423]
423,10 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Moving to Node #0,4,0
Current State: 10:[7, 49], Operations: ['41-34=7', '47+2=49']
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 7*49=343, Resulting Numbers: [343]
343,10 unequal: No Solution
Exploring Operation: 7+49=56, Resulting Numbers: [56]
56,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[47, 41, 17], Operations: ['34/2=17']
Exploring Operation: 47+17=64, Resulting Numbers: [41, 64]
Generated Node #0,3,0: 10:[41, 64] Operation: 47+17=64
Exploring Operation: 47-17=30, Resulting Numbers: [41, 30]
Generated Node #0,3,1: 10:[41, 30] Operation: 47-17=30
Exploring Operation: 47+41=88, Resulting Numbers: [17, 88]
Generated Node #0,3,2: 10:[17, 88] Operation: 47+41=88
Exploring Operation: 47-41=6, Resulting Numbers: [17, 6]
Generated Node #0,3,3: 10:[17, 6] Operation: 47-41=6
Exploring Operation: 41-17=24, Resulting Numbers: [47, 24]
Generated Node #0,3,4: 10:[47, 24] Operation: 41-17=24
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 10:[17, 6], Operations: ['34/2=17', '47-41=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 10:[41, 30], Operations: ['34/2=17', '47-17=30']
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,10 unequal: No Solution
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 10:[47, 24], Operations: ['34/2=17', '41-17=24']
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 47*24=1128, Resulting Numbers: [1128]
1128,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 10:[41, 64], Operations: ['34/2=17', '47+17=64']
Exploring Operation: 41+64=105, Resulting Numbers: [105]
105,10 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 41*64=2624, Resulting Numbers: [2624]
2624,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 10:[17, 88], Operations: ['34/2=17', '47+41=88']
Exploring Operation: 17*88=1496, Resulting Numbers: [1496]
1496,10 unequal: No Solution
Exploring Operation: 88-17=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 17+88=105, Resulting Numbers: [105]
105,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[34, 41, 45], Operations: ['47-2=45']
Exploring Operation: 41-34=7, Resulting Numbers: [45, 7]
Generated Node #0,2,0: 10:[45, 7] Operation: 41-34=7
Exploring Operation: 45-41=4, Resulting Numbers: [34, 4]
Generated Node #0,2,1: 10:[34, 4] Operation: 45-41=4
Exploring Operation: 34+41=75, Resulting Numbers: [45, 75]
Generated Node #0,2,2: 10:[45, 75] Operation: 34+41=75
Exploring Operation: 34+45=79, Resulting Numbers: [41, 79]
Generated Node #0,2,3: 10:[41, 79] Operation: 34+45=79
Exploring Operation: 45-34=11, Resulting Numbers: [41, 11]
Generated Node #0,2,4: 10:[41, 11] Operation: 45-34=11
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[34, 4], Operations: ['47-2=45', '45-41=4']
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,10 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 10:[41, 11], Operations: ['47-2=45', '45-34=11']
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,10 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 10:[45, 7], Operations: ['47-2=45', '41-34=7']
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 45*7=315, Resulting Numbers: [315]
315,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 10:[45, 75], Operations: ['47-2=45', '34+41=75']
Exploring Operation: 45+75=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 45*75=3375, Resulting Numbers: [3375]
3375,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 10:[41, 79], Operations: ['47-2=45', '34+45=79']
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 41*79=3239, Resulting Numbers: [3239]
3239,10 unequal: No Solution
Exploring Operation: 41+79=120, Resulting Numbers: [120]
120,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
4,
2,
60,
84
] | 12 | [
"4-2=2",
"84-60=24",
"24/2=12"
] | Current State: 12:[4, 2, 60, 84], Operations: []
Exploring Operation: 4-2=2, Resulting Numbers: [60, 84, 2]
Generated Node #2: [60, 84, 2] from Operation: 4-2=2
Current State: 12:[60, 84, 2], Operations: ['4-2=2']
Exploring Operation: 84-60=24, Resulting Numbers: [2, 24]
Generated Node #3: [2, 24] from Operation: 84-60=24
Current State: 12:[2, 24], Operations: ['4-2=2', '84-60=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[4, 2, 60, 84], Operations: []
Exploring Operation: 60/2=30, Resulting Numbers: [4, 84, 30]
Generated Node #0,0: 12:[4, 84, 30] Operation: 60/2=30
Exploring Operation: 84/2=42, Resulting Numbers: [4, 60, 42]
Generated Node #0,1: 12:[4, 60, 42] Operation: 84/2=42
Exploring Operation: 84-60=24, Resulting Numbers: [4, 2, 24]
Generated Node #0,2: 12:[4, 2, 24] Operation: 84-60=24
Exploring Operation: 60/4=15, Resulting Numbers: [2, 84, 15]
Generated Node #0,3: 12:[2, 84, 15] Operation: 60/4=15
Exploring Operation: 84/4=21, Resulting Numbers: [2, 60, 21]
Generated Node #0,4: 12:[2, 60, 21] Operation: 84/4=21
Moving to Node #0,2
Current State: 12:[4, 2, 24], Operations: ['84-60=24']
Exploring Operation: 4+2=6, Resulting Numbers: [24, 6]
Generated Node #0,2,0: 12:[24, 6] Operation: 4+2=6
Exploring Operation: 24/4=6, Resulting Numbers: [2, 6]
Generated Node #0,2,1: 12:[2, 6] Operation: 24/4=6
Exploring Operation: 24/2=12, Resulting Numbers: [4, 12]
Generated Node #0,2,2: 12:[4, 12] Operation: 24/2=12
Exploring Operation: 24-2=22, Resulting Numbers: [4, 22]
Generated Node #0,2,3: 12:[4, 22] Operation: 24-2=22
Exploring Operation: 24-4=20, Resulting Numbers: [2, 20]
Generated Node #0,2,4: 12:[2, 20] Operation: 24-4=20
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[2, 6], Operations: ['84-60=24', '24/4=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[4, 2, 60, 84], Operations: []
Exploring Operation: 84-60=24, Resulting Numbers: [4, 2, 24]
Generated Node #0,2: 12:[4, 2, 24] Operation: 84-60=24
Moving to Node #0,2
Current State: 12:[4, 2, 24], Operations: ['84-60=24']
Exploring Operation: 24/4=6, Resulting Numbers: [2, 6]
Generated Node #0,2,1: 12:[2, 6] Operation: 24/4=6
Moving to Node #0,2,1
Current State: 12:[2, 6], Operations: ['84-60=24', '24/4=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
38,
3,
3,
93
] | 68 | [
"93-3=90",
"90/3=30",
"38+30=68"
] | Current State: 68:[38, 3, 3, 93], Operations: []
Exploring Operation: 93-3=90, Resulting Numbers: [38, 90]
Generated Node #2: [38, 90] from Operation: 93-3=90
Current State: 68:[38, 90], Operations: ['93-3=90']
Exploring Operation: 90/3=30, Resulting Numbers: [38, 30]
Generated Node #3: [38, 30] from Operation: 90/3=30
Current State: 68:[38, 30], Operations: ['93-3=90', '90/3=30']
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[38, 3, 3, 93], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [38, 3, 31]
Generated Node #0,0: 68:[38, 3, 31] Operation: 93/3=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[38, 3, 31], Operations: ['93/3=31']
Exploring Operation: 38+31=69, Resulting Numbers: [3, 69]
Generated Node #0,0,0: 68:[3, 69] Operation: 38+31=69
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[3, 69], Operations: ['93/3=31', '38+31=69']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,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 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.