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 |
|---|---|---|---|---|---|---|---|---|
[
38,
72,
30,
90
] | 85 | [
"38+30=68",
"90*68=6120",
"6120/72=85"
] | Current State: 85:[38, 72, 30, 90], Operations: []
Exploring Operation: 38+30=68, Resulting Numbers: [72, 90, 68]
Generated Node #2: [72, 90, 68] from Operation: 38+30=68
Current State: 85:[72, 90, 68], Operations: ['38+30=68']
Exploring Operation: 90*68=6120, Resulting Numbers: [72, 6120]
Generated Node #3: [72, 6120] from Operation: 90*68=6120
Current State: 85:[72, 6120], Operations: ['38+30=68', '90*68=6120']
Exploring Operation: 6120/72=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[38, 72, 30, 90], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [72, 90, 8]
Generated Node #0,0: 85:[72, 90, 8] Operation: 38-30=8
Moving to Node #0,0
Current State: 85:[72, 90, 8], Operations: ['38-30=8']
Exploring Operation: 90-72=18, Resulting Numbers: [8, 18]
Generated Node #0,0,0: 85:[8, 18] Operation: 90-72=18
Moving to Node #0,0,0
Current State: 85:[8, 18], Operations: ['38-30=8', '90-72=18']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,85 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
17,
95,
57,
26
] | 29 | [
"17+95=112",
"57+26=83",
"112-83=29"
] | Current State: 29:[17, 95, 57, 26], Operations: []
Exploring Operation: 17+95=112, Resulting Numbers: [57, 26, 112]
Generated Node #2: [57, 26, 112] from Operation: 17+95=112
Current State: 29:[57, 26, 112], Operations: ['17+95=112']
Exploring Operation: 57+26=83, Resulting Numbers: [112, 83]
Generated Node #3: [112, 83] from Operation: 57+26=83
Current State: 29:[112, 83], Operations: ['17+95=112', '57+26=83']
Exploring Operation: 112-83=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[17, 95, 57, 26], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [17, 26, 38]
Generated Node #0,0: 29:[17, 26, 38] Operation: 95-57=38
Exploring Operation: 95-17=78, Resulting Numbers: [57, 26, 78]
Generated Node #0,1: 29:[57, 26, 78] Operation: 95-17=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[17, 26, 38], Operations: ['95-57=38']
Exploring Operation: 38-17=21, Resulting Numbers: [26, 21]
Generated Node #0,0,0: 29:[26, 21] Operation: 38-17=21
Exploring Operation: 17+26=43, Resulting Numbers: [38, 43]
Generated Node #0,0,1: 29:[38, 43] Operation: 17+26=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[26, 21], Operations: ['95-57=38', '38-17=21']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[38, 43], Operations: ['95-57=38', '17+26=43']
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 38+43=81, Resulting Numbers: [81]
81,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[57, 26, 78], Operations: ['95-17=78']
Exploring Operation: 57-26=31, Resulting Numbers: [78, 31]
Generated Node #0,1,0: 29:[78, 31] Operation: 57-26=31
Exploring Operation: 78-57=21, Resulting Numbers: [26, 21]
Generated Node #0,1,1: 29:[26, 21] Operation: 78-57=21
Moving to Node #0,1,1
Current State: 29:[26, 21], Operations: ['95-17=78', '78-57=21']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[78, 31], Operations: ['95-17=78', '57-26=31']
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 78+31=109, Resulting Numbers: [109]
109,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
26,
45,
50,
97
] | 100 | [
"97-45=52",
"52/26=2",
"50*2=100"
] | Current State: 100:[26, 45, 50, 97], Operations: []
Exploring Operation: 97-45=52, Resulting Numbers: [26, 50, 52]
Generated Node #2: [26, 50, 52] from Operation: 97-45=52
Current State: 100:[26, 50, 52], Operations: ['97-45=52']
Exploring Operation: 52/26=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 52/26=2
Current State: 100:[50, 2], Operations: ['97-45=52', '52/26=2']
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[26, 45, 50, 97], Operations: []
Exploring Operation: 97-45=52, Resulting Numbers: [26, 50, 52]
Generated Node #0,0: 100:[26, 50, 52] Operation: 97-45=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[26, 50, 52], Operations: ['97-45=52']
Exploring Operation: 52/26=2, Resulting Numbers: [50, 2]
Generated Node #0,0,0: 100:[50, 2] Operation: 52/26=2
Moving to Node #0,0,0
Current State: 100:[50, 2], Operations: ['97-45=52', '52/26=2']
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[26, 45, 50, 97], Operations: []
Exploring Operation: 97-45=52, Resulting Numbers: [26, 50, 52]
Generated Node #0,0: 100:[26, 50, 52] Operation: 97-45=52
Moving to Node #0,0
Current State: 100:[26, 50, 52], Operations: ['97-45=52']
Exploring Operation: 52/26=2, Resulting Numbers: [50, 2]
Generated Node #0,0,0: 100:[50, 2] Operation: 52/26=2
Moving to Node #0,0,0
Current State: 100:[50, 2], Operations: ['97-45=52', '52/26=2']
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
50,
38,
20,
18
] | 13 | [
"20-18=2",
"50/2=25",
"38-25=13"
] | Current State: 13:[50, 38, 20, 18], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [50, 38, 2]
Generated Node #2: [50, 38, 2] from Operation: 20-18=2
Current State: 13:[50, 38, 2], Operations: ['20-18=2']
Exploring Operation: 50/2=25, Resulting Numbers: [38, 25]
Generated Node #3: [38, 25] from Operation: 50/2=25
Current State: 13:[38, 25], Operations: ['20-18=2', '50/2=25']
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[50, 38, 20, 18], Operations: []
Exploring Operation: 38-20=18, Resulting Numbers: [50, 18, 18]
Generated Node #0,0: 13:[50, 18, 18] Operation: 38-20=18
Exploring Operation: 50-20=30, Resulting Numbers: [38, 18, 30]
Generated Node #0,1: 13:[38, 18, 30] Operation: 50-20=30
Exploring Operation: 38-18=20, Resulting Numbers: [50, 20, 20]
Generated Node #0,2: 13:[50, 20, 20] Operation: 38-18=20
Exploring Operation: 50-18=32, Resulting Numbers: [38, 20, 32]
Generated Node #0,3: 13:[38, 20, 32] Operation: 50-18=32
Exploring Operation: 50-38=12, Resulting Numbers: [20, 18, 12]
Generated Node #0,4: 13:[20, 18, 12] Operation: 50-38=12
Start Sub Search at level 1: Moving to Node #0,4
Current State: 13:[20, 18, 12], Operations: ['50-38=12']
Exploring Operation: 18-12=6, Resulting Numbers: [20, 6]
Generated Node #0,4,0: 13:[20, 6] Operation: 18-12=6
Exploring Operation: 20+12=32, Resulting Numbers: [18, 32]
Generated Node #0,4,1: 13:[18, 32] Operation: 20+12=32
Exploring Operation: 18+12=30, Resulting Numbers: [20, 30]
Generated Node #0,4,2: 13:[20, 30] Operation: 18+12=30
Exploring Operation: 20-18=2, Resulting Numbers: [12, 2]
Generated Node #0,4,3: 13:[12, 2] Operation: 20-18=2
Exploring Operation: 20-12=8, Resulting Numbers: [18, 8]
Generated Node #0,4,4: 13:[18, 8] Operation: 20-12=8
Moving to Node #0,4,4
Current State: 13:[18, 8], Operations: ['50-38=12', '20-12=8']
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,13 unequal: No Solution
Moving to Node #0,4,3
Current State: 13:[12, 2], Operations: ['50-38=12', '20-18=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Moving to Node #0,4,0
Current State: 13:[20, 6], Operations: ['50-38=12', '18-12=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,13 unequal: No Solution
Moving to Node #0,4,1
Current State: 13:[18, 32], Operations: ['50-38=12', '20+12=32']
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,13 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Moving to Node #0,4,2
Current State: 13:[20, 30], Operations: ['50-38=12', '18+12=30']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 20*30=600, Resulting Numbers: [600]
600,13 unequal: No Solution
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,13 unequal: No Solution
No 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: 13:[50, 18, 18], Operations: ['38-20=18']
Exploring Operation: 18-18=0, Resulting Numbers: [50, 0]
Generated Node #0,0,0: 13:[50, 0] Operation: 18-18=0
Exploring Operation: 50+18=68, Resulting Numbers: [18, 68]
Generated Node #0,0,1: 13:[18, 68] Operation: 50+18=68
Exploring Operation: 50-18=32, Resulting Numbers: [18, 32]
Generated Node #0,0,2: 13:[18, 32] Operation: 50-18=32
Exploring Operation: 50-18=32, Resulting Numbers: [18, 32]
Generated Node #0,0,3: 13:[18, 32] Operation: 50-18=32
Exploring Operation: 18/18=1, Resulting Numbers: [50, 1]
Generated Node #0,0,4: 13:[50, 1] Operation: 18/18=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[18, 32], Operations: ['38-20=18', '50-18=32']
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,13 unequal: No Solution
No 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: 13:[18, 32], Operations: ['38-20=18', '50-18=32']
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,13 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,13 unequal: No Solution
No 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: 13:[50, 1], Operations: ['38-20=18', '18/18=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,13 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,13 unequal: No Solution
No 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: 13:[50, 0], Operations: ['38-20=18', '18-18=0']
Exploring Operation: 50-0=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 50+0=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 50*0=0, Resulting Numbers: [0]
0,13 unequal: No Solution
No 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: 13:[18, 68], Operations: ['38-20=18', '50+18=68']
Exploring Operation: 18*68=1224, Resulting Numbers: [1224]
1224,13 unequal: No Solution
Exploring Operation: 18+68=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,13 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: 13:[38, 18, 30], Operations: ['50-20=30']
Exploring Operation: 38+30=68, Resulting Numbers: [18, 68]
Generated Node #0,1,0: 13:[18, 68] Operation: 38+30=68
Exploring Operation: 38+18=56, Resulting Numbers: [30, 56]
Generated Node #0,1,1: 13:[30, 56] Operation: 38+18=56
Exploring Operation: 38-18=20, Resulting Numbers: [30, 20]
Generated Node #0,1,2: 13:[30, 20] Operation: 38-18=20
Exploring Operation: 38-30=8, Resulting Numbers: [18, 8]
Generated Node #0,1,3: 13:[18, 8] Operation: 38-30=8
Exploring Operation: 30-18=12, Resulting Numbers: [38, 12]
Generated Node #0,1,4: 13:[38, 12] Operation: 30-18=12
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 13:[18, 8], Operations: ['50-20=30', '38-30=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,13 unequal: No Solution
No 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: 13:[30, 20], Operations: ['50-20=30', '38-18=20']
Exploring Operation: 30*20=600, Resulting Numbers: [600]
600,13 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 30+20=50, Resulting Numbers: [50]
50,13 unequal: No Solution
No 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: 13:[38, 12], Operations: ['50-20=30', '30-18=12']
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,13 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,13 unequal: No Solution
No 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: 13:[18, 68], Operations: ['50-20=30', '38+30=68']
Exploring Operation: 18+68=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 18*68=1224, Resulting Numbers: [1224]
1224,13 unequal: No Solution
No 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: 13:[30, 56], Operations: ['50-20=30', '38+18=56']
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 30*56=1680, Resulting Numbers: [1680]
1680,13 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: 13:[50, 20, 20], Operations: ['38-18=20']
Exploring Operation: 50-20=30, Resulting Numbers: [20, 30]
Generated Node #0,2,0: 13:[20, 30] Operation: 50-20=30
Exploring Operation: 50-20=30, Resulting Numbers: [20, 30]
Generated Node #0,2,1: 13:[20, 30] Operation: 50-20=30
Exploring Operation: 20-20=0, Resulting Numbers: [50, 0]
Generated Node #0,2,2: 13:[50, 0] Operation: 20-20=0
Exploring Operation: 50+20=70, Resulting Numbers: [20, 70]
Generated Node #0,2,3: 13:[20, 70] Operation: 50+20=70
Exploring Operation: 20/20=1, Resulting Numbers: [50, 1]
Generated Node #0,2,4: 13:[50, 1] Operation: 20/20=1
Moving to Node #0,2,0
Current State: 13:[20, 30], Operations: ['38-18=20', '50-20=30']
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 20*30=600, Resulting Numbers: [600]
600,13 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[20, 30], Operations: ['38-18=20', '50-20=30']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 20*30=600, Resulting Numbers: [600]
600,13 unequal: No Solution
Moving to Node #0,2,4
Current State: 13:[50, 1], Operations: ['38-18=20', '20/20=1']
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,13 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[50, 0], Operations: ['38-18=20', '20-20=0']
Exploring Operation: 50*0=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 50+0=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 50-0=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Moving to Node #0,2,3
Current State: 13:[20, 70], Operations: ['38-18=20', '50+20=70']
Exploring Operation: 20+70=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 20*70=1400, Resulting Numbers: [1400]
1400,13 unequal: No Solution
No 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: 13:[38, 20, 32], Operations: ['50-18=32']
Exploring Operation: 38-32=6, Resulting Numbers: [20, 6]
Generated Node #0,3,0: 13:[20, 6] Operation: 38-32=6
Exploring Operation: 38-20=18, Resulting Numbers: [32, 18]
Generated Node #0,3,1: 13:[32, 18] Operation: 38-20=18
Exploring Operation: 32-20=12, Resulting Numbers: [38, 12]
Generated Node #0,3,2: 13:[38, 12] Operation: 32-20=12
Exploring Operation: 38+32=70, Resulting Numbers: [20, 70]
Generated Node #0,3,3: 13:[20, 70] Operation: 38+32=70
Exploring Operation: 38+20=58, Resulting Numbers: [32, 58]
Generated Node #0,3,4: 13:[32, 58] Operation: 38+20=58
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 13:[20, 6], Operations: ['50-18=32', '38-32=6']
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,13 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,13 unequal: No Solution
No 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: 13:[32, 18], Operations: ['50-18=32', '38-20=18']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,13 unequal: No Solution
No 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: 13:[38, 12], Operations: ['50-18=32', '32-20=12']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,13 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,13 unequal: No Solution
No 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: 13:[20, 70], Operations: ['50-18=32', '38+32=70']
Exploring Operation: 20+70=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 20*70=1400, Resulting Numbers: [1400]
1400,13 unequal: No Solution
No 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: 13:[32, 58], Operations: ['50-18=32', '38+20=58']
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 32+58=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 32*58=1856, Resulting Numbers: [1856]
1856,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
29,
41,
97,
93
] | 66 | [
"29+41=70",
"97-93=4",
"70-4=66"
] | Current State: 66:[29, 41, 97, 93], Operations: []
Exploring Operation: 29+41=70, Resulting Numbers: [97, 93, 70]
Generated Node #2: [97, 93, 70] from Operation: 29+41=70
Current State: 66:[97, 93, 70], Operations: ['29+41=70']
Exploring Operation: 97-93=4, Resulting Numbers: [70, 4]
Generated Node #3: [70, 4] from Operation: 97-93=4
Current State: 66:[70, 4], Operations: ['29+41=70', '97-93=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[29, 41, 97, 93], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [29, 41, 4]
Generated Node #0,0: 66:[29, 41, 4] Operation: 97-93=4
Exploring Operation: 97-29=68, Resulting Numbers: [41, 93, 68]
Generated Node #0,1: 66:[41, 93, 68] Operation: 97-29=68
Moving to Node #0,0
Current State: 66:[29, 41, 4], Operations: ['97-93=4']
Exploring Operation: 41-29=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 66:[4, 12] Operation: 41-29=12
Exploring Operation: 29+41=70, Resulting Numbers: [4, 70]
Generated Node #0,0,1: 66:[4, 70] Operation: 29+41=70
Moving to Node #0,1
Current State: 66:[41, 93, 68], Operations: ['97-29=68']
Exploring Operation: 93-68=25, Resulting Numbers: [41, 25]
Generated Node #0,1,0: 66:[41, 25] Operation: 93-68=25
Exploring Operation: 93-41=52, Resulting Numbers: [68, 52]
Generated Node #0,1,1: 66:[68, 52] Operation: 93-41=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[41, 25], Operations: ['97-29=68', '93-68=25']
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[29, 41, 97, 93], Operations: []
Exploring Operation: 97-29=68, Resulting Numbers: [41, 93, 68]
Generated Node #0,1: 66:[41, 93, 68] Operation: 97-29=68
Moving to Node #0,1
Current State: 66:[41, 93, 68], Operations: ['97-29=68']
Exploring Operation: 93-68=25, Resulting Numbers: [41, 25]
Generated Node #0,1,0: 66:[41, 25] Operation: 93-68=25
Moving to Node #0,1,0
Current State: 66:[41, 25], Operations: ['97-29=68', '93-68=25']
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
53,
31,
69,
38
] | 54 | [
"69-31=38",
"38/38=1",
"53+1=54"
] | Current State: 54:[53, 31, 69, 38], Operations: []
Exploring Operation: 69-31=38, Resulting Numbers: [53, 38, 38]
Generated Node #2: [53, 38, 38] from Operation: 69-31=38
Current State: 54:[53, 38, 38], Operations: ['69-31=38']
Exploring Operation: 38/38=1, Resulting Numbers: [53, 1]
Generated Node #3: [53, 1] from Operation: 38/38=1
Current State: 54:[53, 1], Operations: ['69-31=38', '38/38=1']
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[53, 31, 69, 38], Operations: []
Exploring Operation: 69-53=16, Resulting Numbers: [31, 38, 16]
Generated Node #0,0: 54:[31, 38, 16] Operation: 69-53=16
Exploring Operation: 53-38=15, Resulting Numbers: [31, 69, 15]
Generated Node #0,1: 54:[31, 69, 15] Operation: 53-38=15
Exploring Operation: 69-38=31, Resulting Numbers: [53, 31, 31]
Generated Node #0,2: 54:[53, 31, 31] Operation: 69-38=31
Exploring Operation: 38-31=7, Resulting Numbers: [53, 69, 7]
Generated Node #0,3: 54:[53, 69, 7] Operation: 38-31=7
Exploring Operation: 69-31=38, Resulting Numbers: [53, 38, 38]
Generated Node #0,4: 54:[53, 38, 38] Operation: 69-31=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[53, 31, 31], Operations: ['69-38=31']
Exploring Operation: 53-31=22, Resulting Numbers: [31, 22]
Generated Node #0,2,0: 54:[31, 22] Operation: 53-31=22
Exploring Operation: 31-31=0, Resulting Numbers: [53, 0]
Generated Node #0,2,1: 54:[53, 0] Operation: 31-31=0
Exploring Operation: 31+31=62, Resulting Numbers: [53, 62]
Generated Node #0,2,2: 54:[53, 62] Operation: 31+31=62
Exploring Operation: 31/31=1, Resulting Numbers: [53, 1]
Generated Node #0,2,3: 54:[53, 1] Operation: 31/31=1
Exploring Operation: 53-31=22, Resulting Numbers: [31, 22]
Generated Node #0,2,4: 54:[31, 22] Operation: 53-31=22
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 54:[53, 1], Operations: ['69-38=31', '31/31=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[53, 31, 69, 38], Operations: []
Exploring Operation: 69-38=31, Resulting Numbers: [53, 31, 31]
Generated Node #0,2: 54:[53, 31, 31] Operation: 69-38=31
Moving to Node #0,2
Current State: 54:[53, 31, 31], Operations: ['69-38=31']
Exploring Operation: 31/31=1, Resulting Numbers: [53, 1]
Generated Node #0,2,3: 54:[53, 1] Operation: 31/31=1
Moving to Node #0,2,3
Current State: 54:[53, 1], Operations: ['69-38=31', '31/31=1']
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
96,
79,
53,
48
] | 85 | [
"96-79=17",
"53-48=5",
"17*5=85"
] | Current State: 85:[96, 79, 53, 48], Operations: []
Exploring Operation: 96-79=17, Resulting Numbers: [53, 48, 17]
Generated Node #2: [53, 48, 17] from Operation: 96-79=17
Current State: 85:[53, 48, 17], Operations: ['96-79=17']
Exploring Operation: 53-48=5, Resulting Numbers: [17, 5]
Generated Node #3: [17, 5] from Operation: 53-48=5
Current State: 85:[17, 5], Operations: ['96-79=17', '53-48=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[96, 79, 53, 48], Operations: []
Exploring Operation: 53+48=101, Resulting Numbers: [96, 79, 101]
Generated Node #0,0: 85:[96, 79, 101] Operation: 53+48=101
Exploring Operation: 53-48=5, Resulting Numbers: [96, 79, 5]
Generated Node #0,1: 85:[96, 79, 5] Operation: 53-48=5
Moving to Node #0,1
Current State: 85:[96, 79, 5], Operations: ['53-48=5']
Exploring Operation: 96-79=17, Resulting Numbers: [5, 17]
Generated Node #0,1,0: 85:[5, 17] Operation: 96-79=17
Exploring Operation: 96-5=91, Resulting Numbers: [79, 91]
Generated Node #0,1,1: 85:[79, 91] Operation: 96-5=91
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[5, 17], Operations: ['53-48=5', '96-79=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[96, 79, 53, 48], Operations: []
Exploring Operation: 53-48=5, Resulting Numbers: [96, 79, 5]
Generated Node #0,1: 85:[96, 79, 5] Operation: 53-48=5
Moving to Node #0,1
Current State: 85:[96, 79, 5], Operations: ['53-48=5']
Exploring Operation: 96-79=17, Resulting Numbers: [5, 17]
Generated Node #0,1,0: 85:[5, 17] Operation: 96-79=17
Moving to Node #0,1,0
Current State: 85:[5, 17], Operations: ['53-48=5', '96-79=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
1,
25,
17,
32
] | 23 | [
"1+25=26",
"17+32=49",
"49-26=23"
] | Current State: 23:[1, 25, 17, 32], Operations: []
Exploring Operation: 1+25=26, Resulting Numbers: [17, 32, 26]
Generated Node #2: [17, 32, 26] from Operation: 1+25=26
Current State: 23:[17, 32, 26], Operations: ['1+25=26']
Exploring Operation: 17+32=49, Resulting Numbers: [26, 49]
Generated Node #3: [26, 49] from Operation: 17+32=49
Current State: 23:[26, 49], Operations: ['1+25=26', '17+32=49']
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[1, 25, 17, 32], Operations: []
Exploring Operation: 32-1=31, Resulting Numbers: [25, 17, 31]
Generated Node #0,0: 23:[25, 17, 31] Operation: 32-1=31
Exploring Operation: 25/1=25, Resulting Numbers: [17, 32, 25]
Generated Node #0,1: 23:[17, 32, 25] Operation: 25/1=25
Exploring Operation: 1+17=18, Resulting Numbers: [25, 32, 18]
Generated Node #0,2: 23:[25, 32, 18] Operation: 1+17=18
Exploring Operation: 1*25=25, Resulting Numbers: [17, 32, 25]
Generated Node #0,3: 23:[17, 32, 25] Operation: 1*25=25
Exploring Operation: 25-1=24, Resulting Numbers: [17, 32, 24]
Generated Node #0,4: 23:[17, 32, 24] Operation: 25-1=24
Moving to Node #0,0
Current State: 23:[25, 17, 31], Operations: ['32-1=31']
Exploring Operation: 17+31=48, Resulting Numbers: [25, 48]
Generated Node #0,0,0: 23:[25, 48] Operation: 17+31=48
Exploring Operation: 31-17=14, Resulting Numbers: [25, 14]
Generated Node #0,0,1: 23:[25, 14] Operation: 31-17=14
Exploring Operation: 25+17=42, Resulting Numbers: [31, 42]
Generated Node #0,0,2: 23:[31, 42] Operation: 25+17=42
Exploring Operation: 31-25=6, Resulting Numbers: [17, 6]
Generated Node #0,0,3: 23:[17, 6] Operation: 31-25=6
Exploring Operation: 25-17=8, Resulting Numbers: [31, 8]
Generated Node #0,0,4: 23:[31, 8] Operation: 25-17=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[25, 14], Operations: ['32-1=31', '31-17=14']
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 25*14=350, Resulting Numbers: [350]
350,23 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 23:[17, 6], Operations: ['32-1=31', '31-25=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[1, 25, 17, 32], Operations: []
Exploring Operation: 32-1=31, Resulting Numbers: [25, 17, 31]
Generated Node #0,0: 23:[25, 17, 31] Operation: 32-1=31
Moving to Node #0,0
Current State: 23:[25, 17, 31], Operations: ['32-1=31']
Exploring Operation: 31-25=6, Resulting Numbers: [17, 6]
Generated Node #0,0,3: 23:[17, 6] Operation: 31-25=6
Moving to Node #0,0,3
Current State: 23:[17, 6], Operations: ['32-1=31', '31-25=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
2,
87,
96,
85
] | 97 | [
"87-2=85",
"85/85=1",
"96+1=97"
] | Current State: 97:[2, 87, 96, 85], Operations: []
Exploring Operation: 87-2=85, Resulting Numbers: [96, 85, 85]
Generated Node #2: [96, 85, 85] from Operation: 87-2=85
Current State: 97:[96, 85, 85], Operations: ['87-2=85']
Exploring Operation: 85/85=1, Resulting Numbers: [96, 1]
Generated Node #3: [96, 1] from Operation: 85/85=1
Current State: 97:[96, 1], Operations: ['87-2=85', '85/85=1']
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[2, 87, 96, 85], Operations: []
Exploring Operation: 2+85=87, Resulting Numbers: [87, 96, 87]
Generated Node #0,0: 97:[87, 96, 87] Operation: 2+85=87
Exploring Operation: 2+87=89, Resulting Numbers: [96, 85, 89]
Generated Node #0,1: 97:[96, 85, 89] Operation: 2+87=89
Exploring Operation: 87-2=85, Resulting Numbers: [96, 85, 85]
Generated Node #0,2: 97:[96, 85, 85] Operation: 87-2=85
Exploring Operation: 2+96=98, Resulting Numbers: [87, 85, 98]
Generated Node #0,3: 97:[87, 85, 98] Operation: 2+96=98
Moving to Node #0,0
Current State: 97:[87, 96, 87], Operations: ['2+85=87']
Exploring Operation: 87+96=183, Resulting Numbers: [87, 183]
Generated Node #0,0,0: 97:[87, 183] Operation: 87+96=183
Exploring Operation: 96+87=183, Resulting Numbers: [87, 183]
Generated Node #0,0,1: 97:[87, 183] Operation: 96+87=183
Exploring Operation: 87+87=174, Resulting Numbers: [96, 174]
Generated Node #0,0,2: 97:[96, 174] Operation: 87+87=174
Exploring Operation: 87/87=1, Resulting Numbers: [96, 1]
Generated Node #0,0,3: 97:[96, 1] Operation: 87/87=1
Moving to Node #0,1
Current State: 97:[96, 85, 89], Operations: ['2+87=89']
Exploring Operation: 89-85=4, Resulting Numbers: [96, 4]
Generated Node #0,1,0: 97:[96, 4] Operation: 89-85=4
Exploring Operation: 85+89=174, Resulting Numbers: [96, 174]
Generated Node #0,1,1: 97:[96, 174] Operation: 85+89=174
Exploring Operation: 96-85=11, Resulting Numbers: [89, 11]
Generated Node #0,1,2: 97:[89, 11] Operation: 96-85=11
Exploring Operation: 96+85=181, Resulting Numbers: [89, 181]
Generated Node #0,1,3: 97:[89, 181] Operation: 96+85=181
Moving to Node #0,3
Current State: 97:[87, 85, 98], Operations: ['2+96=98']
Exploring Operation: 87+85=172, Resulting Numbers: [98, 172]
Generated Node #0,3,0: 97:[98, 172] Operation: 87+85=172
Exploring Operation: 87-85=2, Resulting Numbers: [98, 2]
Generated Node #0,3,1: 97:[98, 2] Operation: 87-85=2
Exploring Operation: 85+98=183, Resulting Numbers: [87, 183]
Generated Node #0,3,2: 97:[87, 183] Operation: 85+98=183
Exploring Operation: 98-85=13, Resulting Numbers: [87, 13]
Generated Node #0,3,3: 97:[87, 13] Operation: 98-85=13
Moving to Node #0,2
Current State: 97:[96, 85, 85], Operations: ['87-2=85']
Exploring Operation: 96+85=181, Resulting Numbers: [85, 181]
Generated Node #0,2,0: 97:[85, 181] Operation: 96+85=181
Exploring Operation: 85+85=170, Resulting Numbers: [96, 170]
Generated Node #0,2,1: 97:[96, 170] Operation: 85+85=170
Exploring Operation: 96+85=181, Resulting Numbers: [85, 181]
Generated Node #0,2,2: 97:[85, 181] Operation: 96+85=181
Exploring Operation: 85/85=1, Resulting Numbers: [96, 1]
Generated Node #0,2,3: 97:[96, 1] Operation: 85/85=1
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[96, 170], Operations: ['87-2=85', '85+85=170']
Exploring Operation: 170-96=74, Resulting Numbers: [74]
74,97 unequal: No Solution
Exploring Operation: 96*170=16320, Resulting Numbers: [16320]
16320,97 unequal: No Solution
Exploring Operation: 96+170=266, Resulting Numbers: [266]
266,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[85, 181], Operations: ['87-2=85', '96+85=181']
Exploring Operation: 181-85=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 85+181=266, Resulting Numbers: [266]
266,97 unequal: No Solution
Exploring Operation: 85*181=15385, Resulting Numbers: [15385]
15385,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[85, 181], Operations: ['87-2=85', '96+85=181']
Exploring Operation: 85*181=15385, Resulting Numbers: [15385]
15385,97 unequal: No Solution
Exploring Operation: 85+181=266, Resulting Numbers: [266]
266,97 unequal: No Solution
Exploring Operation: 181-85=96, Resulting Numbers: [96]
96,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[96, 1], Operations: ['87-2=85', '85/85=1']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,97 unequal: No Solution
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[2, 87, 96, 85], Operations: []
Exploring Operation: 87-2=85, Resulting Numbers: [96, 85, 85]
Generated Node #0,2: 97:[96, 85, 85] Operation: 87-2=85
Moving to Node #0,2
Current State: 97:[96, 85, 85], Operations: ['87-2=85']
Exploring Operation: 85/85=1, Resulting Numbers: [96, 1]
Generated Node #0,2,3: 97:[96, 1] Operation: 85/85=1
Moving to Node #0,2,3
Current State: 97:[96, 1], Operations: ['87-2=85', '85/85=1']
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
9,
7,
9,
4
] | 34 | [
"9-7=2",
"9*4=36",
"36-2=34"
] | Current State: 34:[9, 7, 9, 4], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [4, 2]
Generated Node #2: [4, 2] from Operation: 9-7=2
Current State: 34:[4, 2], Operations: ['9-7=2']
Exploring Operation: 9*4=36, Resulting Numbers: [2, 36]
Generated Node #3: [2, 36] from Operation: 9*4=36
Current State: 34:[2, 36], Operations: ['9-7=2', '9*4=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[9, 7, 9, 4], Operations: []
Exploring Operation: 9+9=18, Resulting Numbers: [7, 4, 18]
Generated Node #0,0: 34:[7, 4, 18] Operation: 9+9=18
Exploring Operation: 9/9=1, Resulting Numbers: [7, 4, 1]
Generated Node #0,1: 34:[7, 4, 1] Operation: 9/9=1
Exploring Operation: 9-7=2, Resulting Numbers: [9, 4, 2]
Generated Node #0,2: 34:[9, 4, 2] Operation: 9-7=2
Exploring Operation: 9-9=0, Resulting Numbers: [7, 4, 0]
Generated Node #0,3: 34:[7, 4, 0] Operation: 9-9=0
Moving to Node #0,0
Current State: 34:[7, 4, 18], Operations: ['9+9=18']
Exploring Operation: 7*4=28, Resulting Numbers: [18, 28]
Generated Node #0,0,0: 34:[18, 28] Operation: 7*4=28
Exploring Operation: 18-7=11, Resulting Numbers: [4, 11]
Generated Node #0,0,1: 34:[4, 11] Operation: 18-7=11
Exploring Operation: 7-4=3, Resulting Numbers: [18, 3]
Generated Node #0,0,2: 34:[18, 3] Operation: 7-4=3
Exploring Operation: 7+4=11, Resulting Numbers: [18, 11]
Generated Node #0,0,3: 34:[18, 11] Operation: 7+4=11
Moving to Node #0,1
Current State: 34:[7, 4, 1], Operations: ['9/9=1']
Exploring Operation: 4-1=3, Resulting Numbers: [7, 3]
Generated Node #0,1,0: 34:[7, 3] Operation: 4-1=3
Exploring Operation: 7-1=6, Resulting Numbers: [4, 6]
Generated Node #0,1,1: 34:[4, 6] Operation: 7-1=6
Exploring Operation: 7-4=3, Resulting Numbers: [1, 3]
Generated Node #0,1,2: 34:[1, 3] Operation: 7-4=3
Exploring Operation: 7+4=11, Resulting Numbers: [1, 11]
Generated Node #0,1,3: 34:[1, 11] Operation: 7+4=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[1, 3], Operations: ['9/9=1', '7-4=3']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,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:[7, 3], Operations: ['9/9=1', '4-1=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[4, 6], Operations: ['9/9=1', '7-1=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,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:[1, 11], Operations: ['9/9=1', '7+4=11']
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 34:[7, 4, 0], Operations: ['9-9=0']
Exploring Operation: 7-0=7, Resulting Numbers: [4, 7]
Generated Node #0,3,0: 34:[4, 7] Operation: 7-0=7
Exploring Operation: 7+0=7, Resulting Numbers: [4, 7]
Generated Node #0,3,1: 34:[4, 7] Operation: 7+0=7
Exploring Operation: 7-4=3, Resulting Numbers: [0, 3]
Generated Node #0,3,2: 34:[0, 3] Operation: 7-4=3
Exploring Operation: 7*0=0, Resulting Numbers: [4, 0]
Generated Node #0,3,3: 34:[4, 0] Operation: 7*0=0
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 34:[0, 3], Operations: ['9-9=0', '7-4=3']
Exploring Operation: 0*3=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 0+3=3, Resulting Numbers: [3]
3,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:[4, 0], Operations: ['9-9=0', '7*0=0']
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 34:[4, 7], Operations: ['9-9=0', '7-0=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,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:[4, 7], Operations: ['9-9=0', '7+0=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 34:[9, 4, 2], Operations: ['9-7=2']
Exploring Operation: 9-4=5, Resulting Numbers: [2, 5]
Generated Node #0,2,0: 34:[2, 5] Operation: 9-4=5
Exploring Operation: 9*2=18, Resulting Numbers: [4, 18]
Generated Node #0,2,1: 34:[4, 18] Operation: 9*2=18
Exploring Operation: 9*4=36, Resulting Numbers: [2, 36]
Generated Node #0,2,2: 34:[2, 36] Operation: 9*4=36
Exploring Operation: 9+4=13, Resulting Numbers: [2, 13]
Generated Node #0,2,3: 34:[2, 13] Operation: 9+4=13
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[2, 36], Operations: ['9-7=2', '9*4=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[9, 7, 9, 4], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [9, 4, 2]
Generated Node #0,2: 34:[9, 4, 2] Operation: 9-7=2
Moving to Node #0,2
Current State: 34:[9, 4, 2], Operations: ['9-7=2']
Exploring Operation: 9*4=36, Resulting Numbers: [2, 36]
Generated Node #0,2,2: 34:[2, 36] Operation: 9*4=36
Moving to Node #0,2,2
Current State: 34:[2, 36], Operations: ['9-7=2', '9*4=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_4 | mult_heuristic |
[
28,
86,
40,
42
] | 71 | [
"42-40=2",
"86/2=43",
"28+43=71"
] | Current State: 71:[28, 86, 40, 42], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [28, 86, 2]
Generated Node #2: [28, 86, 2] from Operation: 42-40=2
Current State: 71:[28, 86, 2], Operations: ['42-40=2']
Exploring Operation: 86/2=43, Resulting Numbers: [28, 43]
Generated Node #3: [28, 43] from Operation: 86/2=43
Current State: 71:[28, 43], Operations: ['42-40=2', '86/2=43']
Exploring Operation: 28+43=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[28, 86, 40, 42], Operations: []
Exploring Operation: 28+40=68, Resulting Numbers: [86, 42, 68]
Generated Node #0,0: 71:[86, 42, 68] Operation: 28+40=68
Exploring Operation: 28+42=70, Resulting Numbers: [86, 40, 70]
Generated Node #0,1: 71:[86, 40, 70] Operation: 28+42=70
Moving to Node #0,0
Current State: 71:[86, 42, 68], Operations: ['28+40=68']
Exploring Operation: 86-42=44, Resulting Numbers: [68, 44]
Generated Node #0,0,0: 71:[68, 44] Operation: 86-42=44
Exploring Operation: 42+68=110, Resulting Numbers: [86, 110]
Generated Node #0,0,1: 71:[86, 110] Operation: 42+68=110
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[68, 44], Operations: ['28+40=68', '86-42=44']
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 68+44=112, Resulting Numbers: [112]
112,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[86, 110], Operations: ['28+40=68', '42+68=110']
Exploring Operation: 86+110=196, Resulting Numbers: [196]
196,71 unequal: No Solution
Exploring Operation: 110-86=24, Resulting Numbers: [24]
24,71 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: 71:[86, 40, 70], Operations: ['28+42=70']
Exploring Operation: 86-40=46, Resulting Numbers: [70, 46]
Generated Node #0,1,0: 71:[70, 46] Operation: 86-40=46
Exploring Operation: 40+70=110, Resulting Numbers: [86, 110]
Generated Node #0,1,1: 71:[86, 110] Operation: 40+70=110
Moving to Node #0,1,0
Current State: 71:[70, 46], Operations: ['28+42=70', '86-40=46']
Exploring Operation: 70+46=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[86, 110], Operations: ['28+42=70', '40+70=110']
Exploring Operation: 110-86=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 86+110=196, Resulting Numbers: [196]
196,71 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
98,
93,
57,
30
] | 63 | [
"98-93=5",
"30/5=6",
"57+6=63"
] | Current State: 63:[98, 93, 57, 30], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [57, 30, 5]
Generated Node #2: [57, 30, 5] from Operation: 98-93=5
Current State: 63:[57, 30, 5], Operations: ['98-93=5']
Exploring Operation: 30/5=6, Resulting Numbers: [57, 6]
Generated Node #3: [57, 6] from Operation: 30/5=6
Current State: 63:[57, 6], Operations: ['98-93=5', '30/5=6']
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[98, 93, 57, 30], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [57, 30, 5]
Generated Node #0,0: 63:[57, 30, 5] Operation: 98-93=5
Exploring Operation: 98-30=68, Resulting Numbers: [93, 57, 68]
Generated Node #0,1: 63:[93, 57, 68] Operation: 98-30=68
Exploring Operation: 93-30=63, Resulting Numbers: [98, 57, 63]
Generated Node #0,2: 63:[98, 57, 63] Operation: 93-30=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[57, 30, 5], Operations: ['98-93=5']
Exploring Operation: 30/5=6, Resulting Numbers: [57, 6]
Generated Node #0,0,0: 63:[57, 6] Operation: 30/5=6
Exploring Operation: 57-30=27, Resulting Numbers: [5, 27]
Generated Node #0,0,1: 63:[5, 27] Operation: 57-30=27
Exploring Operation: 57+5=62, Resulting Numbers: [30, 62]
Generated Node #0,0,2: 63:[30, 62] Operation: 57+5=62
Moving to Node #0,0,0
Current State: 63:[57, 6], Operations: ['98-93=5', '30/5=6']
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,63 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,63 unequal: No Solution
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[98, 93, 57, 30], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [57, 30, 5]
Generated Node #0,0: 63:[57, 30, 5] Operation: 98-93=5
Moving to Node #0,0
Current State: 63:[57, 30, 5], Operations: ['98-93=5']
Exploring Operation: 30/5=6, Resulting Numbers: [57, 6]
Generated Node #0,0,0: 63:[57, 6] Operation: 30/5=6
Moving to Node #0,0,0
Current State: 63:[57, 6], Operations: ['98-93=5', '30/5=6']
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
81,
71,
47,
79
] | 12 | [
"81-79=2",
"71-47=24",
"24/2=12"
] | Current State: 12:[81, 71, 47, 79], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [71, 47, 2]
Generated Node #2: [71, 47, 2] from Operation: 81-79=2
Current State: 12:[71, 47, 2], Operations: ['81-79=2']
Exploring Operation: 71-47=24, Resulting Numbers: [2, 24]
Generated Node #3: [2, 24] from Operation: 71-47=24
Current State: 12:[2, 24], Operations: ['81-79=2', '71-47=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[81, 71, 47, 79], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [71, 47, 2]
Generated Node #0,0: 12:[71, 47, 2] Operation: 81-79=2
Exploring Operation: 81-71=10, Resulting Numbers: [47, 79, 10]
Generated Node #0,1: 12:[47, 79, 10] Operation: 81-71=10
Moving to Node #0,0
Current State: 12:[71, 47, 2], Operations: ['81-79=2']
Exploring Operation: 71-47=24, Resulting Numbers: [2, 24]
Generated Node #0,0,0: 12:[2, 24] Operation: 71-47=24
Exploring Operation: 71-2=69, Resulting Numbers: [47, 69]
Generated Node #0,0,1: 12:[47, 69] Operation: 71-2=69
Moving to Node #0,1
Current State: 12:[47, 79, 10], Operations: ['81-71=10']
Exploring Operation: 79-47=32, Resulting Numbers: [10, 32]
Generated Node #0,1,0: 12:[10, 32] Operation: 79-47=32
Exploring Operation: 47-10=37, Resulting Numbers: [79, 37]
Generated Node #0,1,1: 12:[79, 37] Operation: 47-10=37
Moving to Node #0,0,0
Current State: 12:[2, 24], Operations: ['81-79=2', '71-47=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,12 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[81, 71, 47, 79], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [71, 47, 2]
Generated Node #0,0: 12:[71, 47, 2] Operation: 81-79=2
Moving to Node #0,0
Current State: 12:[71, 47, 2], Operations: ['81-79=2']
Exploring Operation: 71-47=24, Resulting Numbers: [2, 24]
Generated Node #0,0,0: 12:[2, 24] Operation: 71-47=24
Moving to Node #0,0,0
Current State: 12:[2, 24], Operations: ['81-79=2', '71-47=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
67,
60,
33,
62
] | 98 | [
"67+60=127",
"62-33=29",
"127-29=98"
] | Current State: 98:[67, 60, 33, 62], Operations: []
Exploring Operation: 67+60=127, Resulting Numbers: [33, 62, 127]
Generated Node #2: [33, 62, 127] from Operation: 67+60=127
Current State: 98:[33, 62, 127], Operations: ['67+60=127']
Exploring Operation: 62-33=29, Resulting Numbers: [127, 29]
Generated Node #3: [127, 29] from Operation: 62-33=29
Current State: 98:[127, 29], Operations: ['67+60=127', '62-33=29']
Exploring Operation: 127-29=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[67, 60, 33, 62], Operations: []
Exploring Operation: 33+62=95, Resulting Numbers: [67, 60, 95]
Generated Node #0,0: 98:[67, 60, 95] Operation: 33+62=95
Exploring Operation: 67+33=100, Resulting Numbers: [60, 62, 100]
Generated Node #0,1: 98:[60, 62, 100] Operation: 67+33=100
Exploring Operation: 67-62=5, Resulting Numbers: [60, 33, 5]
Generated Node #0,2: 98:[60, 33, 5] Operation: 67-62=5
Exploring Operation: 67-60=7, Resulting Numbers: [33, 62, 7]
Generated Node #0,3: 98:[33, 62, 7] Operation: 67-60=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[60, 62, 100], Operations: ['67+33=100']
Exploring Operation: 62-60=2, Resulting Numbers: [100, 2]
Generated Node #0,1,0: 98:[100, 2] Operation: 62-60=2
Exploring Operation: 100-60=40, Resulting Numbers: [62, 40]
Generated Node #0,1,1: 98:[62, 40] Operation: 100-60=40
Exploring Operation: 60+62=122, Resulting Numbers: [100, 122]
Generated Node #0,1,2: 98:[100, 122] Operation: 60+62=122
Exploring Operation: 100-62=38, Resulting Numbers: [60, 38]
Generated Node #0,1,3: 98:[60, 38] Operation: 100-62=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[100, 2], Operations: ['67+33=100', '62-60=2']
Exploring Operation: 100/2=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Exploring Operation: 100+2=102, Resulting Numbers: [102]
102,98 unequal: No Solution
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[67, 60, 33, 62], Operations: []
Exploring Operation: 67+33=100, Resulting Numbers: [60, 62, 100]
Generated Node #0,1: 98:[60, 62, 100] Operation: 67+33=100
Moving to Node #0,1
Current State: 98:[60, 62, 100], Operations: ['67+33=100']
Exploring Operation: 62-60=2, Resulting Numbers: [100, 2]
Generated Node #0,1,0: 98:[100, 2] Operation: 62-60=2
Moving to Node #0,1,0
Current State: 98:[100, 2], Operations: ['67+33=100', '62-60=2']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
84,
91,
28,
8
] | 86 | [
"84/28=3",
"91-8=83",
"3+83=86"
] | Current State: 86:[84, 91, 28, 8], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [91, 8, 3]
Generated Node #2: [91, 8, 3] from Operation: 84/28=3
Current State: 86:[91, 8, 3], Operations: ['84/28=3']
Exploring Operation: 91-8=83, Resulting Numbers: [3, 83]
Generated Node #3: [3, 83] from Operation: 91-8=83
Current State: 86:[3, 83], Operations: ['84/28=3', '91-8=83']
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[84, 91, 28, 8], Operations: []
Exploring Operation: 28+8=36, Resulting Numbers: [84, 91, 36]
Generated Node #0,0: 86:[84, 91, 36] Operation: 28+8=36
Exploring Operation: 91-8=83, Resulting Numbers: [84, 28, 83]
Generated Node #0,1: 86:[84, 28, 83] Operation: 91-8=83
Exploring Operation: 84/28=3, Resulting Numbers: [91, 8, 3]
Generated Node #0,2: 86:[91, 8, 3] Operation: 84/28=3
Moving to Node #0,2
Current State: 86:[91, 8, 3], Operations: ['84/28=3']
Exploring Operation: 91-8=83, Resulting Numbers: [3, 83]
Generated Node #0,2,0: 86:[3, 83] Operation: 91-8=83
Exploring Operation: 8-3=5, Resulting Numbers: [91, 5]
Generated Node #0,2,1: 86:[91, 5] Operation: 8-3=5
Exploring Operation: 91-3=88, Resulting Numbers: [8, 88]
Generated Node #0,2,2: 86:[8, 88] Operation: 91-3=88
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[3, 83], Operations: ['84/28=3', '91-8=83']
Exploring Operation: 3*83=249, Resulting Numbers: [249]
249,86 unequal: No Solution
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[84, 91, 28, 8], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [91, 8, 3]
Generated Node #0,2: 86:[91, 8, 3] Operation: 84/28=3
Moving to Node #0,2
Current State: 86:[91, 8, 3], Operations: ['84/28=3']
Exploring Operation: 91-8=83, Resulting Numbers: [3, 83]
Generated Node #0,2,0: 86:[3, 83] Operation: 91-8=83
Moving to Node #0,2,0
Current State: 86:[3, 83], Operations: ['84/28=3', '91-8=83']
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
46,
73,
65,
4
] | 78 | [
"73-65=8",
"4*8=32",
"46+32=78"
] | Current State: 78:[46, 73, 65, 4], Operations: []
Exploring Operation: 73-65=8, Resulting Numbers: [46, 4, 8]
Generated Node #2: [46, 4, 8] from Operation: 73-65=8
Current State: 78:[46, 4, 8], Operations: ['73-65=8']
Exploring Operation: 4*8=32, Resulting Numbers: [46, 32]
Generated Node #3: [46, 32] from Operation: 4*8=32
Current State: 78:[46, 32], Operations: ['73-65=8', '4*8=32']
Exploring Operation: 46+32=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[46, 73, 65, 4], Operations: []
Exploring Operation: 73-65=8, Resulting Numbers: [46, 4, 8]
Generated Node #0,0: 78:[46, 4, 8] Operation: 73-65=8
Exploring Operation: 73-46=27, Resulting Numbers: [65, 4, 27]
Generated Node #0,1: 78:[65, 4, 27] Operation: 73-46=27
Exploring Operation: 65-46=19, Resulting Numbers: [73, 4, 19]
Generated Node #0,2: 78:[73, 4, 19] Operation: 65-46=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[46, 4, 8], Operations: ['73-65=8']
Exploring Operation: 46-4=42, Resulting Numbers: [8, 42]
Generated Node #0,0,0: 78:[8, 42] Operation: 46-4=42
Exploring Operation: 8/4=2, Resulting Numbers: [46, 2]
Generated Node #0,0,1: 78:[46, 2] Operation: 8/4=2
Exploring Operation: 46-8=38, Resulting Numbers: [4, 38]
Generated Node #0,0,2: 78:[4, 38] Operation: 46-8=38
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 78:[4, 38], Operations: ['73-65=8', '46-8=38']
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,78 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[8, 42], Operations: ['73-65=8', '46-4=42']
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,78 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[46, 2], Operations: ['73-65=8', '8/4=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,78 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[73, 4, 19], Operations: ['65-46=19']
Exploring Operation: 19-4=15, Resulting Numbers: [73, 15]
Generated Node #0,2,0: 78:[73, 15] Operation: 19-4=15
Exploring Operation: 73+4=77, Resulting Numbers: [19, 77]
Generated Node #0,2,1: 78:[19, 77] Operation: 73+4=77
Exploring Operation: 4*19=76, Resulting Numbers: [73, 76]
Generated Node #0,2,2: 78:[73, 76] Operation: 4*19=76
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 78:[73, 15], Operations: ['65-46=19', '19-4=15']
Exploring Operation: 73*15=1095, Resulting Numbers: [1095]
1095,78 unequal: No Solution
Exploring Operation: 73+15=88, Resulting Numbers: [88]
88,78 unequal: No Solution
Exploring Operation: 73-15=58, Resulting Numbers: [58]
58,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 78:[19, 77], Operations: ['65-46=19', '73+4=77']
Exploring Operation: 19+77=96, Resulting Numbers: [96]
96,78 unequal: No Solution
Exploring Operation: 19*77=1463, Resulting Numbers: [1463]
1463,78 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 78:[73, 76], Operations: ['65-46=19', '4*19=76']
Exploring Operation: 73*76=5548, Resulting Numbers: [5548]
5548,78 unequal: No Solution
Exploring Operation: 73+76=149, Resulting Numbers: [149]
149,78 unequal: No Solution
Exploring Operation: 76-73=3, Resulting Numbers: [3]
3,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[65, 4, 27], Operations: ['73-46=27']
Exploring Operation: 65+4=69, Resulting Numbers: [27, 69]
Generated Node #0,1,0: 78:[27, 69] Operation: 65+4=69
Exploring Operation: 65-27=38, Resulting Numbers: [4, 38]
Generated Node #0,1,1: 78:[4, 38] Operation: 65-27=38
Exploring Operation: 65+27=92, Resulting Numbers: [4, 92]
Generated Node #0,1,2: 78:[4, 92] Operation: 65+27=92
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[4, 38], Operations: ['73-46=27', '65-27=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,78 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[27, 69], Operations: ['73-46=27', '65+4=69']
Exploring Operation: 27+69=96, Resulting Numbers: [96]
96,78 unequal: No Solution
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 27*69=1863, Resulting Numbers: [1863]
1863,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 78:[4, 92], Operations: ['73-46=27', '65+27=92']
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 4+92=96, Resulting Numbers: [96]
96,78 unequal: No Solution
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
12,
74,
70,
22
] | 70 | [
"74-70=4",
"12*4=48",
"22+48=70"
] | Current State: 70:[12, 74, 70, 22], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [12, 22, 4]
Generated Node #2: [12, 22, 4] from Operation: 74-70=4
Current State: 70:[12, 22, 4], Operations: ['74-70=4']
Exploring Operation: 12*4=48, Resulting Numbers: [22, 48]
Generated Node #3: [22, 48] from Operation: 12*4=48
Current State: 70:[22, 48], Operations: ['74-70=4', '12*4=48']
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[12, 74, 70, 22], Operations: []
Exploring Operation: 22-12=10, Resulting Numbers: [74, 70, 10]
Generated Node #0,0: 70:[74, 70, 10] Operation: 22-12=10
Exploring Operation: 12+22=34, Resulting Numbers: [74, 70, 34]
Generated Node #0,1: 70:[74, 70, 34] Operation: 12+22=34
Moving to Node #0,0
Current State: 70:[74, 70, 10], Operations: ['22-12=10']
Exploring Operation: 74-70=4, Resulting Numbers: [10, 4]
Generated Node #0,0,0: 70:[10, 4] Operation: 74-70=4
Exploring Operation: 70/10=7, Resulting Numbers: [74, 7]
Generated Node #0,0,1: 70:[74, 7] Operation: 70/10=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[10, 4], Operations: ['22-12=10', '74-70=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[74, 7], Operations: ['22-12=10', '70/10=7']
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 74+7=81, Resulting Numbers: [81]
81,70 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: 70:[74, 70, 34], Operations: ['12+22=34']
Exploring Operation: 74-70=4, Resulting Numbers: [34, 4]
Generated Node #0,1,0: 70:[34, 4] Operation: 74-70=4
Exploring Operation: 74-34=40, Resulting Numbers: [70, 40]
Generated Node #0,1,1: 70:[70, 40] Operation: 74-34=40
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[34, 4], Operations: ['12+22=34', '74-70=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[70, 40], Operations: ['12+22=34', '74-34=40']
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 70+40=110, Resulting Numbers: [110]
110,70 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 |
[
64,
84,
55,
48
] | 68 | [
"64+55=119",
"48*119=5712",
"5712/84=68"
] | Current State: 68:[64, 84, 55, 48], Operations: []
Exploring Operation: 64+55=119, Resulting Numbers: [84, 48, 119]
Generated Node #2: [84, 48, 119] from Operation: 64+55=119
Current State: 68:[84, 48, 119], Operations: ['64+55=119']
Exploring Operation: 48*119=5712, Resulting Numbers: [84, 5712]
Generated Node #3: [84, 5712] from Operation: 48*119=5712
Current State: 68:[84, 5712], Operations: ['64+55=119', '48*119=5712']
Exploring Operation: 5712/84=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[64, 84, 55, 48], Operations: []
Exploring Operation: 84-64=20, Resulting Numbers: [55, 48, 20]
Generated Node #0,0: 68:[55, 48, 20] Operation: 84-64=20
Exploring Operation: 55-48=7, Resulting Numbers: [64, 84, 7]
Generated Node #0,1: 68:[64, 84, 7] Operation: 55-48=7
Exploring Operation: 84-48=36, Resulting Numbers: [64, 55, 36]
Generated Node #0,2: 68:[64, 55, 36] Operation: 84-48=36
Exploring Operation: 84-55=29, Resulting Numbers: [64, 48, 29]
Generated Node #0,3: 68:[64, 48, 29] Operation: 84-55=29
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[64, 55, 36], Operations: ['84-48=36']
Exploring Operation: 64-55=9, Resulting Numbers: [36, 9]
Generated Node #0,2,0: 68:[36, 9] Operation: 64-55=9
Exploring Operation: 55+36=91, Resulting Numbers: [64, 91]
Generated Node #0,2,1: 68:[64, 91] Operation: 55+36=91
Exploring Operation: 55-36=19, Resulting Numbers: [64, 19]
Generated Node #0,2,2: 68:[64, 19] Operation: 55-36=19
Exploring Operation: 64-36=28, Resulting Numbers: [55, 28]
Generated Node #0,2,3: 68:[55, 28] Operation: 64-36=28
Moving to Node #0,2,2
Current State: 68:[64, 19], Operations: ['84-48=36', '55-36=19']
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,68 unequal: No Solution
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,68 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[36, 9], Operations: ['84-48=36', '64-55=9']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 36*9=324, Resulting Numbers: [324]
324,68 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[55, 28], Operations: ['84-48=36', '64-36=28']
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 55*28=1540, Resulting Numbers: [1540]
1540,68 unequal: No Solution
Exploring Operation: 55+28=83, Resulting Numbers: [83]
83,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[64, 91], Operations: ['84-48=36', '55+36=91']
Exploring Operation: 91-64=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 64*91=5824, Resulting Numbers: [5824]
5824,68 unequal: No Solution
Exploring Operation: 64+91=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,1
Current State: 68:[64, 84, 7], Operations: ['55-48=7']
Exploring Operation: 84/7=12, Resulting Numbers: [64, 12]
Generated Node #0,1,0: 68:[64, 12] Operation: 84/7=12
Exploring Operation: 84-64=20, Resulting Numbers: [7, 20]
Generated Node #0,1,1: 68:[7, 20] Operation: 84-64=20
Exploring Operation: 64+7=71, Resulting Numbers: [84, 71]
Generated Node #0,1,2: 68:[84, 71] Operation: 64+7=71
Exploring Operation: 84-7=77, Resulting Numbers: [64, 77]
Generated Node #0,1,3: 68:[64, 77] Operation: 84-7=77
Moving to Node #0,1,1
Current State: 68:[7, 20], Operations: ['55-48=7', '84-64=20']
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[64, 12], Operations: ['55-48=7', '84/7=12']
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 64*12=768, Resulting Numbers: [768]
768,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[64, 77], Operations: ['55-48=7', '84-7=77']
Exploring Operation: 64*77=4928, Resulting Numbers: [4928]
4928,68 unequal: No Solution
Exploring Operation: 64+77=141, Resulting Numbers: [141]
141,68 unequal: No Solution
Exploring Operation: 77-64=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[84, 71], Operations: ['55-48=7', '64+7=71']
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 84*71=5964, Resulting Numbers: [5964]
5964,68 unequal: No Solution
Exploring Operation: 84+71=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,3
Current State: 68:[64, 48, 29], Operations: ['84-55=29']
Exploring Operation: 64-29=35, Resulting Numbers: [48, 35]
Generated Node #0,3,0: 68:[48, 35] Operation: 64-29=35
Exploring Operation: 64-48=16, Resulting Numbers: [29, 16]
Generated Node #0,3,1: 68:[29, 16] Operation: 64-48=16
Exploring Operation: 48-29=19, Resulting Numbers: [64, 19]
Generated Node #0,3,2: 68:[64, 19] Operation: 48-29=19
Exploring Operation: 48+29=77, Resulting Numbers: [64, 77]
Generated Node #0,3,3: 68:[64, 77] Operation: 48+29=77
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 68:[29, 16], Operations: ['84-55=29', '64-48=16']
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Exploring Operation: 29*16=464, Resulting Numbers: [464]
464,68 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 68:[64, 19], Operations: ['84-55=29', '48-29=19']
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,68 unequal: No Solution
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 68:[64, 77], Operations: ['84-55=29', '48+29=77']
Exploring Operation: 64*77=4928, Resulting Numbers: [4928]
4928,68 unequal: No Solution
Exploring Operation: 64+77=141, Resulting Numbers: [141]
141,68 unequal: No Solution
Exploring Operation: 77-64=13, Resulting Numbers: [13]
13,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 68:[48, 35], Operations: ['84-55=29', '64-29=35']
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,68 unequal: No Solution
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,68 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[55, 48, 20], Operations: ['84-64=20']
Exploring Operation: 55-48=7, Resulting Numbers: [20, 7]
Generated Node #0,0,0: 68:[20, 7] Operation: 55-48=7
Exploring Operation: 48+20=68, Resulting Numbers: [55, 68]
Generated Node #0,0,1: 68:[55, 68] Operation: 48+20=68
Exploring Operation: 48-20=28, Resulting Numbers: [55, 28]
Generated Node #0,0,2: 68:[55, 28] Operation: 48-20=28
Exploring Operation: 55-20=35, Resulting Numbers: [48, 35]
Generated Node #0,0,3: 68:[48, 35] Operation: 55-20=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[20, 7], Operations: ['84-64=20', '55-48=7']
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,68 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[55, 68], Operations: ['84-64=20', '48+20=68']
Exploring Operation: 55+68=123, Resulting Numbers: [123]
123,68 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 55*68=3740, Resulting Numbers: [3740]
3740,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 68:[48, 35], Operations: ['84-64=20', '55-20=35']
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,68 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[55, 28], Operations: ['84-64=20', '48-20=28']
Exploring Operation: 55*28=1540, Resulting Numbers: [1540]
1540,68 unequal: No Solution
Exploring Operation: 55+28=83, Resulting Numbers: [83]
83,68 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,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_4 | sum_heuristic |
[
35,
25,
24,
29
] | 32 | [
"29-24=5",
"35/5=7",
"25+7=32"
] | Current State: 32:[35, 25, 24, 29], Operations: []
Exploring Operation: 29-24=5, Resulting Numbers: [35, 25, 5]
Generated Node #2: [35, 25, 5] from Operation: 29-24=5
Current State: 32:[35, 25, 5], Operations: ['29-24=5']
Exploring Operation: 35/5=7, Resulting Numbers: [25, 7]
Generated Node #3: [25, 7] from Operation: 35/5=7
Current State: 32:[25, 7], Operations: ['29-24=5', '35/5=7']
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[35, 25, 24, 29], Operations: []
Exploring Operation: 25-24=1, Resulting Numbers: [35, 29, 1]
Generated Node #0,0: 32:[35, 29, 1] Operation: 25-24=1
Exploring Operation: 29-25=4, Resulting Numbers: [35, 24, 4]
Generated Node #0,1: 32:[35, 24, 4] Operation: 29-25=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[35, 29, 1], Operations: ['25-24=1']
Exploring Operation: 35-29=6, Resulting Numbers: [1, 6]
Generated Node #0,0,0: 32:[1, 6] Operation: 35-29=6
Exploring Operation: 35-1=34, Resulting Numbers: [29, 34]
Generated Node #0,0,1: 32:[29, 34] Operation: 35-1=34
Moving to Node #0,0,0
Current State: 32:[1, 6], Operations: ['25-24=1', '35-29=6']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[29, 34], Operations: ['25-24=1', '35-1=34']
Exploring Operation: 29+34=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,32 unequal: No Solution
No 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: 32:[35, 24, 4], Operations: ['29-25=4']
Exploring Operation: 24/4=6, Resulting Numbers: [35, 6]
Generated Node #0,1,0: 32:[35, 6] Operation: 24/4=6
Exploring Operation: 35-24=11, Resulting Numbers: [4, 11]
Generated Node #0,1,1: 32:[4, 11] Operation: 35-24=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 32:[4, 11], Operations: ['29-25=4', '35-24=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,32 unequal: No Solution
No 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: 32:[35, 6], Operations: ['29-25=4', '24/4=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
77,
41,
2,
21
] | 92 | [
"77*2=154",
"41+21=62",
"154-62=92"
] | Current State: 92:[77, 41, 2, 21], Operations: []
Exploring Operation: 77*2=154, Resulting Numbers: [41, 21, 154]
Generated Node #2: [41, 21, 154] from Operation: 77*2=154
Current State: 92:[41, 21, 154], Operations: ['77*2=154']
Exploring Operation: 41+21=62, Resulting Numbers: [154, 62]
Generated Node #3: [154, 62] from Operation: 41+21=62
Current State: 92:[154, 62], Operations: ['77*2=154', '41+21=62']
Exploring Operation: 154-62=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[77, 41, 2, 21], Operations: []
Exploring Operation: 77-41=36, Resulting Numbers: [2, 21, 36]
Generated Node #0,0: 92:[2, 21, 36] Operation: 77-41=36
Exploring Operation: 77-21=56, Resulting Numbers: [41, 2, 56]
Generated Node #0,1: 92:[41, 2, 56] Operation: 77-21=56
Exploring Operation: 41-21=20, Resulting Numbers: [77, 2, 20]
Generated Node #0,2: 92:[77, 2, 20] Operation: 41-21=20
Exploring Operation: 77+21=98, Resulting Numbers: [41, 2, 98]
Generated Node #0,3: 92:[41, 2, 98] Operation: 77+21=98
Moving to Node #0,3
Current State: 92:[41, 2, 98], Operations: ['77+21=98']
Exploring Operation: 98-41=57, Resulting Numbers: [2, 57]
Generated Node #0,3,0: 92:[2, 57] Operation: 98-41=57
Exploring Operation: 41+2=43, Resulting Numbers: [98, 43]
Generated Node #0,3,1: 92:[98, 43] Operation: 41+2=43
Exploring Operation: 98/2=49, Resulting Numbers: [41, 49]
Generated Node #0,3,2: 92:[41, 49] Operation: 98/2=49
Exploring Operation: 98-2=96, Resulting Numbers: [41, 96]
Generated Node #0,3,3: 92:[41, 96] Operation: 98-2=96
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 92:[41, 49], Operations: ['77+21=98', '98/2=49']
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,92 unequal: No Solution
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,92 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,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,3,1
Current State: 92:[98, 43], Operations: ['77+21=98', '41+2=43']
Exploring Operation: 98-43=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 98+43=141, Resulting Numbers: [141]
141,92 unequal: No Solution
Exploring Operation: 98*43=4214, Resulting Numbers: [4214]
4214,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,3,3
Current State: 92:[41, 96], Operations: ['77+21=98', '98-2=96']
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 41*96=3936, Resulting Numbers: [3936]
3936,92 unequal: No Solution
Exploring Operation: 41+96=137, Resulting Numbers: [137]
137,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,3,0
Current State: 92:[2, 57], Operations: ['77+21=98', '98-41=57']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,92 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,92 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: 92:[2, 21, 36], Operations: ['77-41=36']
Exploring Operation: 36/2=18, Resulting Numbers: [21, 18]
Generated Node #0,0,0: 92:[21, 18] Operation: 36/2=18
Exploring Operation: 2+21=23, Resulting Numbers: [36, 23]
Generated Node #0,0,1: 92:[36, 23] Operation: 2+21=23
Exploring Operation: 36-21=15, Resulting Numbers: [2, 15]
Generated Node #0,0,2: 92:[2, 15] Operation: 36-21=15
Exploring Operation: 2+36=38, Resulting Numbers: [21, 38]
Generated Node #0,0,3: 92:[21, 38] Operation: 2+36=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[21, 18], Operations: ['77-41=36', '36/2=18']
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,92 unequal: No Solution
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,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,2
Current State: 92:[2, 15], Operations: ['77-41=36', '36-21=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,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:[36, 23], Operations: ['77-41=36', '2+21=23']
Exploring Operation: 36*23=828, Resulting Numbers: [828]
828,92 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,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,3
Current State: 92:[21, 38], Operations: ['77-41=36', '2+36=38']
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,92 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,92 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: 92:[41, 2, 56], Operations: ['77-21=56']
Exploring Operation: 56-41=15, Resulting Numbers: [2, 15]
Generated Node #0,1,0: 92:[2, 15] Operation: 56-41=15
Exploring Operation: 56/2=28, Resulting Numbers: [41, 28]
Generated Node #0,1,1: 92:[41, 28] Operation: 56/2=28
Exploring Operation: 41+2=43, Resulting Numbers: [56, 43]
Generated Node #0,1,2: 92:[56, 43] Operation: 41+2=43
Exploring Operation: 41+56=97, Resulting Numbers: [2, 97]
Generated Node #0,1,3: 92:[2, 97] Operation: 41+56=97
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 92:[2, 97], Operations: ['77-21=56', '41+56=97']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,92 unequal: No Solution
Exploring Operation: 2*97=194, Resulting Numbers: [194]
194,92 unequal: No Solution
Exploring Operation: 2+97=99, Resulting Numbers: [99]
99,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,1,0
Current State: 92:[2, 15], Operations: ['77-21=56', '56-41=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,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,1,1
Current State: 92:[41, 28], Operations: ['77-21=56', '56/2=28']
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,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,1,2
Current State: 92:[56, 43], Operations: ['77-21=56', '41+2=43']
Exploring Operation: 56+43=99, Resulting Numbers: [99]
99,92 unequal: No Solution
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 56*43=2408, Resulting Numbers: [2408]
2408,92 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: 92:[77, 2, 20], Operations: ['41-21=20']
Exploring Operation: 77+20=97, Resulting Numbers: [2, 97]
Generated Node #0,2,0: 92:[2, 97] Operation: 77+20=97
Exploring Operation: 2+20=22, Resulting Numbers: [77, 22]
Generated Node #0,2,1: 92:[77, 22] Operation: 2+20=22
Exploring Operation: 77+2=79, Resulting Numbers: [20, 79]
Generated Node #0,2,2: 92:[20, 79] Operation: 77+2=79
Exploring Operation: 77-20=57, Resulting Numbers: [2, 57]
Generated Node #0,2,3: 92:[2, 57] Operation: 77-20=57
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[2, 97], Operations: ['41-21=20', '77+20=97']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,92 unequal: No Solution
Exploring Operation: 2*97=194, Resulting Numbers: [194]
194,92 unequal: No Solution
Exploring Operation: 2+97=99, Resulting Numbers: [99]
99,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 92:[2, 57], Operations: ['41-21=20', '77-20=57']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[77, 22], Operations: ['41-21=20', '2+20=22']
Exploring Operation: 77-22=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 77+22=99, Resulting Numbers: [99]
99,92 unequal: No Solution
Exploring Operation: 77*22=1694, Resulting Numbers: [1694]
1694,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[20, 79], Operations: ['41-21=20', '77+2=79']
Exploring Operation: 20*79=1580, Resulting Numbers: [1580]
1580,92 unequal: No Solution
Exploring Operation: 20+79=99, Resulting Numbers: [99]
99,92 unequal: No Solution
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,92 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 |
[
5,
23,
35,
46
] | 78 | [
"46-35=11",
"5*11=55",
"23+55=78"
] | Current State: 78:[5, 23, 35, 46], Operations: []
Exploring Operation: 46-35=11, Resulting Numbers: [5, 23, 11]
Generated Node #2: [5, 23, 11] from Operation: 46-35=11
Current State: 78:[5, 23, 11], Operations: ['46-35=11']
Exploring Operation: 5*11=55, Resulting Numbers: [23, 55]
Generated Node #3: [23, 55] from Operation: 5*11=55
Current State: 78:[23, 55], Operations: ['46-35=11', '5*11=55']
Exploring Operation: 23+55=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[5, 23, 35, 46], Operations: []
Exploring Operation: 46-23=23, Resulting Numbers: [5, 35, 23]
Generated Node #0,0: 78:[5, 35, 23] Operation: 46-23=23
Exploring Operation: 46/23=2, Resulting Numbers: [5, 35, 2]
Generated Node #0,1: 78:[5, 35, 2] Operation: 46/23=2
Exploring Operation: 46-35=11, Resulting Numbers: [5, 23, 11]
Generated Node #0,2: 78:[5, 23, 11] Operation: 46-35=11
Exploring Operation: 35+46=81, Resulting Numbers: [5, 23, 81]
Generated Node #0,3: 78:[5, 23, 81] Operation: 35+46=81
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[5, 35, 2], Operations: ['46/23=2']
Exploring Operation: 5+35=40, Resulting Numbers: [2, 40]
Generated Node #0,1,0: 78:[2, 40] Operation: 5+35=40
Exploring Operation: 35-5=30, Resulting Numbers: [2, 30]
Generated Node #0,1,1: 78:[2, 30] Operation: 35-5=30
Exploring Operation: 35/5=7, Resulting Numbers: [2, 7]
Generated Node #0,1,2: 78:[2, 7] Operation: 35/5=7
Exploring Operation: 35+2=37, Resulting Numbers: [5, 37]
Generated Node #0,1,3: 78:[5, 37] Operation: 35+2=37
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[2, 40], Operations: ['46/23=2', '5+35=40']
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 78:[2, 7], Operations: ['46/23=2', '35/5=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 78:[5, 37], Operations: ['46/23=2', '35+2=37']
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,78 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[2, 30], Operations: ['46/23=2', '35-5=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,78 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[5, 23, 11], Operations: ['46-35=11']
Exploring Operation: 5+11=16, Resulting Numbers: [23, 16]
Generated Node #0,2,0: 78:[23, 16] Operation: 5+11=16
Exploring Operation: 23-11=12, Resulting Numbers: [5, 12]
Generated Node #0,2,1: 78:[5, 12] Operation: 23-11=12
Exploring Operation: 11-5=6, Resulting Numbers: [23, 6]
Generated Node #0,2,2: 78:[23, 6] Operation: 11-5=6
Exploring Operation: 5+23=28, Resulting Numbers: [11, 28]
Generated Node #0,2,3: 78:[11, 28] Operation: 5+23=28
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 78:[5, 12], Operations: ['46-35=11', '23-11=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 78:[23, 6], Operations: ['46-35=11', '11-5=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,78 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 78:[11, 28], Operations: ['46-35=11', '5+23=28']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,78 unequal: No Solution
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 78:[23, 16], Operations: ['46-35=11', '5+11=16']
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 78:[5, 23, 81], Operations: ['35+46=81']
Exploring Operation: 5+23=28, Resulting Numbers: [81, 28]
Generated Node #0,3,0: 78:[81, 28] Operation: 5+23=28
Exploring Operation: 5+81=86, Resulting Numbers: [23, 86]
Generated Node #0,3,1: 78:[23, 86] Operation: 5+81=86
Exploring Operation: 23-5=18, Resulting Numbers: [81, 18]
Generated Node #0,3,2: 78:[81, 18] Operation: 23-5=18
Exploring Operation: 81-5=76, Resulting Numbers: [23, 76]
Generated Node #0,3,3: 78:[23, 76] Operation: 81-5=76
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 78:[81, 28], Operations: ['35+46=81', '5+23=28']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,78 unequal: No Solution
Exploring Operation: 81+28=109, Resulting Numbers: [109]
109,78 unequal: No Solution
Exploring Operation: 81*28=2268, Resulting Numbers: [2268]
2268,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 78:[23, 76], Operations: ['35+46=81', '81-5=76']
Exploring Operation: 23+76=99, Resulting Numbers: [99]
99,78 unequal: No Solution
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,78 unequal: No Solution
Exploring Operation: 23*76=1748, Resulting Numbers: [1748]
1748,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 78:[81, 18], Operations: ['35+46=81', '23-5=18']
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,78 unequal: No Solution
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,78 unequal: No Solution
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 78:[23, 86], Operations: ['35+46=81', '5+81=86']
Exploring Operation: 23*86=1978, Resulting Numbers: [1978]
1978,78 unequal: No Solution
Exploring Operation: 86-23=63, Resulting Numbers: [63]
63,78 unequal: No Solution
Exploring Operation: 23+86=109, Resulting Numbers: [109]
109,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[5, 35, 23], Operations: ['46-23=23']
Exploring Operation: 5+35=40, Resulting Numbers: [23, 40]
Generated Node #0,0,0: 78:[23, 40] Operation: 5+35=40
Exploring Operation: 35/5=7, Resulting Numbers: [23, 7]
Generated Node #0,0,1: 78:[23, 7] Operation: 35/5=7
Exploring Operation: 5+23=28, Resulting Numbers: [35, 28]
Generated Node #0,0,2: 78:[35, 28] Operation: 5+23=28
Exploring Operation: 35-23=12, Resulting Numbers: [5, 12]
Generated Node #0,0,3: 78:[5, 12] Operation: 35-23=12
Moving to Node #0,0,3
Current State: 78:[5, 12], Operations: ['46-23=23', '35-23=12']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[23, 7], Operations: ['46-23=23', '35/5=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,78 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[23, 40], Operations: ['46-23=23', '5+35=40']
Exploring Operation: 23+40=63, Resulting Numbers: [63]
63,78 unequal: No Solution
Exploring Operation: 23*40=920, Resulting Numbers: [920]
920,78 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[35, 28], Operations: ['46-23=23', '5+23=28']
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,78 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,78 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 |
[
57,
54,
17,
85
] | 15 | [
"57-54=3",
"85/17=5",
"3*5=15"
] | Current State: 15:[57, 54, 17, 85], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [17, 85, 3]
Generated Node #2: [17, 85, 3] from Operation: 57-54=3
Current State: 15:[17, 85, 3], Operations: ['57-54=3']
Exploring Operation: 85/17=5, Resulting Numbers: [3, 5]
Generated Node #3: [3, 5] from Operation: 85/17=5
Current State: 15:[3, 5], Operations: ['57-54=3', '85/17=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[57, 54, 17, 85], Operations: []
Exploring Operation: 85/17=5, Resulting Numbers: [57, 54, 5]
Generated Node #0,0: 15:[57, 54, 5] Operation: 85/17=5
Exploring Operation: 85-54=31, Resulting Numbers: [57, 17, 31]
Generated Node #0,1: 15:[57, 17, 31] Operation: 85-54=31
Exploring Operation: 85-57=28, Resulting Numbers: [54, 17, 28]
Generated Node #0,2: 15:[54, 17, 28] Operation: 85-57=28
Exploring Operation: 57-54=3, Resulting Numbers: [17, 85, 3]
Generated Node #0,3: 15:[17, 85, 3] Operation: 57-54=3
Moving to Node #0,2
Current State: 15:[54, 17, 28], Operations: ['85-57=28']
Exploring Operation: 54-17=37, Resulting Numbers: [28, 37]
Generated Node #0,2,0: 15:[28, 37] Operation: 54-17=37
Exploring Operation: 54-28=26, Resulting Numbers: [17, 26]
Generated Node #0,2,1: 15:[17, 26] Operation: 54-28=26
Exploring Operation: 28-17=11, Resulting Numbers: [54, 11]
Generated Node #0,2,2: 15:[54, 11] Operation: 28-17=11
Exploring Operation: 54+17=71, Resulting Numbers: [28, 71]
Generated Node #0,2,3: 15:[28, 71] Operation: 54+17=71
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[17, 26], Operations: ['85-57=28', '54-28=26']
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,15 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,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,2,0
Current State: 15:[28, 37], Operations: ['85-57=28', '54-17=37']
Exploring Operation: 28*37=1036, Resulting Numbers: [1036]
1036,15 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 28+37=65, Resulting Numbers: [65]
65,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,2,2
Current State: 15:[54, 11], Operations: ['85-57=28', '28-17=11']
Exploring Operation: 54+11=65, Resulting Numbers: [65]
65,15 unequal: No Solution
Exploring Operation: 54*11=594, Resulting Numbers: [594]
594,15 unequal: No Solution
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,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,2,3
Current State: 15:[28, 71], Operations: ['85-57=28', '54+17=71']
Exploring Operation: 28*71=1988, Resulting Numbers: [1988]
1988,15 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,15 unequal: No Solution
Exploring Operation: 28+71=99, Resulting Numbers: [99]
99,15 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: 15:[57, 17, 31], Operations: ['85-54=31']
Exploring Operation: 57-31=26, Resulting Numbers: [17, 26]
Generated Node #0,1,0: 15:[17, 26] Operation: 57-31=26
Exploring Operation: 31-17=14, Resulting Numbers: [57, 14]
Generated Node #0,1,1: 15:[57, 14] Operation: 31-17=14
Exploring Operation: 57+17=74, Resulting Numbers: [31, 74]
Generated Node #0,1,2: 15:[31, 74] Operation: 57+17=74
Exploring Operation: 57-17=40, Resulting Numbers: [31, 40]
Generated Node #0,1,3: 15:[31, 40] Operation: 57-17=40
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[17, 26], Operations: ['85-54=31', '57-31=26']
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,15 unequal: No Solution
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,15 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,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,1,3
Current State: 15:[31, 40], Operations: ['85-54=31', '57-17=40']
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,15 unequal: No Solution
Exploring Operation: 31*40=1240, Resulting Numbers: [1240]
1240,15 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,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,1,1
Current State: 15:[57, 14], Operations: ['85-54=31', '31-17=14']
Exploring Operation: 57*14=798, Resulting Numbers: [798]
798,15 unequal: No Solution
Exploring Operation: 57+14=71, Resulting Numbers: [71]
71,15 unequal: No Solution
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,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,1,2
Current State: 15:[31, 74], Operations: ['85-54=31', '57+17=74']
Exploring Operation: 31+74=105, Resulting Numbers: [105]
105,15 unequal: No Solution
Exploring Operation: 31*74=2294, Resulting Numbers: [2294]
2294,15 unequal: No Solution
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,15 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: 15:[17, 85, 3], Operations: ['57-54=3']
Exploring Operation: 85-17=68, Resulting Numbers: [3, 68]
Generated Node #0,3,0: 15:[3, 68] Operation: 85-17=68
Exploring Operation: 17-3=14, Resulting Numbers: [85, 14]
Generated Node #0,3,1: 15:[85, 14] Operation: 17-3=14
Exploring Operation: 85/17=5, Resulting Numbers: [3, 5]
Generated Node #0,3,2: 15:[3, 5] Operation: 85/17=5
Exploring Operation: 85-3=82, Resulting Numbers: [17, 82]
Generated Node #0,3,3: 15:[17, 82] Operation: 85-3=82
Moving to Node #0,0
Current State: 15:[57, 54, 5], Operations: ['85/17=5']
Exploring Operation: 57-5=52, Resulting Numbers: [54, 52]
Generated Node #0,0,0: 15:[54, 52] Operation: 57-5=52
Exploring Operation: 57-54=3, Resulting Numbers: [5, 3]
Generated Node #0,0,1: 15:[5, 3] Operation: 57-54=3
Exploring Operation: 54-5=49, Resulting Numbers: [57, 49]
Generated Node #0,0,2: 15:[57, 49] Operation: 54-5=49
Exploring Operation: 57+5=62, Resulting Numbers: [54, 62]
Generated Node #0,0,3: 15:[54, 62] Operation: 57+5=62
Moving to Node #0,3,2
Current State: 15:[3, 5], Operations: ['57-54=3', '85/17=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[57, 54, 17, 85], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [17, 85, 3]
Generated Node #0,3: 15:[17, 85, 3] Operation: 57-54=3
Moving to Node #0,3
Current State: 15:[17, 85, 3], Operations: ['57-54=3']
Exploring Operation: 85/17=5, Resulting Numbers: [3, 5]
Generated Node #0,3,2: 15:[3, 5] Operation: 85/17=5
Moving to Node #0,3,2
Current State: 15:[3, 5], Operations: ['57-54=3', '85/17=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.957465 | hs_4 | sum_heuristic |
[
98,
14,
1,
11
] | 96 | [
"98-14=84",
"1+11=12",
"84+12=96"
] | Current State: 96:[98, 14, 1, 11], Operations: []
Exploring Operation: 98-14=84, Resulting Numbers: [1, 11, 84]
Generated Node #2: [1, 11, 84] from Operation: 98-14=84
Current State: 96:[1, 11, 84], Operations: ['98-14=84']
Exploring Operation: 1+11=12, Resulting Numbers: [84, 12]
Generated Node #3: [84, 12] from Operation: 1+11=12
Current State: 96:[84, 12], Operations: ['98-14=84', '1+11=12']
Exploring Operation: 84+12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[98, 14, 1, 11], Operations: []
Exploring Operation: 98/14=7, Resulting Numbers: [1, 11, 7]
Generated Node #0,0: 96:[1, 11, 7] Operation: 98/14=7
Exploring Operation: 14-11=3, Resulting Numbers: [98, 1, 3]
Generated Node #0,1: 96:[98, 1, 3] Operation: 14-11=3
Exploring Operation: 98-1=97, Resulting Numbers: [14, 11, 97]
Generated Node #0,2: 96:[14, 11, 97] Operation: 98-1=97
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[1, 11, 7], Operations: ['98/14=7']
Exploring Operation: 1+7=8, Resulting Numbers: [11, 8]
Generated Node #0,0,0: 96:[11, 8] Operation: 1+7=8
Exploring Operation: 1+11=12, Resulting Numbers: [7, 12]
Generated Node #0,0,1: 96:[7, 12] Operation: 1+11=12
Exploring Operation: 7-1=6, Resulting Numbers: [11, 6]
Generated Node #0,0,2: 96:[11, 6] Operation: 7-1=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[11, 8], Operations: ['98/14=7', '1+7=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,96 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,96 unequal: No Solution
No 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: 96:[7, 12], Operations: ['98/14=7', '1+11=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,96 unequal: No Solution
No 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: 96:[11, 6], Operations: ['98/14=7', '7-1=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,96 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: 96:[98, 1, 3], Operations: ['14-11=3']
Exploring Operation: 98-1=97, Resulting Numbers: [3, 97]
Generated Node #0,1,0: 96:[3, 97] Operation: 98-1=97
Exploring Operation: 98*1=98, Resulting Numbers: [3, 98]
Generated Node #0,1,1: 96:[3, 98] Operation: 98*1=98
Exploring Operation: 98/1=98, Resulting Numbers: [3, 98]
Generated Node #0,1,2: 96:[3, 98] Operation: 98/1=98
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[3, 97], Operations: ['14-11=3', '98-1=97']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,96 unequal: No Solution
Exploring Operation: 3+97=100, Resulting Numbers: [100]
100,96 unequal: No Solution
Exploring Operation: 3*97=291, Resulting Numbers: [291]
291,96 unequal: No Solution
No 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: 96:[3, 98], Operations: ['14-11=3', '98*1=98']
Exploring Operation: 3*98=294, Resulting Numbers: [294]
294,96 unequal: No Solution
Exploring Operation: 3+98=101, Resulting Numbers: [101]
101,96 unequal: No Solution
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,96 unequal: No Solution
No 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: 96:[3, 98], Operations: ['14-11=3', '98/1=98']
Exploring Operation: 3*98=294, Resulting Numbers: [294]
294,96 unequal: No Solution
Exploring Operation: 3+98=101, Resulting Numbers: [101]
101,96 unequal: No Solution
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,96 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: 96:[14, 11, 97], Operations: ['98-1=97']
Exploring Operation: 14-11=3, Resulting Numbers: [97, 3]
Generated Node #0,2,0: 96:[97, 3] Operation: 14-11=3
Exploring Operation: 14+11=25, Resulting Numbers: [97, 25]
Generated Node #0,2,1: 96:[97, 25] Operation: 14+11=25
Exploring Operation: 97-11=86, Resulting Numbers: [14, 86]
Generated Node #0,2,2: 96:[14, 86] Operation: 97-11=86
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[97, 3], Operations: ['98-1=97', '14-11=3']
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,96 unequal: No Solution
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,96 unequal: No Solution
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,96 unequal: No Solution
No 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: 96:[97, 25], Operations: ['98-1=97', '14+11=25']
Exploring Operation: 97*25=2425, Resulting Numbers: [2425]
2425,96 unequal: No Solution
Exploring Operation: 97+25=122, Resulting Numbers: [122]
122,96 unequal: No Solution
Exploring Operation: 97-25=72, Resulting Numbers: [72]
72,96 unequal: No Solution
No 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: 96:[14, 86], Operations: ['98-1=97', '97-11=86']
Exploring Operation: 14*86=1204, Resulting Numbers: [1204]
1204,96 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 14+86=100, Resulting Numbers: [100]
100,96 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 |
[
31,
65,
63,
80
] | 26 | [
"63-31=32",
"65*32=2080",
"2080/80=26"
] | Current State: 26:[31, 65, 63, 80], Operations: []
Exploring Operation: 63-31=32, Resulting Numbers: [65, 80, 32]
Generated Node #2: [65, 80, 32] from Operation: 63-31=32
Current State: 26:[65, 80, 32], Operations: ['63-31=32']
Exploring Operation: 65*32=2080, Resulting Numbers: [80, 2080]
Generated Node #3: [80, 2080] from Operation: 65*32=2080
Current State: 26:[80, 2080], Operations: ['63-31=32', '65*32=2080']
Exploring Operation: 2080/80=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[31, 65, 63, 80], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [31, 65, 17]
Generated Node #0,0: 26:[31, 65, 17] Operation: 80-63=17
Exploring Operation: 80-65=15, Resulting Numbers: [31, 63, 15]
Generated Node #0,1: 26:[31, 63, 15] Operation: 80-65=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[31, 63, 15], Operations: ['80-65=15']
Exploring Operation: 63-15=48, Resulting Numbers: [31, 48]
Generated Node #0,1,0: 26:[31, 48] Operation: 63-15=48
Exploring Operation: 63-31=32, Resulting Numbers: [15, 32]
Generated Node #0,1,1: 26:[15, 32] Operation: 63-31=32
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[15, 32], Operations: ['80-65=15', '63-31=32']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[31, 48], Operations: ['80-65=15', '63-15=48']
Exploring Operation: 31+48=79, Resulting Numbers: [79]
79,26 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,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,0
Current State: 26:[31, 65, 17], Operations: ['80-63=17']
Exploring Operation: 65-17=48, Resulting Numbers: [31, 48]
Generated Node #0,0,0: 26:[31, 48] Operation: 65-17=48
Exploring Operation: 65-31=34, Resulting Numbers: [17, 34]
Generated Node #0,0,1: 26:[17, 34] Operation: 65-31=34
Moving to Node #0,0,1
Current State: 26:[17, 34], Operations: ['80-63=17', '65-31=34']
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[31, 48], Operations: ['80-63=17', '65-17=48']
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 31+48=79, Resulting Numbers: [79]
79,26 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,
52,
15,
15
] | 59 | [
"52-15=37",
"2*37=74",
"74-15=59"
] | Current State: 59:[2, 52, 15, 15], Operations: []
Exploring Operation: 52-15=37, Resulting Numbers: [2, 37]
Generated Node #2: [2, 37] from Operation: 52-15=37
Current State: 59:[2, 37], Operations: ['52-15=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,59 equal: Goal Reached
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[2, 52, 15, 15], Operations: []
Exploring Operation: 2*15=30, Resulting Numbers: [52, 15, 30]
Generated Node #0,0: 59:[52, 15, 30] Operation: 2*15=30
Exploring Operation: 2*15=30, Resulting Numbers: [52, 15, 30]
Generated Node #0,1: 59:[52, 15, 30] Operation: 2*15=30
Moving to Node #0,0
Current State: 59:[52, 15, 30], Operations: ['2*15=30']
Exploring Operation: 52+15=67, Resulting Numbers: [30, 67]
Generated Node #0,0,0: 59:[30, 67] Operation: 52+15=67
Exploring Operation: 15+30=45, Resulting Numbers: [52, 45]
Generated Node #0,0,1: 59:[52, 45] Operation: 15+30=45
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[52, 45], Operations: ['2*15=30', '15+30=45']
Exploring Operation: 52+45=97, Resulting Numbers: [97]
97,59 unequal: No Solution
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[30, 67], Operations: ['2*15=30', '52+15=67']
Exploring Operation: 30+67=97, Resulting Numbers: [97]
97,59 unequal: No Solution
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,59 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: 59:[52, 15, 30], Operations: ['2*15=30']
Exploring Operation: 52+15=67, Resulting Numbers: [30, 67]
Generated Node #0,1,0: 59:[30, 67] Operation: 52+15=67
Exploring Operation: 15+30=45, Resulting Numbers: [52, 45]
Generated Node #0,1,1: 59:[52, 45] Operation: 15+30=45
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[52, 45], Operations: ['2*15=30', '15+30=45']
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,59 unequal: No Solution
Exploring Operation: 52+45=97, Resulting Numbers: [97]
97,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[30, 67], Operations: ['2*15=30', '52+15=67']
Exploring Operation: 30+67=97, Resulting Numbers: [97]
97,59 unequal: No Solution
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
16,
8,
80,
87
] | 16 | [
"8+80=88",
"88-87=1",
"16*1=16"
] | Current State: 16:[16, 8, 80, 87], Operations: []
Exploring Operation: 8+80=88, Resulting Numbers: [16, 87, 88]
Generated Node #2: [16, 87, 88] from Operation: 8+80=88
Current State: 16:[16, 87, 88], Operations: ['8+80=88']
Exploring Operation: 88-87=1, Resulting Numbers: [16, 1]
Generated Node #3: [16, 1] from Operation: 88-87=1
Current State: 16:[16, 1], Operations: ['8+80=88', '88-87=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[16, 8, 80, 87], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [16, 8, 7]
Generated Node #0,0: 16:[16, 8, 7] Operation: 87-80=7
Moving to Node #0,0
Current State: 16:[16, 8, 7], Operations: ['87-80=7']
Exploring Operation: 16-8=8, Resulting Numbers: [7, 8]
Generated Node #0,0,0: 16:[7, 8] Operation: 16-8=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[7, 8], Operations: ['87-80=7', '16-8=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
98,
70,
56,
63
] | 23 | [
"70*56=3920",
"3920/98=40",
"63-40=23"
] | Current State: 23:[98, 70, 56, 63], Operations: []
Exploring Operation: 70*56=3920, Resulting Numbers: [98, 63, 3920]
Generated Node #2: [98, 63, 3920] from Operation: 70*56=3920
Current State: 23:[98, 63, 3920], Operations: ['70*56=3920']
Exploring Operation: 3920/98=40, Resulting Numbers: [63, 40]
Generated Node #3: [63, 40] from Operation: 3920/98=40
Current State: 23:[63, 40], Operations: ['70*56=3920', '3920/98=40']
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[98, 70, 56, 63], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [70, 56, 35]
Generated Node #0,0: 23:[70, 56, 35] Operation: 98-63=35
Exploring Operation: 98-56=42, Resulting Numbers: [70, 63, 42]
Generated Node #0,1: 23:[70, 63, 42] Operation: 98-56=42
Exploring Operation: 98-70=28, Resulting Numbers: [56, 63, 28]
Generated Node #0,2: 23:[56, 63, 28] Operation: 98-70=28
Moving to Node #0,2
Current State: 23:[56, 63, 28], Operations: ['98-70=28']
Exploring Operation: 56-28=28, Resulting Numbers: [63, 28]
Generated Node #0,2,0: 23:[63, 28] Operation: 56-28=28
Exploring Operation: 63-28=35, Resulting Numbers: [56, 35]
Generated Node #0,2,1: 23:[56, 35] Operation: 63-28=35
Exploring Operation: 63-56=7, Resulting Numbers: [28, 7]
Generated Node #0,2,2: 23:[28, 7] Operation: 63-56=7
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[28, 7], Operations: ['98-70=28', '63-56=7']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[63, 28], Operations: ['98-70=28', '56-28=28']
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 63*28=1764, Resulting Numbers: [1764]
1764,23 unequal: No Solution
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[56, 35], Operations: ['98-70=28', '63-28=35']
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Exploring Operation: 56*35=1960, Resulting Numbers: [1960]
1960,23 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: 23:[70, 56, 35], Operations: ['98-63=35']
Exploring Operation: 70-35=35, Resulting Numbers: [56, 35]
Generated Node #0,0,0: 23:[56, 35] Operation: 70-35=35
Exploring Operation: 70-56=14, Resulting Numbers: [35, 14]
Generated Node #0,0,1: 23:[35, 14] Operation: 70-56=14
Exploring Operation: 56-35=21, Resulting Numbers: [70, 21]
Generated Node #0,0,2: 23:[70, 21] Operation: 56-35=21
Moving to Node #0,1
Current State: 23:[70, 63, 42], Operations: ['98-56=42']
Exploring Operation: 63-42=21, Resulting Numbers: [70, 21]
Generated Node #0,1,0: 23:[70, 21] Operation: 63-42=21
Exploring Operation: 70-63=7, Resulting Numbers: [42, 7]
Generated Node #0,1,1: 23:[42, 7] Operation: 70-63=7
Exploring Operation: 70-42=28, Resulting Numbers: [63, 28]
Generated Node #0,1,2: 23:[63, 28] Operation: 70-42=28
Moving to Node #0,0,1
Current State: 23:[35, 14], Operations: ['98-63=35', '70-56=14']
Exploring Operation: 35*14=490, Resulting Numbers: [490]
490,23 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[42, 7], Operations: ['98-56=42', '70-63=7']
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[63, 28], Operations: ['98-56=42', '70-42=28']
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Exploring Operation: 63*28=1764, Resulting Numbers: [1764]
1764,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[56, 35], Operations: ['98-63=35', '70-35=35']
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Exploring Operation: 56*35=1960, Resulting Numbers: [1960]
1960,23 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[70, 21], Operations: ['98-56=42', '63-42=21']
Exploring Operation: 70+21=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 70*21=1470, Resulting Numbers: [1470]
1470,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[70, 21], Operations: ['98-63=35', '56-35=21']
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 70+21=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Exploring Operation: 70*21=1470, Resulting Numbers: [1470]
1470,23 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
23,
71,
96,
47
] | 49 | [
"23+71=94",
"96+47=143",
"143-94=49"
] | Current State: 49:[23, 71, 96, 47], Operations: []
Exploring Operation: 23+71=94, Resulting Numbers: [96, 47, 94]
Generated Node #2: [96, 47, 94] from Operation: 23+71=94
Current State: 49:[96, 47, 94], Operations: ['23+71=94']
Exploring Operation: 96+47=143, Resulting Numbers: [94, 143]
Generated Node #3: [94, 143] from Operation: 96+47=143
Current State: 49:[94, 143], Operations: ['23+71=94', '96+47=143']
Exploring Operation: 143-94=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[23, 71, 96, 47], Operations: []
Exploring Operation: 96-71=25, Resulting Numbers: [23, 47, 25]
Generated Node #0,0: 49:[23, 47, 25] Operation: 96-71=25
Exploring Operation: 96-47=49, Resulting Numbers: [23, 71, 49]
Generated Node #0,1: 49:[23, 71, 49] Operation: 96-47=49
Exploring Operation: 96-23=73, Resulting Numbers: [71, 47, 73]
Generated Node #0,2: 49:[71, 47, 73] Operation: 96-23=73
Exploring Operation: 71-23=48, Resulting Numbers: [96, 47, 48]
Generated Node #0,3: 49:[96, 47, 48] Operation: 71-23=48
Moving to Node #0,0
Current State: 49:[23, 47, 25], Operations: ['96-71=25']
Exploring Operation: 23+25=48, Resulting Numbers: [47, 48]
Generated Node #0,0,0: 49:[47, 48] Operation: 23+25=48
Exploring Operation: 25-23=2, Resulting Numbers: [47, 2]
Generated Node #0,0,1: 49:[47, 2] Operation: 25-23=2
Exploring Operation: 47-25=22, Resulting Numbers: [23, 22]
Generated Node #0,0,2: 49:[23, 22] Operation: 47-25=22
Exploring Operation: 47-23=24, Resulting Numbers: [25, 24]
Generated Node #0,0,3: 49:[25, 24] Operation: 47-23=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[47, 48], Operations: ['96-71=25', '23+25=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 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[47, 2], Operations: ['96-71=25', '25-23=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[23, 71, 96, 47], Operations: []
Exploring Operation: 96-71=25, Resulting Numbers: [23, 47, 25]
Generated Node #0,0: 49:[23, 47, 25] Operation: 96-71=25
Moving to Node #0,0
Current State: 49:[23, 47, 25], Operations: ['96-71=25']
Exploring Operation: 25-23=2, Resulting Numbers: [47, 2]
Generated Node #0,0,1: 49:[47, 2] Operation: 25-23=2
Moving to Node #0,0,1
Current State: 49:[47, 2], Operations: ['96-71=25', '25-23=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
17,
95,
4,
87
] | 100 | [
"17+95=112",
"112-87=25",
"4*25=100"
] | Current State: 100:[17, 95, 4, 87], Operations: []
Exploring Operation: 17+95=112, Resulting Numbers: [4, 87, 112]
Generated Node #2: [4, 87, 112] from Operation: 17+95=112
Current State: 100:[4, 87, 112], Operations: ['17+95=112']
Exploring Operation: 112-87=25, Resulting Numbers: [4, 25]
Generated Node #3: [4, 25] from Operation: 112-87=25
Current State: 100:[4, 25], Operations: ['17+95=112', '112-87=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[17, 95, 4, 87], Operations: []
Exploring Operation: 4+87=91, Resulting Numbers: [17, 95, 91]
Generated Node #0,0: 100:[17, 95, 91] Operation: 4+87=91
Exploring Operation: 95+4=99, Resulting Numbers: [17, 87, 99]
Generated Node #0,1: 100:[17, 87, 99] Operation: 95+4=99
Exploring Operation: 95-87=8, Resulting Numbers: [17, 4, 8]
Generated Node #0,2: 100:[17, 4, 8] Operation: 95-87=8
Exploring Operation: 17+87=104, Resulting Numbers: [95, 4, 104]
Generated Node #0,3: 100:[95, 4, 104] Operation: 17+87=104
Moving to Node #0,2
Current State: 100:[17, 4, 8], Operations: ['95-87=8']
Exploring Operation: 17+8=25, Resulting Numbers: [4, 25]
Generated Node #0,2,0: 100:[4, 25] Operation: 17+8=25
Exploring Operation: 17-8=9, Resulting Numbers: [4, 9]
Generated Node #0,2,1: 100:[4, 9] Operation: 17-8=9
Exploring Operation: 8-4=4, Resulting Numbers: [17, 4]
Generated Node #0,2,2: 100:[17, 4] Operation: 8-4=4
Exploring Operation: 17+4=21, Resulting Numbers: [8, 21]
Generated Node #0,2,3: 100:[8, 21] Operation: 17+4=21
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[4, 25], Operations: ['95-87=8', '17+8=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[17, 95, 4, 87], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [17, 4, 8]
Generated Node #0,2: 100:[17, 4, 8] Operation: 95-87=8
Moving to Node #0,2
Current State: 100:[17, 4, 8], Operations: ['95-87=8']
Exploring Operation: 17+8=25, Resulting Numbers: [4, 25]
Generated Node #0,2,0: 100:[4, 25] Operation: 17+8=25
Moving to Node #0,2,0
Current State: 100:[4, 25], Operations: ['95-87=8', '17+8=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
84,
40,
48,
72
] | 44 | [
"84-72=12",
"48/12=4",
"40+4=44"
] | Current State: 44:[84, 40, 48, 72], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [40, 48, 12]
Generated Node #2: [40, 48, 12] from Operation: 84-72=12
Current State: 44:[40, 48, 12], Operations: ['84-72=12']
Exploring Operation: 48/12=4, Resulting Numbers: [40, 4]
Generated Node #3: [40, 4] from Operation: 48/12=4
Current State: 44:[40, 4], Operations: ['84-72=12', '48/12=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[84, 40, 48, 72], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [40, 48, 12]
Generated Node #0,0: 44:[40, 48, 12] Operation: 84-72=12
Exploring Operation: 72-48=24, Resulting Numbers: [84, 40, 24]
Generated Node #0,1: 44:[84, 40, 24] Operation: 72-48=24
Exploring Operation: 84-40=44, Resulting Numbers: [48, 72, 44]
Generated Node #0,2: 44:[48, 72, 44] Operation: 84-40=44
Exploring Operation: 84-48=36, Resulting Numbers: [40, 72, 36]
Generated Node #0,3: 44:[40, 72, 36] Operation: 84-48=36
Moving to Node #0,0
Current State: 44:[40, 48, 12], Operations: ['84-72=12']
Exploring Operation: 48-40=8, Resulting Numbers: [12, 8]
Generated Node #0,0,0: 44:[12, 8] Operation: 48-40=8
Exploring Operation: 40-12=28, Resulting Numbers: [48, 28]
Generated Node #0,0,1: 44:[48, 28] Operation: 40-12=28
Exploring Operation: 48/12=4, Resulting Numbers: [40, 4]
Generated Node #0,0,2: 44:[40, 4] Operation: 48/12=4
Exploring Operation: 40+12=52, Resulting Numbers: [48, 52]
Generated Node #0,0,3: 44:[48, 52] Operation: 40+12=52
Moving to Node #0,2
Current State: 44:[48, 72, 44], Operations: ['84-40=44']
Exploring Operation: 48-44=4, Resulting Numbers: [72, 4]
Generated Node #0,2,0: 44:[72, 4] Operation: 48-44=4
Exploring Operation: 72-44=28, Resulting Numbers: [48, 28]
Generated Node #0,2,1: 44:[48, 28] Operation: 72-44=28
Exploring Operation: 72-48=24, Resulting Numbers: [44, 24]
Generated Node #0,2,2: 44:[44, 24] Operation: 72-48=24
Exploring Operation: 48+72=120, Resulting Numbers: [44, 120]
Generated Node #0,2,3: 44:[44, 120] Operation: 48+72=120
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 44:[44, 24], Operations: ['84-40=44', '72-48=24']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,44 unequal: No Solution
No 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: 44:[48, 28], Operations: ['84-40=44', '72-44=28']
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,44 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,44 unequal: No Solution
No 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: 44:[72, 4], Operations: ['84-40=44', '48-44=4']
Exploring Operation: 72*4=288, Resulting Numbers: [288]
288,44 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,44 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,44 unequal: No Solution
No 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: 44:[44, 120], Operations: ['84-40=44', '48+72=120']
Exploring Operation: 44+120=164, Resulting Numbers: [164]
164,44 unequal: No Solution
Exploring Operation: 44*120=5280, Resulting Numbers: [5280]
5280,44 unequal: No Solution
Exploring Operation: 120-44=76, Resulting Numbers: [76]
76,44 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: 44:[40, 72, 36], Operations: ['84-48=36']
Exploring Operation: 72/36=2, Resulting Numbers: [40, 2]
Generated Node #0,3,0: 44:[40, 2] Operation: 72/36=2
Exploring Operation: 72-36=36, Resulting Numbers: [40, 36]
Generated Node #0,3,1: 44:[40, 36] Operation: 72-36=36
Exploring Operation: 72-40=32, Resulting Numbers: [36, 32]
Generated Node #0,3,2: 44:[36, 32] Operation: 72-40=32
Exploring Operation: 40-36=4, Resulting Numbers: [72, 4]
Generated Node #0,3,3: 44:[72, 4] Operation: 40-36=4
Moving to Node #0,1
Current State: 44:[84, 40, 24], Operations: ['72-48=24']
Exploring Operation: 40-24=16, Resulting Numbers: [84, 16]
Generated Node #0,1,0: 44:[84, 16] Operation: 40-24=16
Exploring Operation: 84-24=60, Resulting Numbers: [40, 60]
Generated Node #0,1,1: 44:[40, 60] Operation: 84-24=60
Exploring Operation: 84-40=44, Resulting Numbers: [24, 44]
Generated Node #0,1,2: 44:[24, 44] Operation: 84-40=44
Exploring Operation: 40+24=64, Resulting Numbers: [84, 64]
Generated Node #0,1,3: 44:[84, 64] Operation: 40+24=64
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 44:[24, 44], Operations: ['72-48=24', '84-40=44']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 24*44=1056, Resulting Numbers: [1056]
1056,44 unequal: No Solution
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,44 unequal: No Solution
No 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: 44:[40, 60], Operations: ['72-48=24', '84-24=60']
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,44 unequal: No Solution
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,44 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,44 unequal: No Solution
No 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: 44:[84, 16], Operations: ['72-48=24', '40-24=16']
Exploring Operation: 84+16=100, Resulting Numbers: [100]
100,44 unequal: No Solution
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 84*16=1344, Resulting Numbers: [1344]
1344,44 unequal: No Solution
No 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: 44:[84, 64], Operations: ['72-48=24', '40+24=64']
Exploring Operation: 84+64=148, Resulting Numbers: [148]
148,44 unequal: No Solution
Exploring Operation: 84*64=5376, Resulting Numbers: [5376]
5376,44 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,44 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: 44:[12, 8], Operations: ['84-72=12', '48-40=8']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[40, 4], Operations: ['84-72=12', '48/12=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,44 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[84, 40, 48, 72], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [40, 48, 12]
Generated Node #0,0: 44:[40, 48, 12] Operation: 84-72=12
Moving to Node #0,0
Current State: 44:[40, 48, 12], Operations: ['84-72=12']
Exploring Operation: 48/12=4, Resulting Numbers: [40, 4]
Generated Node #0,0,2: 44:[40, 4] Operation: 48/12=4
Moving to Node #0,0,2
Current State: 44:[40, 4], Operations: ['84-72=12', '48/12=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.952257 | hs_4 | mult_heuristic |
[
76,
88,
19,
49
] | 80 | [
"88-76=12",
"19+49=68",
"12+68=80"
] | Current State: 80:[76, 88, 19, 49], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [19, 49, 12]
Generated Node #2: [19, 49, 12] from Operation: 88-76=12
Current State: 80:[19, 49, 12], Operations: ['88-76=12']
Exploring Operation: 19+49=68, Resulting Numbers: [12, 68]
Generated Node #3: [12, 68] from Operation: 19+49=68
Current State: 80:[12, 68], Operations: ['88-76=12', '19+49=68']
Exploring Operation: 12+68=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[76, 88, 19, 49], Operations: []
Exploring Operation: 88-49=39, Resulting Numbers: [76, 19, 39]
Generated Node #0,0: 80:[76, 19, 39] Operation: 88-49=39
Exploring Operation: 88-76=12, Resulting Numbers: [19, 49, 12]
Generated Node #0,1: 80:[19, 49, 12] Operation: 88-76=12
Moving to Node #0,0
Current State: 80:[76, 19, 39], Operations: ['88-49=39']
Exploring Operation: 76-39=37, Resulting Numbers: [19, 37]
Generated Node #0,0,0: 80:[19, 37] Operation: 76-39=37
Exploring Operation: 76/19=4, Resulting Numbers: [39, 4]
Generated Node #0,0,1: 80:[39, 4] Operation: 76/19=4
Moving to Node #0,1
Current State: 80:[19, 49, 12], Operations: ['88-76=12']
Exploring Operation: 49-12=37, Resulting Numbers: [19, 37]
Generated Node #0,1,0: 80:[19, 37] Operation: 49-12=37
Exploring Operation: 19-12=7, Resulting Numbers: [49, 7]
Generated Node #0,1,1: 80:[49, 7] Operation: 19-12=7
Moving to Node #0,0,1
Current State: 80:[39, 4], Operations: ['88-49=39', '76/19=4']
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,80 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[19, 37], Operations: ['88-76=12', '49-12=37']
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,80 unequal: No Solution
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[19, 37], Operations: ['88-49=39', '76-39=37']
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[49, 7], Operations: ['88-76=12', '19-12=7']
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,80 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
8,
54,
76,
92
] | 84 | [
"76-54=22",
"8*22=176",
"176-92=84"
] | Current State: 84:[8, 54, 76, 92], Operations: []
Exploring Operation: 76-54=22, Resulting Numbers: [8, 92, 22]
Generated Node #2: [8, 92, 22] from Operation: 76-54=22
Current State: 84:[8, 92, 22], Operations: ['76-54=22']
Exploring Operation: 8*22=176, Resulting Numbers: [92, 176]
Generated Node #3: [92, 176] from Operation: 8*22=176
Current State: 84:[92, 176], Operations: ['76-54=22', '8*22=176']
Exploring Operation: 176-92=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[8, 54, 76, 92], Operations: []
Exploring Operation: 8+76=84, Resulting Numbers: [54, 92, 84]
Generated Node #0,0: 84:[54, 92, 84] Operation: 8+76=84
Exploring Operation: 92-54=38, Resulting Numbers: [8, 76, 38]
Generated Node #0,1: 84:[8, 76, 38] Operation: 92-54=38
Exploring Operation: 92-76=16, Resulting Numbers: [8, 54, 16]
Generated Node #0,2: 84:[8, 54, 16] Operation: 92-76=16
Exploring Operation: 76-54=22, Resulting Numbers: [8, 92, 22]
Generated Node #0,3: 84:[8, 92, 22] Operation: 76-54=22
Exploring Operation: 54-8=46, Resulting Numbers: [76, 92, 46]
Generated Node #0,4: 84:[76, 92, 46] Operation: 54-8=46
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[8, 92, 22], Operations: ['76-54=22']
Exploring Operation: 92-22=70, Resulting Numbers: [8, 70]
Generated Node #0,3,0: 84:[8, 70] Operation: 92-22=70
Exploring Operation: 8+22=30, Resulting Numbers: [92, 30]
Generated Node #0,3,1: 84:[92, 30] Operation: 8+22=30
Exploring Operation: 8+92=100, Resulting Numbers: [22, 100]
Generated Node #0,3,2: 84:[22, 100] Operation: 8+92=100
Exploring Operation: 92-8=84, Resulting Numbers: [22, 84]
Generated Node #0,3,3: 84:[22, 84] Operation: 92-8=84
Exploring Operation: 22-8=14, Resulting Numbers: [92, 14]
Generated Node #0,3,4: 84:[92, 14] Operation: 22-8=14
Moving to Node #0,3,3
Current State: 84:[22, 84], Operations: ['76-54=22', '92-8=84']
Exploring Operation: 22*84=1848, Resulting Numbers: [1848]
1848,84 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 22+84=106, Resulting Numbers: [106]
106,84 unequal: No Solution
Moving to Node #0,3,4
Current State: 84:[92, 14], Operations: ['76-54=22', '22-8=14']
Exploring Operation: 92+14=106, Resulting Numbers: [106]
106,84 unequal: No Solution
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,84 unequal: No Solution
Exploring Operation: 92*14=1288, Resulting Numbers: [1288]
1288,84 unequal: No Solution
Moving to Node #0,3,1
Current State: 84:[92, 30], Operations: ['76-54=22', '8+22=30']
Exploring Operation: 92+30=122, Resulting Numbers: [122]
122,84 unequal: No Solution
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 92*30=2760, Resulting Numbers: [2760]
2760,84 unequal: No Solution
Moving to Node #0,3,0
Current State: 84:[8, 70], Operations: ['76-54=22', '92-22=70']
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 8*70=560, Resulting Numbers: [560]
560,84 unequal: No Solution
Exploring Operation: 8+70=78, Resulting Numbers: [78]
78,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[22, 100], Operations: ['76-54=22', '8+92=100']
Exploring Operation: 22*100=2200, Resulting Numbers: [2200]
2200,84 unequal: No Solution
Exploring Operation: 22+100=122, Resulting Numbers: [122]
122,84 unequal: No Solution
Exploring Operation: 100-22=78, Resulting Numbers: [78]
78,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,1
Current State: 84:[8, 76, 38], Operations: ['92-54=38']
Exploring Operation: 8+76=84, Resulting Numbers: [38, 84]
Generated Node #0,1,0: 84:[38, 84] Operation: 8+76=84
Exploring Operation: 38-8=30, Resulting Numbers: [76, 30]
Generated Node #0,1,1: 84:[76, 30] Operation: 38-8=30
Exploring Operation: 76-38=38, Resulting Numbers: [8, 38]
Generated Node #0,1,2: 84:[8, 38] Operation: 76-38=38
Exploring Operation: 8+38=46, Resulting Numbers: [76, 46]
Generated Node #0,1,3: 84:[76, 46] Operation: 8+38=46
Exploring Operation: 76/38=2, Resulting Numbers: [8, 2]
Generated Node #0,1,4: 84:[8, 2] Operation: 76/38=2
Moving to Node #0,1,4
Current State: 84:[8, 2], Operations: ['92-54=38', '76/38=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[38, 84], Operations: ['92-54=38', '8+76=84']
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 38+84=122, Resulting Numbers: [122]
122,84 unequal: No Solution
Exploring Operation: 38*84=3192, Resulting Numbers: [3192]
3192,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[8, 38], Operations: ['92-54=38', '76-38=38']
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[76, 30], Operations: ['92-54=38', '38-8=30']
Exploring Operation: 76*30=2280, Resulting Numbers: [2280]
2280,84 unequal: No Solution
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 76+30=106, Resulting Numbers: [106]
106,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[76, 46], Operations: ['92-54=38', '8+38=46']
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,84 unequal: No Solution
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[8, 54, 16], Operations: ['92-76=16']
Exploring Operation: 54-16=38, Resulting Numbers: [8, 38]
Generated Node #0,2,0: 84:[8, 38] Operation: 54-16=38
Exploring Operation: 54-8=46, Resulting Numbers: [16, 46]
Generated Node #0,2,1: 84:[16, 46] Operation: 54-8=46
Exploring Operation: 16-8=8, Resulting Numbers: [54, 8]
Generated Node #0,2,2: 84:[54, 8] Operation: 16-8=8
Exploring Operation: 16/8=2, Resulting Numbers: [54, 2]
Generated Node #0,2,3: 84:[54, 2] Operation: 16/8=2
Exploring Operation: 8+16=24, Resulting Numbers: [54, 24]
Generated Node #0,2,4: 84:[54, 24] Operation: 8+16=24
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 84:[8, 38], Operations: ['92-76=16', '54-16=38']
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,84 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 84:[16, 46], Operations: ['92-76=16', '54-8=46']
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,84 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 84:[54, 2], Operations: ['92-76=16', '16/8=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,84 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 84:[54, 8], Operations: ['92-76=16', '16-8=8']
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,84 unequal: No Solution
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 84:[54, 24], Operations: ['92-76=16', '8+16=24']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 54*24=1296, Resulting Numbers: [1296]
1296,84 unequal: No Solution
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[54, 92, 84], Operations: ['8+76=84']
Exploring Operation: 84-54=30, Resulting Numbers: [92, 30]
Generated Node #0,0,0: 84:[92, 30] Operation: 84-54=30
Exploring Operation: 54+84=138, Resulting Numbers: [92, 138]
Generated Node #0,0,1: 84:[92, 138] Operation: 54+84=138
Exploring Operation: 92-54=38, Resulting Numbers: [84, 38]
Generated Node #0,0,2: 84:[84, 38] Operation: 92-54=38
Exploring Operation: 92-84=8, Resulting Numbers: [54, 8]
Generated Node #0,0,3: 84:[54, 8] Operation: 92-84=8
Exploring Operation: 54+92=146, Resulting Numbers: [84, 146]
Generated Node #0,0,4: 84:[84, 146] Operation: 54+92=146
Moving to Node #0,0,2
Current State: 84:[84, 38], Operations: ['8+76=84', '92-54=38']
Exploring Operation: 84+38=122, Resulting Numbers: [122]
122,84 unequal: No Solution
Exploring Operation: 84*38=3192, Resulting Numbers: [3192]
3192,84 unequal: No Solution
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[92, 30], Operations: ['8+76=84', '84-54=30']
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 92+30=122, Resulting Numbers: [122]
122,84 unequal: No Solution
Exploring Operation: 92*30=2760, Resulting Numbers: [2760]
2760,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[54, 8], Operations: ['8+76=84', '92-84=8']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,84 unequal: No Solution
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[92, 138], Operations: ['8+76=84', '54+84=138']
Exploring Operation: 92+138=230, Resulting Numbers: [230]
230,84 unequal: No Solution
Exploring Operation: 92*138=12696, Resulting Numbers: [12696]
12696,84 unequal: No Solution
Exploring Operation: 138-92=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Moving to Node #0,0,4
Current State: 84:[84, 146], Operations: ['8+76=84', '54+92=146']
Exploring Operation: 84+146=230, Resulting Numbers: [230]
230,84 unequal: No Solution
Exploring Operation: 146-84=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 84*146=12264, Resulting Numbers: [12264]
12264,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
Current State: 84:[76, 92, 46], Operations: ['54-8=46']
Exploring Operation: 92-76=16, Resulting Numbers: [46, 16]
Generated Node #0,4,0: 84:[46, 16] Operation: 92-76=16
Exploring Operation: 76+46=122, Resulting Numbers: [92, 122]
Generated Node #0,4,1: 84:[92, 122] Operation: 76+46=122
Exploring Operation: 76-46=30, Resulting Numbers: [92, 30]
Generated Node #0,4,2: 84:[92, 30] Operation: 76-46=30
Exploring Operation: 92/46=2, Resulting Numbers: [76, 2]
Generated Node #0,4,3: 84:[76, 2] Operation: 92/46=2
Exploring Operation: 92-46=46, Resulting Numbers: [76, 46]
Generated Node #0,4,4: 84:[76, 46] Operation: 92-46=46
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 84:[46, 16], Operations: ['54-8=46', '92-76=16']
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 46*16=736, Resulting Numbers: [736]
736,84 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 84:[76, 2], Operations: ['54-8=46', '92/46=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,84 unequal: No Solution
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,84 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 84:[92, 30], Operations: ['54-8=46', '76-46=30']
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 92*30=2760, Resulting Numbers: [2760]
2760,84 unequal: No Solution
Exploring Operation: 92+30=122, Resulting Numbers: [122]
122,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 84:[76, 46], Operations: ['54-8=46', '92-46=46']
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,84 unequal: No Solution
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 84:[92, 122], Operations: ['54-8=46', '76+46=122']
Exploring Operation: 92+122=214, Resulting Numbers: [214]
214,84 unequal: No Solution
Exploring Operation: 92*122=11224, Resulting Numbers: [11224]
11224,84 unequal: No Solution
Exploring Operation: 122-92=30, Resulting Numbers: [30]
30,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
46,
47,
2,
26
] | 69 | [
"46+47=93",
"26-2=24",
"93-24=69"
] | Current State: 69:[46, 47, 2, 26], Operations: []
Exploring Operation: 46+47=93, Resulting Numbers: [2, 26, 93]
Generated Node #2: [2, 26, 93] from Operation: 46+47=93
Current State: 69:[2, 26, 93], Operations: ['46+47=93']
Exploring Operation: 26-2=24, Resulting Numbers: [93, 24]
Generated Node #3: [93, 24] from Operation: 26-2=24
Current State: 69:[93, 24], Operations: ['46+47=93', '26-2=24']
Exploring Operation: 93-24=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[46, 47, 2, 26], Operations: []
Exploring Operation: 46-26=20, Resulting Numbers: [47, 2, 20]
Generated Node #0,0: 69:[47, 2, 20] Operation: 46-26=20
Exploring Operation: 47-26=21, Resulting Numbers: [46, 2, 21]
Generated Node #0,1: 69:[46, 2, 21] Operation: 47-26=21
Exploring Operation: 46/2=23, Resulting Numbers: [47, 26, 23]
Generated Node #0,2: 69:[47, 26, 23] Operation: 46/2=23
Exploring Operation: 46+26=72, Resulting Numbers: [47, 2, 72]
Generated Node #0,3: 69:[47, 2, 72] Operation: 46+26=72
Exploring Operation: 47-46=1, Resulting Numbers: [2, 26, 1]
Generated Node #0,4: 69:[2, 26, 1] Operation: 47-46=1
Moving to Node #0,4
Current State: 69:[2, 26, 1], Operations: ['47-46=1']
Exploring Operation: 26-2=24, Resulting Numbers: [1, 24]
Generated Node #0,4,0: 69:[1, 24] Operation: 26-2=24
Exploring Operation: 2*1=2, Resulting Numbers: [26, 2]
Generated Node #0,4,1: 69:[26, 2] Operation: 2*1=2
Exploring Operation: 2/1=2, Resulting Numbers: [26, 2]
Generated Node #0,4,2: 69:[26, 2] Operation: 2/1=2
Exploring Operation: 2+1=3, Resulting Numbers: [26, 3]
Generated Node #0,4,3: 69:[26, 3] Operation: 2+1=3
Exploring Operation: 26-1=25, Resulting Numbers: [2, 25]
Generated Node #0,4,4: 69:[2, 25] Operation: 26-1=25
Moving to Node #0,2
Current State: 69:[47, 26, 23], Operations: ['46/2=23']
Exploring Operation: 47-23=24, Resulting Numbers: [26, 24]
Generated Node #0,2,0: 69:[26, 24] Operation: 47-23=24
Exploring Operation: 26-23=3, Resulting Numbers: [47, 3]
Generated Node #0,2,1: 69:[47, 3] Operation: 26-23=3
Exploring Operation: 47+26=73, Resulting Numbers: [23, 73]
Generated Node #0,2,2: 69:[23, 73] Operation: 47+26=73
Exploring Operation: 47+23=70, Resulting Numbers: [26, 70]
Generated Node #0,2,3: 69:[26, 70] Operation: 47+23=70
Exploring Operation: 47-26=21, Resulting Numbers: [23, 21]
Generated Node #0,2,4: 69:[23, 21] Operation: 47-26=21
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 69:[23, 21], Operations: ['46/2=23', '47-26=21']
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,69 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[26, 24], Operations: ['46/2=23', '47-23=24']
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 26*24=624, Resulting Numbers: [624]
624,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 69:[23, 73], Operations: ['46/2=23', '47+26=73']
Exploring Operation: 23+73=96, Resulting Numbers: [96]
96,69 unequal: No Solution
Exploring Operation: 23*73=1679, Resulting Numbers: [1679]
1679,69 unequal: No Solution
Exploring Operation: 73-23=50, Resulting Numbers: [50]
50,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 69:[26, 70], Operations: ['46/2=23', '47+23=70']
Exploring Operation: 26*70=1820, Resulting Numbers: [1820]
1820,69 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 26+70=96, Resulting Numbers: [96]
96,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[47, 3], Operations: ['46/2=23', '26-23=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,69 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 69:[47, 2, 20], Operations: ['46-26=20']
Exploring Operation: 2+20=22, Resulting Numbers: [47, 22]
Generated Node #0,0,0: 69:[47, 22] Operation: 2+20=22
Exploring Operation: 47-20=27, Resulting Numbers: [2, 27]
Generated Node #0,0,1: 69:[2, 27] Operation: 47-20=27
Exploring Operation: 47+2=49, Resulting Numbers: [20, 49]
Generated Node #0,0,2: 69:[20, 49] Operation: 47+2=49
Exploring Operation: 47+20=67, Resulting Numbers: [2, 67]
Generated Node #0,0,3: 69:[2, 67] Operation: 47+20=67
Exploring Operation: 47-2=45, Resulting Numbers: [20, 45]
Generated Node #0,0,4: 69:[20, 45] Operation: 47-2=45
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 69:[2, 67], Operations: ['46-26=20', '47+20=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,69 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[46, 47, 2, 26], Operations: []
Exploring Operation: 46-26=20, Resulting Numbers: [47, 2, 20]
Generated Node #0,0: 69:[47, 2, 20] Operation: 46-26=20
Moving to Node #0,0
Current State: 69:[47, 2, 20], Operations: ['46-26=20']
Exploring Operation: 47+20=67, Resulting Numbers: [2, 67]
Generated Node #0,0,3: 69:[2, 67] Operation: 47+20=67
Moving to Node #0,0,3
Current State: 69:[2, 67], Operations: ['46-26=20', '47+20=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
7,
32,
6,
59
] | 40 | [
"32-7=25",
"6+59=65",
"65-25=40"
] | Current State: 40:[7, 32, 6, 59], Operations: []
Exploring Operation: 32-7=25, Resulting Numbers: [6, 59, 25]
Generated Node #2: [6, 59, 25] from Operation: 32-7=25
Current State: 40:[6, 59, 25], Operations: ['32-7=25']
Exploring Operation: 6+59=65, Resulting Numbers: [25, 65]
Generated Node #3: [25, 65] from Operation: 6+59=65
Current State: 40:[25, 65], Operations: ['32-7=25', '6+59=65']
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[7, 32, 6, 59], Operations: []
Exploring Operation: 32+6=38, Resulting Numbers: [7, 59, 38]
Generated Node #0,0: 40:[7, 59, 38] Operation: 32+6=38
Exploring Operation: 7+32=39, Resulting Numbers: [6, 59, 39]
Generated Node #0,1: 40:[6, 59, 39] Operation: 7+32=39
Exploring Operation: 59-7=52, Resulting Numbers: [32, 6, 52]
Generated Node #0,2: 40:[32, 6, 52] Operation: 59-7=52
Exploring Operation: 59-32=27, Resulting Numbers: [7, 6, 27]
Generated Node #0,3: 40:[7, 6, 27] Operation: 59-32=27
Exploring Operation: 59-6=53, Resulting Numbers: [7, 32, 53]
Generated Node #0,4: 40:[7, 32, 53] Operation: 59-6=53
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[7, 6, 27], Operations: ['59-32=27']
Exploring Operation: 27-7=20, Resulting Numbers: [6, 20]
Generated Node #0,3,0: 40:[6, 20] Operation: 27-7=20
Exploring Operation: 6+27=33, Resulting Numbers: [7, 33]
Generated Node #0,3,1: 40:[7, 33] Operation: 6+27=33
Exploring Operation: 27-6=21, Resulting Numbers: [7, 21]
Generated Node #0,3,2: 40:[7, 21] Operation: 27-6=21
Exploring Operation: 7-6=1, Resulting Numbers: [27, 1]
Generated Node #0,3,3: 40:[27, 1] Operation: 7-6=1
Exploring Operation: 7+27=34, Resulting Numbers: [6, 34]
Generated Node #0,3,4: 40:[6, 34] Operation: 7+27=34
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 40:[6, 20], Operations: ['59-32=27', '27-7=20']
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,40 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 40:[7, 21], Operations: ['59-32=27', '27-6=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 40:[6, 34], Operations: ['59-32=27', '7+27=34']
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,40 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[7, 32, 6, 59], Operations: []
Exploring Operation: 59-32=27, Resulting Numbers: [7, 6, 27]
Generated Node #0,3: 40:[7, 6, 27] Operation: 59-32=27
Moving to Node #0,3
Current State: 40:[7, 6, 27], Operations: ['59-32=27']
Exploring Operation: 7+27=34, Resulting Numbers: [6, 34]
Generated Node #0,3,4: 40:[6, 34] Operation: 7+27=34
Moving to Node #0,3,4
Current State: 40:[6, 34], Operations: ['59-32=27', '7+27=34']
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_5 | mult_heuristic |
[
73,
82,
82,
38
] | 73 | [
"82-82=0",
"38*0=0",
"73+0=73"
] | Current State: 73:[73, 82, 82, 38], Operations: []
Exploring Operation: 82-82=0, Resulting Numbers: [73, 38, 0]
Generated Node #2: [73, 38, 0] from Operation: 82-82=0
Current State: 73:[73, 38, 0], Operations: ['82-82=0']
Exploring Operation: 38*0=0, Resulting Numbers: [73, 0]
Generated Node #3: [73, 0] from Operation: 38*0=0
Current State: 73:[73, 0], Operations: ['82-82=0', '38*0=0']
Exploring Operation: 73+0=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[73, 82, 82, 38], Operations: []
Exploring Operation: 73+38=111, Resulting Numbers: [82, 82, 111]
Generated Node #0,0: 73:[82, 82, 111] Operation: 73+38=111
Exploring Operation: 82-38=44, Resulting Numbers: [73, 82, 44]
Generated Node #0,1: 73:[73, 82, 44] Operation: 82-38=44
Exploring Operation: 82-38=44, Resulting Numbers: [73, 82, 44]
Generated Node #0,2: 73:[73, 82, 44] Operation: 82-38=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[73, 82, 44], Operations: ['82-38=44']
Exploring Operation: 82-44=38, Resulting Numbers: [73, 38]
Generated Node #0,1,0: 73:[73, 38] Operation: 82-44=38
Exploring Operation: 73+44=117, Resulting Numbers: [82, 117]
Generated Node #0,1,1: 73:[82, 117] Operation: 73+44=117
Exploring Operation: 73-44=29, Resulting Numbers: [82, 29]
Generated Node #0,1,2: 73:[82, 29] Operation: 73-44=29
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[73, 38], Operations: ['82-38=44', '82-44=38']
Exploring Operation: 73+38=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 73-38=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 73*38=2774, Resulting Numbers: [2774]
2774,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,1
Current State: 73:[82, 117], Operations: ['82-38=44', '73+44=117']
Exploring Operation: 82*117=9594, Resulting Numbers: [9594]
9594,73 unequal: No Solution
Exploring Operation: 117-82=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 82+117=199, Resulting Numbers: [199]
199,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:[82, 29], Operations: ['82-38=44', '73-44=29']
Exploring Operation: 82+29=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 82*29=2378, Resulting Numbers: [2378]
2378,73 unequal: No Solution
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,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:[73, 82, 44], Operations: ['82-38=44']
Exploring Operation: 82-44=38, Resulting Numbers: [73, 38]
Generated Node #0,2,0: 73:[73, 38] Operation: 82-44=38
Exploring Operation: 73+44=117, Resulting Numbers: [82, 117]
Generated Node #0,2,1: 73:[82, 117] Operation: 73+44=117
Exploring Operation: 73-44=29, Resulting Numbers: [82, 29]
Generated Node #0,2,2: 73:[82, 29] Operation: 73-44=29
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[73, 38], Operations: ['82-38=44', '82-44=38']
Exploring Operation: 73+38=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 73-38=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 73*38=2774, Resulting Numbers: [2774]
2774,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:[82, 117], Operations: ['82-38=44', '73+44=117']
Exploring Operation: 117-82=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 82*117=9594, Resulting Numbers: [9594]
9594,73 unequal: No Solution
Exploring Operation: 82+117=199, Resulting Numbers: [199]
199,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:[82, 29], Operations: ['82-38=44', '73-44=29']
Exploring Operation: 82+29=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 82*29=2378, Resulting Numbers: [2378]
2378,73 unequal: No Solution
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,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:[82, 82, 111], Operations: ['73+38=111']
Exploring Operation: 82/82=1, Resulting Numbers: [111, 1]
Generated Node #0,0,0: 73:[111, 1] Operation: 82/82=1
Exploring Operation: 111-82=29, Resulting Numbers: [82, 29]
Generated Node #0,0,1: 73:[82, 29] Operation: 111-82=29
Exploring Operation: 111-82=29, Resulting Numbers: [82, 29]
Generated Node #0,0,2: 73:[82, 29] Operation: 111-82=29
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[82, 29], Operations: ['73+38=111', '111-82=29']
Exploring Operation: 82*29=2378, Resulting Numbers: [2378]
2378,73 unequal: No Solution
Exploring Operation: 82+29=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 73:[82, 29], Operations: ['73+38=111', '111-82=29']
Exploring Operation: 82*29=2378, Resulting Numbers: [2378]
2378,73 unequal: No Solution
Exploring Operation: 82+29=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[111, 1], Operations: ['73+38=111', '82/82=1']
Exploring Operation: 111/1=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 111*1=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 111-1=110, Resulting Numbers: [110]
110,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
46,
71,
92,
41
] | 60 | [
"92/46=2",
"71-41=30",
"2*30=60"
] | Current State: 60:[46, 71, 92, 41], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [71, 41, 2]
Generated Node #2: [71, 41, 2] from Operation: 92/46=2
Current State: 60:[71, 41, 2], Operations: ['92/46=2']
Exploring Operation: 71-41=30, Resulting Numbers: [2, 30]
Generated Node #3: [2, 30] from Operation: 71-41=30
Current State: 60:[2, 30], Operations: ['92/46=2', '71-41=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[46, 71, 92, 41], Operations: []
Exploring Operation: 46-41=5, Resulting Numbers: [71, 92, 5]
Generated Node #0,0: 60:[71, 92, 5] Operation: 46-41=5
Exploring Operation: 92-71=21, Resulting Numbers: [46, 41, 21]
Generated Node #0,1: 60:[46, 41, 21] Operation: 92-71=21
Exploring Operation: 92-41=51, Resulting Numbers: [46, 71, 51]
Generated Node #0,2: 60:[46, 71, 51] Operation: 92-41=51
Exploring Operation: 92-46=46, Resulting Numbers: [71, 41, 46]
Generated Node #0,3: 60:[71, 41, 46] Operation: 92-46=46
Exploring Operation: 92/46=2, Resulting Numbers: [71, 41, 2]
Generated Node #0,4: 60:[71, 41, 2] Operation: 92/46=2
Moving to Node #0,4
Current State: 60:[71, 41, 2], Operations: ['92/46=2']
Exploring Operation: 71-41=30, Resulting Numbers: [2, 30]
Generated Node #0,4,0: 60:[2, 30] Operation: 71-41=30
Exploring Operation: 41+2=43, Resulting Numbers: [71, 43]
Generated Node #0,4,1: 60:[71, 43] Operation: 41+2=43
Exploring Operation: 71-2=69, Resulting Numbers: [41, 69]
Generated Node #0,4,2: 60:[41, 69] Operation: 71-2=69
Exploring Operation: 41-2=39, Resulting Numbers: [71, 39]
Generated Node #0,4,3: 60:[71, 39] Operation: 41-2=39
Exploring Operation: 71+2=73, Resulting Numbers: [41, 73]
Generated Node #0,4,4: 60:[41, 73] Operation: 71+2=73
Moving to Node #0,1
Current State: 60:[46, 41, 21], Operations: ['92-71=21']
Exploring Operation: 41+21=62, Resulting Numbers: [46, 62]
Generated Node #0,1,0: 60:[46, 62] Operation: 41+21=62
Exploring Operation: 46-41=5, Resulting Numbers: [21, 5]
Generated Node #0,1,1: 60:[21, 5] Operation: 46-41=5
Exploring Operation: 41-21=20, Resulting Numbers: [46, 20]
Generated Node #0,1,2: 60:[46, 20] Operation: 41-21=20
Exploring Operation: 46+21=67, Resulting Numbers: [41, 67]
Generated Node #0,1,3: 60:[41, 67] Operation: 46+21=67
Exploring Operation: 46-21=25, Resulting Numbers: [41, 25]
Generated Node #0,1,4: 60:[41, 25] Operation: 46-21=25
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[21, 5], Operations: ['92-71=21', '46-41=5']
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[46, 20], Operations: ['92-71=21', '41-21=20']
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 46+20=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 46*20=920, Resulting Numbers: [920]
920,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[46, 62], Operations: ['92-71=21', '41+21=62']
Exploring Operation: 46*62=2852, Resulting Numbers: [2852]
2852,60 unequal: No Solution
Exploring Operation: 46+62=108, Resulting Numbers: [108]
108,60 unequal: No Solution
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 60:[41, 25], Operations: ['92-71=21', '46-21=25']
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,60 unequal: No Solution
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 60:[41, 67], Operations: ['92-71=21', '46+21=67']
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,60 unequal: No Solution
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,60 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,60 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: 60:[46, 71, 51], Operations: ['92-41=51']
Exploring Operation: 51-46=5, Resulting Numbers: [71, 5]
Generated Node #0,2,0: 60:[71, 5] Operation: 51-46=5
Exploring Operation: 46+71=117, Resulting Numbers: [51, 117]
Generated Node #0,2,1: 60:[51, 117] Operation: 46+71=117
Exploring Operation: 46+51=97, Resulting Numbers: [71, 97]
Generated Node #0,2,2: 60:[71, 97] Operation: 46+51=97
Exploring Operation: 71-51=20, Resulting Numbers: [46, 20]
Generated Node #0,2,3: 60:[46, 20] Operation: 71-51=20
Exploring Operation: 71-46=25, Resulting Numbers: [51, 25]
Generated Node #0,2,4: 60:[51, 25] Operation: 71-46=25
Moving to Node #0,3
Current State: 60:[71, 41, 46], Operations: ['92-46=46']
Exploring Operation: 41+46=87, Resulting Numbers: [71, 87]
Generated Node #0,3,0: 60:[71, 87] Operation: 41+46=87
Exploring Operation: 71+41=112, Resulting Numbers: [46, 112]
Generated Node #0,3,1: 60:[46, 112] Operation: 71+41=112
Exploring Operation: 71-41=30, Resulting Numbers: [46, 30]
Generated Node #0,3,2: 60:[46, 30] Operation: 71-41=30
Exploring Operation: 46-41=5, Resulting Numbers: [71, 5]
Generated Node #0,3,3: 60:[71, 5] Operation: 46-41=5
Exploring Operation: 71-46=25, Resulting Numbers: [41, 25]
Generated Node #0,3,4: 60:[41, 25] Operation: 71-46=25
Moving to Node #0,0
Current State: 60:[71, 92, 5], Operations: ['46-41=5']
Exploring Operation: 92-5=87, Resulting Numbers: [71, 87]
Generated Node #0,0,0: 60:[71, 87] Operation: 92-5=87
Exploring Operation: 92-71=21, Resulting Numbers: [5, 21]
Generated Node #0,0,1: 60:[5, 21] Operation: 92-71=21
Exploring Operation: 71-5=66, Resulting Numbers: [92, 66]
Generated Node #0,0,2: 60:[92, 66] Operation: 71-5=66
Exploring Operation: 71+5=76, Resulting Numbers: [92, 76]
Generated Node #0,0,3: 60:[92, 76] Operation: 71+5=76
Exploring Operation: 92+5=97, Resulting Numbers: [71, 97]
Generated Node #0,0,4: 60:[71, 97] Operation: 92+5=97
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[5, 21], Operations: ['46-41=5', '92-71=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[71, 87], Operations: ['46-41=5', '92-5=87']
Exploring Operation: 71*87=6177, Resulting Numbers: [6177]
6177,60 unequal: No Solution
Exploring Operation: 87-71=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 71+87=158, Resulting Numbers: [158]
158,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[92, 66], Operations: ['46-41=5', '71-5=66']
Exploring Operation: 92-66=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 92+66=158, Resulting Numbers: [158]
158,60 unequal: No Solution
Exploring Operation: 92*66=6072, Resulting Numbers: [6072]
6072,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 60:[92, 76], Operations: ['46-41=5', '71+5=76']
Exploring Operation: 92-76=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 92+76=168, Resulting Numbers: [168]
168,60 unequal: No Solution
Exploring Operation: 92*76=6992, Resulting Numbers: [6992]
6992,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 60:[71, 97], Operations: ['46-41=5', '92+5=97']
Exploring Operation: 97-71=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 71+97=168, Resulting Numbers: [168]
168,60 unequal: No Solution
Exploring Operation: 71*97=6887, Resulting Numbers: [6887]
6887,60 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: 60:[2, 30], Operations: ['92/46=2', '71-41=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[46, 71, 92, 41], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [71, 41, 2]
Generated Node #0,4: 60:[71, 41, 2] Operation: 92/46=2
Moving to Node #0,4
Current State: 60:[71, 41, 2], Operations: ['92/46=2']
Exploring Operation: 71-41=30, Resulting Numbers: [2, 30]
Generated Node #0,4,0: 60:[2, 30] Operation: 71-41=30
Moving to Node #0,4,0
Current State: 60:[2, 30], Operations: ['92/46=2', '71-41=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.942708 | hs_5 | mult_heuristic |
[
85,
64,
40,
56
] | 55 | [
"85*56=4760",
"4760/40=119",
"119-64=55"
] | Current State: 55:[85, 64, 40, 56], Operations: []
Exploring Operation: 85*56=4760, Resulting Numbers: [64, 40, 4760]
Generated Node #2: [64, 40, 4760] from Operation: 85*56=4760
Current State: 55:[64, 40, 4760], Operations: ['85*56=4760']
Exploring Operation: 4760/40=119, Resulting Numbers: [64, 119]
Generated Node #3: [64, 119] from Operation: 4760/40=119
Current State: 55:[64, 119], Operations: ['85*56=4760', '4760/40=119']
Exploring Operation: 119-64=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[85, 64, 40, 56], Operations: []
Exploring Operation: 64-40=24, Resulting Numbers: [85, 56, 24]
Generated Node #0,0: 55:[85, 56, 24] Operation: 64-40=24
Exploring Operation: 85-56=29, Resulting Numbers: [64, 40, 29]
Generated Node #0,1: 55:[64, 40, 29] Operation: 85-56=29
Exploring Operation: 85-64=21, Resulting Numbers: [40, 56, 21]
Generated Node #0,2: 55:[40, 56, 21] Operation: 85-64=21
Exploring Operation: 85-40=45, Resulting Numbers: [64, 56, 45]
Generated Node #0,3: 55:[64, 56, 45] Operation: 85-40=45
Exploring Operation: 56-40=16, Resulting Numbers: [85, 64, 16]
Generated Node #0,4: 55:[85, 64, 16] Operation: 56-40=16
Moving to Node #0,3
Current State: 55:[64, 56, 45], Operations: ['85-40=45']
Exploring Operation: 64-45=19, Resulting Numbers: [56, 19]
Generated Node #0,3,0: 55:[56, 19] Operation: 64-45=19
Exploring Operation: 56+45=101, Resulting Numbers: [64, 101]
Generated Node #0,3,1: 55:[64, 101] Operation: 56+45=101
Exploring Operation: 64+45=109, Resulting Numbers: [56, 109]
Generated Node #0,3,2: 55:[56, 109] Operation: 64+45=109
Exploring Operation: 56-45=11, Resulting Numbers: [64, 11]
Generated Node #0,3,3: 55:[64, 11] Operation: 56-45=11
Exploring Operation: 64-56=8, Resulting Numbers: [45, 8]
Generated Node #0,3,4: 55:[45, 8] Operation: 64-56=8
Moving to Node #0,2
Current State: 55:[40, 56, 21], Operations: ['85-64=21']
Exploring Operation: 56-21=35, Resulting Numbers: [40, 35]
Generated Node #0,2,0: 55:[40, 35] Operation: 56-21=35
Exploring Operation: 56+21=77, Resulting Numbers: [40, 77]
Generated Node #0,2,1: 55:[40, 77] Operation: 56+21=77
Exploring Operation: 56-40=16, Resulting Numbers: [21, 16]
Generated Node #0,2,2: 55:[21, 16] Operation: 56-40=16
Exploring Operation: 40+21=61, Resulting Numbers: [56, 61]
Generated Node #0,2,3: 55:[56, 61] Operation: 40+21=61
Exploring Operation: 40-21=19, Resulting Numbers: [56, 19]
Generated Node #0,2,4: 55:[56, 19] Operation: 40-21=19
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 55:[56, 61], Operations: ['85-64=21', '40+21=61']
Exploring Operation: 56*61=3416, Resulting Numbers: [3416]
3416,55 unequal: No Solution
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 56+61=117, Resulting Numbers: [117]
117,55 unequal: No Solution
No 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: 55:[56, 19], Operations: ['85-64=21', '40-21=19']
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,55 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 56*19=1064, Resulting Numbers: [1064]
1064,55 unequal: No Solution
No 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: 55:[21, 16], Operations: ['85-64=21', '56-40=16']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 21*16=336, Resulting Numbers: [336]
336,55 unequal: No Solution
No 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: 55:[40, 35], Operations: ['85-64=21', '56-21=35']
Exploring Operation: 40*35=1400, Resulting Numbers: [1400]
1400,55 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 40+35=75, Resulting Numbers: [75]
75,55 unequal: No Solution
No 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: 55:[40, 77], Operations: ['85-64=21', '56+21=77']
Exploring Operation: 40+77=117, Resulting Numbers: [117]
117,55 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 40*77=3080, Resulting Numbers: [3080]
3080,55 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: 55:[64, 40, 29], Operations: ['85-56=29']
Exploring Operation: 40-29=11, Resulting Numbers: [64, 11]
Generated Node #0,1,0: 55:[64, 11] Operation: 40-29=11
Exploring Operation: 64-29=35, Resulting Numbers: [40, 35]
Generated Node #0,1,1: 55:[40, 35] Operation: 64-29=35
Exploring Operation: 40+29=69, Resulting Numbers: [64, 69]
Generated Node #0,1,2: 55:[64, 69] Operation: 40+29=69
Exploring Operation: 64+29=93, Resulting Numbers: [40, 93]
Generated Node #0,1,3: 55:[40, 93] Operation: 64+29=93
Exploring Operation: 64-40=24, Resulting Numbers: [29, 24]
Generated Node #0,1,4: 55:[29, 24] Operation: 64-40=24
Moving to Node #0,0
Current State: 55:[85, 56, 24], Operations: ['64-40=24']
Exploring Operation: 85-56=29, Resulting Numbers: [24, 29]
Generated Node #0,0,0: 55:[24, 29] Operation: 85-56=29
Exploring Operation: 85-24=61, Resulting Numbers: [56, 61]
Generated Node #0,0,1: 55:[56, 61] Operation: 85-24=61
Exploring Operation: 85+24=109, Resulting Numbers: [56, 109]
Generated Node #0,0,2: 55:[56, 109] Operation: 85+24=109
Exploring Operation: 56+24=80, Resulting Numbers: [85, 80]
Generated Node #0,0,3: 55:[85, 80] Operation: 56+24=80
Exploring Operation: 56-24=32, Resulting Numbers: [85, 32]
Generated Node #0,0,4: 55:[85, 32] Operation: 56-24=32
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[56, 61], Operations: ['64-40=24', '85-24=61']
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 56+61=117, Resulting Numbers: [117]
117,55 unequal: No Solution
Exploring Operation: 56*61=3416, Resulting Numbers: [3416]
3416,55 unequal: No Solution
No 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: 55:[24, 29], Operations: ['64-40=24', '85-56=29']
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,55 unequal: No Solution
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,55 unequal: No Solution
No 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: 55:[85, 32], Operations: ['64-40=24', '56-24=32']
Exploring Operation: 85+32=117, Resulting Numbers: [117]
117,55 unequal: No Solution
Exploring Operation: 85*32=2720, Resulting Numbers: [2720]
2720,55 unequal: No Solution
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,55 unequal: No Solution
No 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: 55:[56, 109], Operations: ['64-40=24', '85+24=109']
Exploring Operation: 109-56=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 56+109=165, Resulting Numbers: [165]
165,55 unequal: No Solution
Exploring Operation: 56*109=6104, Resulting Numbers: [6104]
6104,55 unequal: No Solution
No 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: 55:[85, 80], Operations: ['64-40=24', '56+24=80']
Exploring Operation: 85*80=6800, Resulting Numbers: [6800]
6800,55 unequal: No Solution
Exploring Operation: 85-80=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 85+80=165, Resulting Numbers: [165]
165,55 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: 55:[85, 64, 16], Operations: ['56-40=16']
Exploring Operation: 85-64=21, Resulting Numbers: [16, 21]
Generated Node #0,4,0: 55:[16, 21] Operation: 85-64=21
Exploring Operation: 64-16=48, Resulting Numbers: [85, 48]
Generated Node #0,4,1: 55:[85, 48] Operation: 64-16=48
Exploring Operation: 85+16=101, Resulting Numbers: [64, 101]
Generated Node #0,4,2: 55:[64, 101] Operation: 85+16=101
Exploring Operation: 85-16=69, Resulting Numbers: [64, 69]
Generated Node #0,4,3: 55:[64, 69] Operation: 85-16=69
Exploring Operation: 64/16=4, Resulting Numbers: [85, 4]
Generated Node #0,4,4: 55:[85, 4] Operation: 64/16=4
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 55:[16, 21], Operations: ['56-40=16', '85-64=21']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,55 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,55 unequal: No Solution
No 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: 55:[64, 69], Operations: ['56-40=16', '85-16=69']
Exploring Operation: 69-64=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 64*69=4416, Resulting Numbers: [4416]
4416,55 unequal: No Solution
Exploring Operation: 64+69=133, Resulting Numbers: [133]
133,55 unequal: No Solution
No 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: 55:[85, 4], Operations: ['56-40=16', '64/16=4']
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,55 unequal: No Solution
Exploring Operation: 85*4=340, Resulting Numbers: [340]
340,55 unequal: No Solution
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 55:[85, 48], Operations: ['56-40=16', '64-16=48']
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 85+48=133, Resulting Numbers: [133]
133,55 unequal: No Solution
Exploring Operation: 85*48=4080, Resulting Numbers: [4080]
4080,55 unequal: No Solution
No 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: 55:[64, 101], Operations: ['56-40=16', '85+16=101']
Exploring Operation: 101-64=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 64+101=165, Resulting Numbers: [165]
165,55 unequal: No Solution
Exploring Operation: 64*101=6464, Resulting Numbers: [6464]
6464,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 55:[56, 19], Operations: ['85-40=45', '64-45=19']
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,55 unequal: No Solution
Exploring Operation: 56*19=1064, Resulting Numbers: [1064]
1064,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[64, 11], Operations: ['85-56=29', '40-29=11']
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,55 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[64, 11], Operations: ['85-40=45', '56-45=11']
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,55 unequal: No Solution
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,55 unequal: No Solution
Moving to Node #0,3,4
Current State: 55:[45, 8], Operations: ['85-40=45', '64-56=8']
Exploring Operation: 45*8=360, Resulting Numbers: [360]
360,55 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[64, 69], Operations: ['85-56=29', '40+29=69']
Exploring Operation: 69-64=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 64+69=133, Resulting Numbers: [133]
133,55 unequal: No Solution
Exploring Operation: 64*69=4416, Resulting Numbers: [4416]
4416,55 unequal: No Solution
Moving to Node #0,1,4
Current State: 55:[29, 24], Operations: ['85-56=29', '64-40=24']
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,55 unequal: No Solution
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[40, 35], Operations: ['85-56=29', '64-29=35']
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 40*35=1400, Resulting Numbers: [1400]
1400,55 unequal: No Solution
Exploring Operation: 40+35=75, Resulting Numbers: [75]
75,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[40, 93], Operations: ['85-56=29', '64+29=93']
Exploring Operation: 40*93=3720, Resulting Numbers: [3720]
3720,55 unequal: No Solution
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 40+93=133, Resulting Numbers: [133]
133,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[64, 101], Operations: ['85-40=45', '56+45=101']
Exploring Operation: 64+101=165, Resulting Numbers: [165]
165,55 unequal: No Solution
Exploring Operation: 64*101=6464, Resulting Numbers: [6464]
6464,55 unequal: No Solution
Exploring Operation: 101-64=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[56, 109], Operations: ['85-40=45', '64+45=109']
Exploring Operation: 56*109=6104, Resulting Numbers: [6104]
6104,55 unequal: No Solution
Exploring Operation: 56+109=165, Resulting Numbers: [165]
165,55 unequal: No Solution
Exploring Operation: 109-56=53, Resulting Numbers: [53]
53,55 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
18,
10,
11,
37
] | 54 | [
"18+10=28",
"37-11=26",
"28+26=54"
] | Current State: 54:[18, 10, 11, 37], Operations: []
Exploring Operation: 18+10=28, Resulting Numbers: [11, 37, 28]
Generated Node #2: [11, 37, 28] from Operation: 18+10=28
Current State: 54:[11, 37, 28], Operations: ['18+10=28']
Exploring Operation: 37-11=26, Resulting Numbers: [28, 26]
Generated Node #3: [28, 26] from Operation: 37-11=26
Current State: 54:[28, 26], Operations: ['18+10=28', '37-11=26']
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[18, 10, 11, 37], Operations: []
Exploring Operation: 37-10=27, Resulting Numbers: [18, 11, 27]
Generated Node #0,0: 54:[18, 11, 27] Operation: 37-10=27
Moving to Node #0,0
Current State: 54:[18, 11, 27], Operations: ['37-10=27']
Exploring Operation: 18-11=7, Resulting Numbers: [27, 7]
Generated Node #0,0,0: 54:[27, 7] Operation: 18-11=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[27, 7], Operations: ['37-10=27', '18-11=7']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,54 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 |
[
36,
63,
49,
54
] | 47 | [
"63-36=27",
"54/27=2",
"49-2=47"
] | Current State: 47:[36, 63, 49, 54], Operations: []
Exploring Operation: 63-36=27, Resulting Numbers: [49, 54, 27]
Generated Node #2: [49, 54, 27] from Operation: 63-36=27
Current State: 47:[49, 54, 27], Operations: ['63-36=27']
Exploring Operation: 54/27=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 54/27=2
Current State: 47:[49, 2], Operations: ['63-36=27', '54/27=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[36, 63, 49, 54], Operations: []
Exploring Operation: 54-36=18, Resulting Numbers: [63, 49, 18]
Generated Node #0,0: 47:[63, 49, 18] Operation: 54-36=18
Exploring Operation: 63-36=27, Resulting Numbers: [49, 54, 27]
Generated Node #0,1: 47:[49, 54, 27] Operation: 63-36=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[49, 54, 27], Operations: ['63-36=27']
Exploring Operation: 54-27=27, Resulting Numbers: [49, 27]
Generated Node #0,1,0: 47:[49, 27] Operation: 54-27=27
Exploring Operation: 49-27=22, Resulting Numbers: [54, 22]
Generated Node #0,1,1: 47:[54, 22] Operation: 49-27=22
Moving to Node #0,1,0
Current State: 47:[49, 27], Operations: ['63-36=27', '54-27=27']
Exploring Operation: 49+27=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[54, 22], Operations: ['63-36=27', '49-27=22']
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[63, 49, 18], Operations: ['54-36=18']
Exploring Operation: 63-18=45, Resulting Numbers: [49, 45]
Generated Node #0,0,0: 47:[49, 45] Operation: 63-18=45
Exploring Operation: 49-18=31, Resulting Numbers: [63, 31]
Generated Node #0,0,1: 47:[63, 31] Operation: 49-18=31
Moving to Node #0,0,0
Current State: 47:[49, 45], Operations: ['54-36=18', '63-18=45']
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[63, 31], Operations: ['54-36=18', '49-18=31']
Exploring Operation: 63+31=94, Resulting Numbers: [94]
94,47 unequal: No Solution
Exploring Operation: 63-31=32, Resulting Numbers: [32]
32,47 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 |
[
71,
28,
18,
30
] | 51 | [
"71+28=99",
"18+30=48",
"99-48=51"
] | Current State: 51:[71, 28, 18, 30], Operations: []
Exploring Operation: 71+28=99, Resulting Numbers: [18, 30, 99]
Generated Node #2: [18, 30, 99] from Operation: 71+28=99
Current State: 51:[18, 30, 99], Operations: ['71+28=99']
Exploring Operation: 18+30=48, Resulting Numbers: [99, 48]
Generated Node #3: [99, 48] from Operation: 18+30=48
Current State: 51:[99, 48], Operations: ['71+28=99', '18+30=48']
Exploring Operation: 99-48=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[71, 28, 18, 30], Operations: []
Exploring Operation: 30-28=2, Resulting Numbers: [71, 18, 2]
Generated Node #0,0: 51:[71, 18, 2] Operation: 30-28=2
Exploring Operation: 28+30=58, Resulting Numbers: [71, 18, 58]
Generated Node #0,1: 51:[71, 18, 58] Operation: 28+30=58
Exploring Operation: 71-18=53, Resulting Numbers: [28, 30, 53]
Generated Node #0,2: 51:[28, 30, 53] Operation: 71-18=53
Exploring Operation: 71-28=43, Resulting Numbers: [18, 30, 43]
Generated Node #0,3: 51:[18, 30, 43] Operation: 71-28=43
Exploring Operation: 71-30=41, Resulting Numbers: [28, 18, 41]
Generated Node #0,4: 51:[28, 18, 41] Operation: 71-30=41
Moving to Node #0,0
Current State: 51:[71, 18, 2], Operations: ['30-28=2']
Exploring Operation: 71-18=53, Resulting Numbers: [2, 53]
Generated Node #0,0,0: 51:[2, 53] Operation: 71-18=53
Exploring Operation: 18-2=16, Resulting Numbers: [71, 16]
Generated Node #0,0,1: 51:[71, 16] Operation: 18-2=16
Exploring Operation: 18+2=20, Resulting Numbers: [71, 20]
Generated Node #0,0,2: 51:[71, 20] Operation: 18+2=20
Exploring Operation: 71+2=73, Resulting Numbers: [18, 73]
Generated Node #0,0,3: 51:[18, 73] Operation: 71+2=73
Exploring Operation: 71-2=69, Resulting Numbers: [18, 69]
Generated Node #0,0,4: 51:[18, 69] Operation: 71-2=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[2, 53], Operations: ['30-28=2', '71-18=53']
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,51 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[71, 28, 18, 30], Operations: []
Exploring Operation: 30-28=2, Resulting Numbers: [71, 18, 2]
Generated Node #0,0: 51:[71, 18, 2] Operation: 30-28=2
Moving to Node #0,0
Current State: 51:[71, 18, 2], Operations: ['30-28=2']
Exploring Operation: 71-18=53, Resulting Numbers: [2, 53]
Generated Node #0,0,0: 51:[2, 53] Operation: 71-18=53
Moving to Node #0,0,0
Current State: 51:[2, 53], Operations: ['30-28=2', '71-18=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
83,
6,
44,
4
] | 49 | [
"83+6=89",
"44-4=40",
"89-40=49"
] | Current State: 49:[83, 6, 44, 4], Operations: []
Exploring Operation: 83+6=89, Resulting Numbers: [44, 4, 89]
Generated Node #2: [44, 4, 89] from Operation: 83+6=89
Current State: 49:[44, 4, 89], Operations: ['83+6=89']
Exploring Operation: 44-4=40, Resulting Numbers: [89, 40]
Generated Node #3: [89, 40] from Operation: 44-4=40
Current State: 49:[89, 40], Operations: ['83+6=89', '44-4=40']
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[83, 6, 44, 4], Operations: []
Exploring Operation: 83-44=39, Resulting Numbers: [6, 4, 39]
Generated Node #0,0: 49:[6, 4, 39] Operation: 83-44=39
Exploring Operation: 83-6=77, Resulting Numbers: [44, 4, 77]
Generated Node #0,1: 49:[44, 4, 77] Operation: 83-6=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[6, 4, 39], Operations: ['83-44=39']
Exploring Operation: 4+39=43, Resulting Numbers: [6, 43]
Generated Node #0,0,0: 49:[6, 43] Operation: 4+39=43
Exploring Operation: 6+39=45, Resulting Numbers: [4, 45]
Generated Node #0,0,1: 49:[4, 45] Operation: 6+39=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[6, 43], Operations: ['83-44=39', '4+39=43']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[83, 6, 44, 4], Operations: []
Exploring Operation: 83-44=39, Resulting Numbers: [6, 4, 39]
Generated Node #0,0: 49:[6, 4, 39] Operation: 83-44=39
Moving to Node #0,0
Current State: 49:[6, 4, 39], Operations: ['83-44=39']
Exploring Operation: 4+39=43, Resulting Numbers: [6, 43]
Generated Node #0,0,0: 49:[6, 43] Operation: 4+39=43
Moving to Node #0,0,0
Current State: 49:[6, 43], Operations: ['83-44=39', '4+39=43']
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
98,
50,
6,
16
] | 52 | [
"98+50=148",
"6*16=96",
"148-96=52"
] | Current State: 52:[98, 50, 6, 16], Operations: []
Exploring Operation: 98+50=148, Resulting Numbers: [6, 16, 148]
Generated Node #2: [6, 16, 148] from Operation: 98+50=148
Current State: 52:[6, 16, 148], Operations: ['98+50=148']
Exploring Operation: 6*16=96, Resulting Numbers: [148, 96]
Generated Node #3: [148, 96] from Operation: 6*16=96
Current State: 52:[148, 96], Operations: ['98+50=148', '6*16=96']
Exploring Operation: 148-96=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[98, 50, 6, 16], Operations: []
Exploring Operation: 98-16=82, Resulting Numbers: [50, 6, 82]
Generated Node #0,0: 52:[50, 6, 82] Operation: 98-16=82
Exploring Operation: 16-6=10, Resulting Numbers: [98, 50, 10]
Generated Node #0,1: 52:[98, 50, 10] Operation: 16-6=10
Exploring Operation: 98-50=48, Resulting Numbers: [6, 16, 48]
Generated Node #0,2: 52:[6, 16, 48] Operation: 98-50=48
Exploring Operation: 98-6=92, Resulting Numbers: [50, 16, 92]
Generated Node #0,3: 52:[50, 16, 92] Operation: 98-6=92
Exploring Operation: 6+16=22, Resulting Numbers: [98, 50, 22]
Generated Node #0,4: 52:[98, 50, 22] Operation: 6+16=22
Moving to Node #0,2
Current State: 52:[6, 16, 48], Operations: ['98-50=48']
Exploring Operation: 48/6=8, Resulting Numbers: [16, 8]
Generated Node #0,2,0: 52:[16, 8] Operation: 48/6=8
Exploring Operation: 16-6=10, Resulting Numbers: [48, 10]
Generated Node #0,2,1: 52:[48, 10] Operation: 16-6=10
Exploring Operation: 6+48=54, Resulting Numbers: [16, 54]
Generated Node #0,2,2: 52:[16, 54] Operation: 6+48=54
Exploring Operation: 48/16=3, Resulting Numbers: [6, 3]
Generated Node #0,2,3: 52:[6, 3] Operation: 48/16=3
Exploring Operation: 6+16=22, Resulting Numbers: [48, 22]
Generated Node #0,2,4: 52:[48, 22] Operation: 6+16=22
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 52:[6, 3], Operations: ['98-50=48', '48/16=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[16, 54], Operations: ['98-50=48', '6+48=54']
Exploring Operation: 16*54=864, Resulting Numbers: [864]
864,52 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 16+54=70, Resulting Numbers: [70]
70,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[16, 8], Operations: ['98-50=48', '48/6=8']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,52 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[48, 10], Operations: ['98-50=48', '16-6=10']
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,52 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 52:[48, 22], Operations: ['98-50=48', '6+16=22']
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 48*22=1056, Resulting Numbers: [1056]
1056,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 52:[50, 6, 82], Operations: ['98-16=82']
Exploring Operation: 50+6=56, Resulting Numbers: [82, 56]
Generated Node #0,0,0: 52:[82, 56] Operation: 50+6=56
Exploring Operation: 82-50=32, Resulting Numbers: [6, 32]
Generated Node #0,0,1: 52:[6, 32] Operation: 82-50=32
Exploring Operation: 82-6=76, Resulting Numbers: [50, 76]
Generated Node #0,0,2: 52:[50, 76] Operation: 82-6=76
Exploring Operation: 50-6=44, Resulting Numbers: [82, 44]
Generated Node #0,0,3: 52:[82, 44] Operation: 50-6=44
Exploring Operation: 6+82=88, Resulting Numbers: [50, 88]
Generated Node #0,0,4: 52:[50, 88] Operation: 6+82=88
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[6, 32], Operations: ['98-16=82', '82-50=32']
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,52 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[50, 76], Operations: ['98-16=82', '82-6=76']
Exploring Operation: 50+76=126, Resulting Numbers: [126]
126,52 unequal: No Solution
Exploring Operation: 50*76=3800, Resulting Numbers: [3800]
3800,52 unequal: No Solution
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[82, 56], Operations: ['98-16=82', '50+6=56']
Exploring Operation: 82+56=138, Resulting Numbers: [138]
138,52 unequal: No Solution
Exploring Operation: 82*56=4592, Resulting Numbers: [4592]
4592,52 unequal: No Solution
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 52:[82, 44], Operations: ['98-16=82', '50-6=44']
Exploring Operation: 82+44=126, Resulting Numbers: [126]
126,52 unequal: No Solution
Exploring Operation: 82*44=3608, Resulting Numbers: [3608]
3608,52 unequal: No Solution
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 52:[50, 88], Operations: ['98-16=82', '6+82=88']
Exploring Operation: 50+88=138, Resulting Numbers: [138]
138,52 unequal: No Solution
Exploring Operation: 50*88=4400, Resulting Numbers: [4400]
4400,52 unequal: No Solution
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 52:[50, 16, 92], Operations: ['98-6=92']
Exploring Operation: 50+16=66, Resulting Numbers: [92, 66]
Generated Node #0,3,0: 52:[92, 66] Operation: 50+16=66
Exploring Operation: 92-16=76, Resulting Numbers: [50, 76]
Generated Node #0,3,1: 52:[50, 76] Operation: 92-16=76
Exploring Operation: 50-16=34, Resulting Numbers: [92, 34]
Generated Node #0,3,2: 52:[92, 34] Operation: 50-16=34
Exploring Operation: 92-50=42, Resulting Numbers: [16, 42]
Generated Node #0,3,3: 52:[16, 42] Operation: 92-50=42
Exploring Operation: 16+92=108, Resulting Numbers: [50, 108]
Generated Node #0,3,4: 52:[50, 108] Operation: 16+92=108
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 52:[16, 42], Operations: ['98-6=92', '92-50=42']
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 16+42=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Exploring Operation: 16*42=672, Resulting Numbers: [672]
672,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 52:[50, 76], Operations: ['98-6=92', '92-16=76']
Exploring Operation: 50+76=126, Resulting Numbers: [126]
126,52 unequal: No Solution
Exploring Operation: 50*76=3800, Resulting Numbers: [3800]
3800,52 unequal: No Solution
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 52:[92, 34], Operations: ['98-6=92', '50-16=34']
Exploring Operation: 92+34=126, Resulting Numbers: [126]
126,52 unequal: No Solution
Exploring Operation: 92*34=3128, Resulting Numbers: [3128]
3128,52 unequal: No Solution
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 52:[92, 66], Operations: ['98-6=92', '50+16=66']
Exploring Operation: 92*66=6072, Resulting Numbers: [6072]
6072,52 unequal: No Solution
Exploring Operation: 92-66=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 92+66=158, Resulting Numbers: [158]
158,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 52:[50, 108], Operations: ['98-6=92', '16+92=108']
Exploring Operation: 50+108=158, Resulting Numbers: [158]
158,52 unequal: No Solution
Exploring Operation: 50*108=5400, Resulting Numbers: [5400]
5400,52 unequal: No Solution
Exploring Operation: 108-50=58, Resulting Numbers: [58]
58,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 52:[98, 50, 10], Operations: ['16-6=10']
Exploring Operation: 50+10=60, Resulting Numbers: [98, 60]
Generated Node #0,1,0: 52:[98, 60] Operation: 50+10=60
Exploring Operation: 98+10=108, Resulting Numbers: [50, 108]
Generated Node #0,1,1: 52:[50, 108] Operation: 98+10=108
Exploring Operation: 98-10=88, Resulting Numbers: [50, 88]
Generated Node #0,1,2: 52:[50, 88] Operation: 98-10=88
Exploring Operation: 98-50=48, Resulting Numbers: [10, 48]
Generated Node #0,1,3: 52:[10, 48] Operation: 98-50=48
Exploring Operation: 50/10=5, Resulting Numbers: [98, 5]
Generated Node #0,1,4: 52:[98, 5] Operation: 50/10=5
Moving to Node #0,4
Current State: 52:[98, 50, 22], Operations: ['6+16=22']
Exploring Operation: 50-22=28, Resulting Numbers: [98, 28]
Generated Node #0,4,0: 52:[98, 28] Operation: 50-22=28
Exploring Operation: 98-50=48, Resulting Numbers: [22, 48]
Generated Node #0,4,1: 52:[22, 48] Operation: 98-50=48
Exploring Operation: 98-22=76, Resulting Numbers: [50, 76]
Generated Node #0,4,2: 52:[50, 76] Operation: 98-22=76
Exploring Operation: 50+22=72, Resulting Numbers: [98, 72]
Generated Node #0,4,3: 52:[98, 72] Operation: 50+22=72
Exploring Operation: 98+22=120, Resulting Numbers: [50, 120]
Generated Node #0,4,4: 52:[50, 120] Operation: 98+22=120
Moving to Node #0,1,3
Current State: 52:[10, 48], Operations: ['16-6=10', '98-50=48']
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,52 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Moving to Node #0,4,1
Current State: 52:[22, 48], Operations: ['6+16=22', '98-50=48']
Exploring Operation: 22*48=1056, Resulting Numbers: [1056]
1056,52 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Moving to Node #0,4,2
Current State: 52:[50, 76], Operations: ['6+16=22', '98-22=76']
Exploring Operation: 50+76=126, Resulting Numbers: [126]
126,52 unequal: No Solution
Exploring Operation: 50*76=3800, Resulting Numbers: [3800]
3800,52 unequal: No Solution
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[50, 88], Operations: ['16-6=10', '98-10=88']
Exploring Operation: 50*88=4400, Resulting Numbers: [4400]
4400,52 unequal: No Solution
Exploring Operation: 50+88=138, Resulting Numbers: [138]
138,52 unequal: No Solution
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Moving to Node #0,1,4
Current State: 52:[98, 5], Operations: ['16-6=10', '50/10=5']
Exploring Operation: 98*5=490, Resulting Numbers: [490]
490,52 unequal: No Solution
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,52 unequal: No Solution
Exploring Operation: 98+5=103, Resulting Numbers: [103]
103,52 unequal: No Solution
Moving to Node #0,4,0
Current State: 52:[98, 28], Operations: ['6+16=22', '50-22=28']
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 98*28=2744, Resulting Numbers: [2744]
2744,52 unequal: No Solution
Exploring Operation: 98+28=126, Resulting Numbers: [126]
126,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[98, 60], Operations: ['16-6=10', '50+10=60']
Exploring Operation: 98*60=5880, Resulting Numbers: [5880]
5880,52 unequal: No Solution
Exploring Operation: 98+60=158, Resulting Numbers: [158]
158,52 unequal: No Solution
Exploring Operation: 98-60=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[50, 108], Operations: ['16-6=10', '98+10=108']
Exploring Operation: 108-50=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Exploring Operation: 50*108=5400, Resulting Numbers: [5400]
5400,52 unequal: No Solution
Exploring Operation: 50+108=158, Resulting Numbers: [158]
158,52 unequal: No Solution
Moving to Node #0,4,3
Current State: 52:[98, 72], Operations: ['6+16=22', '50+22=72']
Exploring Operation: 98+72=170, Resulting Numbers: [170]
170,52 unequal: No Solution
Exploring Operation: 98-72=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 98*72=7056, Resulting Numbers: [7056]
7056,52 unequal: No Solution
Moving to Node #0,4,4
Current State: 52:[50, 120], Operations: ['6+16=22', '98+22=120']
Exploring Operation: 50+120=170, Resulting Numbers: [170]
170,52 unequal: No Solution
Exploring Operation: 50*120=6000, Resulting Numbers: [6000]
6000,52 unequal: No Solution
Exploring Operation: 120-50=70, Resulting Numbers: [70]
70,52 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
58,
35,
78,
84
] | 87 | [
"58+35=93",
"84-78=6",
"93-6=87"
] | Current State: 87:[58, 35, 78, 84], Operations: []
Exploring Operation: 58+35=93, Resulting Numbers: [78, 84, 93]
Generated Node #2: [78, 84, 93] from Operation: 58+35=93
Current State: 87:[78, 84, 93], Operations: ['58+35=93']
Exploring Operation: 84-78=6, Resulting Numbers: [93, 6]
Generated Node #3: [93, 6] from Operation: 84-78=6
Current State: 87:[93, 6], Operations: ['58+35=93', '84-78=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[58, 35, 78, 84], Operations: []
Exploring Operation: 58+35=93, Resulting Numbers: [78, 84, 93]
Generated Node #0,0: 87:[78, 84, 93] Operation: 58+35=93
Exploring Operation: 84-58=26, Resulting Numbers: [35, 78, 26]
Generated Node #0,1: 87:[35, 78, 26] Operation: 84-58=26
Exploring Operation: 58-35=23, Resulting Numbers: [78, 84, 23]
Generated Node #0,2: 87:[78, 84, 23] Operation: 58-35=23
Exploring Operation: 78-58=20, Resulting Numbers: [35, 84, 20]
Generated Node #0,3: 87:[35, 84, 20] Operation: 78-58=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[78, 84, 93], Operations: ['58+35=93']
Exploring Operation: 93-78=15, Resulting Numbers: [84, 15]
Generated Node #0,0,0: 87:[84, 15] Operation: 93-78=15
Exploring Operation: 78+84=162, Resulting Numbers: [93, 162]
Generated Node #0,0,1: 87:[93, 162] Operation: 78+84=162
Exploring Operation: 93-84=9, Resulting Numbers: [78, 9]
Generated Node #0,0,2: 87:[78, 9] Operation: 93-84=9
Exploring Operation: 84-78=6, Resulting Numbers: [93, 6]
Generated Node #0,0,3: 87:[93, 6] Operation: 84-78=6
Moving to Node #0,0,3
Current State: 87:[93, 6], Operations: ['58+35=93', '84-78=6']
Exploring Operation: 93+6=99, Resulting Numbers: [99]
99,87 unequal: No Solution
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[58, 35, 78, 84], Operations: []
Exploring Operation: 58+35=93, Resulting Numbers: [78, 84, 93]
Generated Node #0,0: 87:[78, 84, 93] Operation: 58+35=93
Moving to Node #0,0
Current State: 87:[78, 84, 93], Operations: ['58+35=93']
Exploring Operation: 84-78=6, Resulting Numbers: [93, 6]
Generated Node #0,0,3: 87:[93, 6] Operation: 84-78=6
Moving to Node #0,0,3
Current State: 87:[93, 6], Operations: ['58+35=93', '84-78=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
36,
21,
48,
25
] | 100 | [
"36+48=84",
"84/21=4",
"25*4=100"
] | Current State: 100:[36, 21, 48, 25], Operations: []
Exploring Operation: 36+48=84, Resulting Numbers: [21, 25, 84]
Generated Node #2: [21, 25, 84] from Operation: 36+48=84
Current State: 100:[21, 25, 84], Operations: ['36+48=84']
Exploring Operation: 84/21=4, Resulting Numbers: [25, 4]
Generated Node #3: [25, 4] from Operation: 84/21=4
Current State: 100:[25, 4], Operations: ['36+48=84', '84/21=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[36, 21, 48, 25], Operations: []
Exploring Operation: 48-36=12, Resulting Numbers: [21, 25, 12]
Generated Node #0,0: 100:[21, 25, 12] Operation: 48-36=12
Exploring Operation: 36-25=11, Resulting Numbers: [21, 48, 11]
Generated Node #0,1: 100:[21, 48, 11] Operation: 36-25=11
Moving to Node #0,0
Current State: 100:[21, 25, 12], Operations: ['48-36=12']
Exploring Operation: 25-21=4, Resulting Numbers: [12, 4]
Generated Node #0,0,0: 100:[12, 4] Operation: 25-21=4
Exploring Operation: 21-12=9, Resulting Numbers: [25, 9]
Generated Node #0,0,1: 100:[25, 9] Operation: 21-12=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[25, 9], Operations: ['48-36=12', '21-12=9']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[12, 4], Operations: ['48-36=12', '25-21=4']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 100:[21, 48, 11], Operations: ['36-25=11']
Exploring Operation: 21-11=10, Resulting Numbers: [48, 10]
Generated Node #0,1,0: 100:[48, 10] Operation: 21-11=10
Exploring Operation: 48-21=27, Resulting Numbers: [11, 27]
Generated Node #0,1,1: 100:[11, 27] Operation: 48-21=27
Moving to Node #0,1,0
Current State: 100:[48, 10], Operations: ['36-25=11', '21-11=10']
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[11, 27], Operations: ['36-25=11', '48-21=27']
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,100 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
44,
8,
65,
48
] | 92 | [
"65-48=17",
"8*17=136",
"136-44=92"
] | Current State: 92:[44, 8, 65, 48], Operations: []
Exploring Operation: 65-48=17, Resulting Numbers: [44, 8, 17]
Generated Node #2: [44, 8, 17] from Operation: 65-48=17
Current State: 92:[44, 8, 17], Operations: ['65-48=17']
Exploring Operation: 8*17=136, Resulting Numbers: [44, 136]
Generated Node #3: [44, 136] from Operation: 8*17=136
Current State: 92:[44, 136], Operations: ['65-48=17', '8*17=136']
Exploring Operation: 136-44=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[44, 8, 65, 48], Operations: []
Exploring Operation: 65-48=17, Resulting Numbers: [44, 8, 17]
Generated Node #0,0: 92:[44, 8, 17] Operation: 65-48=17
Exploring Operation: 65-8=57, Resulting Numbers: [44, 48, 57]
Generated Node #0,1: 92:[44, 48, 57] Operation: 65-8=57
Exploring Operation: 65-44=21, Resulting Numbers: [8, 48, 21]
Generated Node #0,2: 92:[8, 48, 21] Operation: 65-44=21
Moving to Node #0,2
Current State: 92:[8, 48, 21], Operations: ['65-44=21']
Exploring Operation: 8+21=29, Resulting Numbers: [48, 29]
Generated Node #0,2,0: 92:[48, 29] Operation: 8+21=29
Exploring Operation: 48-8=40, Resulting Numbers: [21, 40]
Generated Node #0,2,1: 92:[21, 40] Operation: 48-8=40
Exploring Operation: 48/8=6, Resulting Numbers: [21, 6]
Generated Node #0,2,2: 92:[21, 6] Operation: 48/8=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[21, 6], Operations: ['65-44=21', '48/8=6']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,92 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[48, 29], Operations: ['65-44=21', '8+21=29']
Exploring Operation: 48+29=77, Resulting Numbers: [77]
77,92 unequal: No Solution
Exploring Operation: 48*29=1392, Resulting Numbers: [1392]
1392,92 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[21, 40], Operations: ['65-44=21', '48-8=40']
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 21*40=840, Resulting Numbers: [840]
840,92 unequal: No Solution
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,92 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: 92:[44, 8, 17], Operations: ['65-48=17']
Exploring Operation: 8+17=25, Resulting Numbers: [44, 25]
Generated Node #0,0,0: 92:[44, 25] Operation: 8+17=25
Exploring Operation: 17-8=9, Resulting Numbers: [44, 9]
Generated Node #0,0,1: 92:[44, 9] Operation: 17-8=9
Exploring Operation: 44-17=27, Resulting Numbers: [8, 27]
Generated Node #0,0,2: 92:[8, 27] Operation: 44-17=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[44, 25], Operations: ['65-48=17', '8+17=25']
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,92 unequal: No Solution
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,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:[44, 9], Operations: ['65-48=17', '17-8=9']
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,92 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,92 unequal: No Solution
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,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,2
Current State: 92:[8, 27], Operations: ['65-48=17', '44-17=27']
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,92 unequal: No Solution
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,92 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,92 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: 92:[44, 48, 57], Operations: ['65-8=57']
Exploring Operation: 44+48=92, Resulting Numbers: [57, 92]
Generated Node #0,1,0: 92:[57, 92] Operation: 44+48=92
Exploring Operation: 48-44=4, Resulting Numbers: [57, 4]
Generated Node #0,1,1: 92:[57, 4] Operation: 48-44=4
Exploring Operation: 57-48=9, Resulting Numbers: [44, 9]
Generated Node #0,1,2: 92:[44, 9] Operation: 57-48=9
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[44, 9], Operations: ['65-8=57', '57-48=9']
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,92 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,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,1,0
Current State: 92:[57, 92], Operations: ['65-8=57', '44+48=92']
Exploring Operation: 92-57=35, Resulting Numbers: [35]
35,92 unequal: No Solution
Exploring Operation: 57+92=149, Resulting Numbers: [149]
149,92 unequal: No Solution
Exploring Operation: 57*92=5244, Resulting Numbers: [5244]
5244,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,1,1
Current State: 92:[57, 4], Operations: ['65-8=57', '48-44=4']
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,92 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
38,
28,
95,
97
] | 48 | [
"97-95=2",
"38*2=76",
"76-28=48"
] | Current State: 48:[38, 28, 95, 97], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [38, 28, 2]
Generated Node #2: [38, 28, 2] from Operation: 97-95=2
Current State: 48:[38, 28, 2], Operations: ['97-95=2']
Exploring Operation: 38*2=76, Resulting Numbers: [28, 76]
Generated Node #3: [28, 76] from Operation: 38*2=76
Current State: 48:[28, 76], Operations: ['97-95=2', '38*2=76']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[38, 28, 95, 97], Operations: []
Exploring Operation: 95-38=57, Resulting Numbers: [28, 97, 57]
Generated Node #0,0: 48:[28, 97, 57] Operation: 95-38=57
Exploring Operation: 97-28=69, Resulting Numbers: [38, 95, 69]
Generated Node #0,1: 48:[38, 95, 69] Operation: 97-28=69
Exploring Operation: 97-38=59, Resulting Numbers: [28, 95, 59]
Generated Node #0,2: 48:[28, 95, 59] Operation: 97-38=59
Exploring Operation: 95-28=67, Resulting Numbers: [38, 97, 67]
Generated Node #0,3: 48:[38, 97, 67] Operation: 95-28=67
Exploring Operation: 97-95=2, Resulting Numbers: [38, 28, 2]
Generated Node #0,4: 48:[38, 28, 2] Operation: 97-95=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 48:[38, 28, 2], Operations: ['97-95=2']
Exploring Operation: 28/2=14, Resulting Numbers: [38, 14]
Generated Node #0,4,0: 48:[38, 14] Operation: 28/2=14
Exploring Operation: 38-28=10, Resulting Numbers: [2, 10]
Generated Node #0,4,1: 48:[2, 10] Operation: 38-28=10
Exploring Operation: 38/2=19, Resulting Numbers: [28, 19]
Generated Node #0,4,2: 48:[28, 19] Operation: 38/2=19
Exploring Operation: 38+2=40, Resulting Numbers: [28, 40]
Generated Node #0,4,3: 48:[28, 40] Operation: 38+2=40
Exploring Operation: 28-2=26, Resulting Numbers: [38, 26]
Generated Node #0,4,4: 48:[38, 26] Operation: 28-2=26
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 48:[2, 10], Operations: ['97-95=2', '38-28=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 48:[28, 19], Operations: ['97-95=2', '38/2=19']
Exploring Operation: 28*19=532, Resulting Numbers: [532]
532,48 unequal: No Solution
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 48:[38, 14], Operations: ['97-95=2', '28/2=14']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,48 unequal: No Solution
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 48:[28, 40], Operations: ['97-95=2', '38+2=40']
Exploring Operation: 28*40=1120, Resulting Numbers: [1120]
1120,48 unequal: No Solution
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 48:[38, 26], Operations: ['97-95=2', '28-2=26']
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 38+26=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Exploring Operation: 38*26=988, Resulting Numbers: [988]
988,48 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: 48:[28, 97, 57], Operations: ['95-38=57']
Exploring Operation: 28+57=85, Resulting Numbers: [97, 85]
Generated Node #0,0,0: 48:[97, 85] Operation: 28+57=85
Exploring Operation: 97-28=69, Resulting Numbers: [57, 69]
Generated Node #0,0,1: 48:[57, 69] Operation: 97-28=69
Exploring Operation: 97-57=40, Resulting Numbers: [28, 40]
Generated Node #0,0,2: 48:[28, 40] Operation: 97-57=40
Exploring Operation: 57-28=29, Resulting Numbers: [97, 29]
Generated Node #0,0,3: 48:[97, 29] Operation: 57-28=29
Exploring Operation: 28+97=125, Resulting Numbers: [57, 125]
Generated Node #0,0,4: 48:[57, 125] Operation: 28+97=125
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 48:[28, 40], Operations: ['95-38=57', '97-57=40']
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 28*40=1120, Resulting Numbers: [1120]
1120,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[57, 69], Operations: ['95-38=57', '97-28=69']
Exploring Operation: 57*69=3933, Resulting Numbers: [3933]
3933,48 unequal: No Solution
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 57+69=126, Resulting Numbers: [126]
126,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 48:[97, 29], Operations: ['95-38=57', '57-28=29']
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 97*29=2813, Resulting Numbers: [2813]
2813,48 unequal: No Solution
Exploring Operation: 97+29=126, Resulting Numbers: [126]
126,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[97, 85], Operations: ['95-38=57', '28+57=85']
Exploring Operation: 97-85=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 97+85=182, Resulting Numbers: [182]
182,48 unequal: No Solution
Exploring Operation: 97*85=8245, Resulting Numbers: [8245]
8245,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 48:[57, 125], Operations: ['95-38=57', '28+97=125']
Exploring Operation: 57+125=182, Resulting Numbers: [182]
182,48 unequal: No Solution
Exploring Operation: 125-57=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 57*125=7125, Resulting Numbers: [7125]
7125,48 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: 48:[28, 95, 59], Operations: ['97-38=59']
Exploring Operation: 95-59=36, Resulting Numbers: [28, 36]
Generated Node #0,2,0: 48:[28, 36] Operation: 95-59=36
Exploring Operation: 95-28=67, Resulting Numbers: [59, 67]
Generated Node #0,2,1: 48:[59, 67] Operation: 95-28=67
Exploring Operation: 59-28=31, Resulting Numbers: [95, 31]
Generated Node #0,2,2: 48:[95, 31] Operation: 59-28=31
Exploring Operation: 28+59=87, Resulting Numbers: [95, 87]
Generated Node #0,2,3: 48:[95, 87] Operation: 28+59=87
Exploring Operation: 28+95=123, Resulting Numbers: [59, 123]
Generated Node #0,2,4: 48:[59, 123] Operation: 28+95=123
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 48:[28, 36], Operations: ['97-38=59', '95-59=36']
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 28*36=1008, Resulting Numbers: [1008]
1008,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 48:[59, 67], Operations: ['97-38=59', '95-28=67']
Exploring Operation: 67-59=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 59+67=126, Resulting Numbers: [126]
126,48 unequal: No Solution
Exploring Operation: 59*67=3953, Resulting Numbers: [3953]
3953,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 48:[95, 31], Operations: ['97-38=59', '59-28=31']
Exploring Operation: 95*31=2945, Resulting Numbers: [2945]
2945,48 unequal: No Solution
Exploring Operation: 95+31=126, Resulting Numbers: [126]
126,48 unequal: No Solution
Exploring Operation: 95-31=64, Resulting Numbers: [64]
64,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 48:[95, 87], Operations: ['97-38=59', '28+59=87']
Exploring Operation: 95-87=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 95+87=182, Resulting Numbers: [182]
182,48 unequal: No Solution
Exploring Operation: 95*87=8265, Resulting Numbers: [8265]
8265,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 48:[59, 123], Operations: ['97-38=59', '28+95=123']
Exploring Operation: 59+123=182, Resulting Numbers: [182]
182,48 unequal: No Solution
Exploring Operation: 123-59=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Exploring Operation: 59*123=7257, Resulting Numbers: [7257]
7257,48 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: 48:[38, 95, 69], Operations: ['97-28=69']
Exploring Operation: 38+69=107, Resulting Numbers: [95, 107]
Generated Node #0,1,0: 48:[95, 107] Operation: 38+69=107
Exploring Operation: 38+95=133, Resulting Numbers: [69, 133]
Generated Node #0,1,1: 48:[69, 133] Operation: 38+95=133
Exploring Operation: 95-69=26, Resulting Numbers: [38, 26]
Generated Node #0,1,2: 48:[38, 26] Operation: 95-69=26
Exploring Operation: 69-38=31, Resulting Numbers: [95, 31]
Generated Node #0,1,3: 48:[95, 31] Operation: 69-38=31
Exploring Operation: 95-38=57, Resulting Numbers: [69, 57]
Generated Node #0,1,4: 48:[69, 57] Operation: 95-38=57
Moving to Node #0,1,2
Current State: 48:[38, 26], Operations: ['97-28=69', '95-69=26']
Exploring Operation: 38*26=988, Resulting Numbers: [988]
988,48 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 38+26=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Moving to Node #0,1,4
Current State: 48:[69, 57], Operations: ['97-28=69', '95-38=57']
Exploring Operation: 69+57=126, Resulting Numbers: [126]
126,48 unequal: No Solution
Exploring Operation: 69*57=3933, Resulting Numbers: [3933]
3933,48 unequal: No Solution
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Moving to Node #0,1,3
Current State: 48:[95, 31], Operations: ['97-28=69', '69-38=31']
Exploring Operation: 95-31=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Exploring Operation: 95*31=2945, Resulting Numbers: [2945]
2945,48 unequal: No Solution
Exploring Operation: 95+31=126, Resulting Numbers: [126]
126,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[95, 107], Operations: ['97-28=69', '38+69=107']
Exploring Operation: 95+107=202, Resulting Numbers: [202]
202,48 unequal: No Solution
Exploring Operation: 107-95=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 95*107=10165, Resulting Numbers: [10165]
10165,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[69, 133], Operations: ['97-28=69', '38+95=133']
Exploring Operation: 69+133=202, Resulting Numbers: [202]
202,48 unequal: No Solution
Exploring Operation: 69*133=9177, Resulting Numbers: [9177]
9177,48 unequal: No Solution
Exploring Operation: 133-69=64, Resulting Numbers: [64]
64,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 48:[38, 97, 67], Operations: ['95-28=67']
Exploring Operation: 38+67=105, Resulting Numbers: [97, 105]
Generated Node #0,3,0: 48:[97, 105] Operation: 38+67=105
Exploring Operation: 97-38=59, Resulting Numbers: [67, 59]
Generated Node #0,3,1: 48:[67, 59] Operation: 97-38=59
Exploring Operation: 67-38=29, Resulting Numbers: [97, 29]
Generated Node #0,3,2: 48:[97, 29] Operation: 67-38=29
Exploring Operation: 38+97=135, Resulting Numbers: [67, 135]
Generated Node #0,3,3: 48:[67, 135] Operation: 38+97=135
Exploring Operation: 97-67=30, Resulting Numbers: [38, 30]
Generated Node #0,3,4: 48:[38, 30] Operation: 97-67=30
Moving to Node #0,3,4
Current State: 48:[38, 30], Operations: ['95-28=67', '97-67=30']
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,48 unequal: No Solution
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Moving to Node #0,3,1
Current State: 48:[67, 59], Operations: ['95-28=67', '97-38=59']
Exploring Operation: 67+59=126, Resulting Numbers: [126]
126,48 unequal: No Solution
Exploring Operation: 67*59=3953, Resulting Numbers: [3953]
3953,48 unequal: No Solution
Exploring Operation: 67-59=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Moving to Node #0,3,2
Current State: 48:[97, 29], Operations: ['95-28=67', '67-38=29']
Exploring Operation: 97*29=2813, Resulting Numbers: [2813]
2813,48 unequal: No Solution
Exploring Operation: 97+29=126, Resulting Numbers: [126]
126,48 unequal: No Solution
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Moving to Node #0,3,0
Current State: 48:[97, 105], Operations: ['95-28=67', '38+67=105']
Exploring Operation: 105-97=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 97*105=10185, Resulting Numbers: [10185]
10185,48 unequal: No Solution
Exploring Operation: 97+105=202, Resulting Numbers: [202]
202,48 unequal: No Solution
Moving to Node #0,3,3
Current State: 48:[67, 135], Operations: ['95-28=67', '38+97=135']
Exploring Operation: 67+135=202, Resulting Numbers: [202]
202,48 unequal: No Solution
Exploring Operation: 135-67=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 67*135=9045, Resulting Numbers: [9045]
9045,48 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 |
[
20,
62,
11,
15
] | 68 | [
"62-20=42",
"11+15=26",
"42+26=68"
] | Current State: 68:[20, 62, 11, 15], Operations: []
Exploring Operation: 62-20=42, Resulting Numbers: [11, 15, 42]
Generated Node #2: [11, 15, 42] from Operation: 62-20=42
Current State: 68:[11, 15, 42], Operations: ['62-20=42']
Exploring Operation: 11+15=26, Resulting Numbers: [42, 26]
Generated Node #3: [42, 26] from Operation: 11+15=26
Current State: 68:[42, 26], Operations: ['62-20=42', '11+15=26']
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[20, 62, 11, 15], Operations: []
Exploring Operation: 15-11=4, Resulting Numbers: [20, 62, 4]
Generated Node #0,0: 68:[20, 62, 4] Operation: 15-11=4
Exploring Operation: 62+11=73, Resulting Numbers: [20, 15, 73]
Generated Node #0,1: 68:[20, 15, 73] Operation: 62+11=73
Exploring Operation: 20+11=31, Resulting Numbers: [62, 15, 31]
Generated Node #0,2: 68:[62, 15, 31] Operation: 20+11=31
Moving to Node #0,0
Current State: 68:[20, 62, 4], Operations: ['15-11=4']
Exploring Operation: 62+4=66, Resulting Numbers: [20, 66]
Generated Node #0,0,0: 68:[20, 66] Operation: 62+4=66
Exploring Operation: 20/4=5, Resulting Numbers: [62, 5]
Generated Node #0,0,1: 68:[62, 5] Operation: 20/4=5
Exploring Operation: 20-4=16, Resulting Numbers: [62, 16]
Generated Node #0,0,2: 68:[62, 16] Operation: 20-4=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[20, 66], Operations: ['15-11=4', '62+4=66']
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,68 unequal: No Solution
Exploring Operation: 20+66=86, Resulting Numbers: [86]
86,68 unequal: No Solution
Exploring Operation: 20*66=1320, Resulting Numbers: [1320]
1320,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,1
Current State: 68:[62, 5], Operations: ['15-11=4', '20/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
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[62, 16], Operations: ['15-11=4', '20-4=16']
Exploring Operation: 62*16=992, Resulting Numbers: [992]
992,68 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,68 unequal: No Solution
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,68 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: 68:[20, 15, 73], Operations: ['62+11=73']
Exploring Operation: 73-15=58, Resulting Numbers: [20, 58]
Generated Node #0,1,0: 68:[20, 58] Operation: 73-15=58
Exploring Operation: 20+15=35, Resulting Numbers: [73, 35]
Generated Node #0,1,1: 68:[73, 35] Operation: 20+15=35
Exploring Operation: 20-15=5, Resulting Numbers: [73, 5]
Generated Node #0,1,2: 68:[73, 5] Operation: 20-15=5
Moving to Node #0,2
Current State: 68:[62, 15, 31], Operations: ['20+11=31']
Exploring Operation: 31-15=16, Resulting Numbers: [62, 16]
Generated Node #0,2,0: 68:[62, 16] Operation: 31-15=16
Exploring Operation: 62-31=31, Resulting Numbers: [15, 31]
Generated Node #0,2,1: 68:[15, 31] Operation: 62-31=31
Exploring Operation: 62/31=2, Resulting Numbers: [15, 2]
Generated Node #0,2,2: 68:[15, 2] Operation: 62/31=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[15, 2], Operations: ['20+11=31', '62/31=2']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,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:[15, 31], Operations: ['20+11=31', '62-31=31']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,68 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,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:[62, 16], Operations: ['20+11=31', '31-15=16']
Exploring Operation: 62*16=992, Resulting Numbers: [992]
992,68 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,68 unequal: No Solution
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,68 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: 68:[73, 35], Operations: ['62+11=73', '20+15=35']
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,68 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Exploring Operation: 73*35=2555, Resulting Numbers: [2555]
2555,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[73, 5], Operations: ['62+11=73', '20-15=5']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[20, 62, 11, 15], Operations: []
Exploring Operation: 62+11=73, Resulting Numbers: [20, 15, 73]
Generated Node #0,1: 68:[20, 15, 73] Operation: 62+11=73
Moving to Node #0,1
Current State: 68:[20, 15, 73], Operations: ['62+11=73']
Exploring Operation: 20-15=5, Resulting Numbers: [73, 5]
Generated Node #0,1,2: 68:[73, 5] Operation: 20-15=5
Moving to Node #0,1,2
Current State: 68:[73, 5], Operations: ['62+11=73', '20-15=5']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.967014 | hs_3 | mult_heuristic |
[
11,
8,
56,
99
] | 18 | [
"56-11=45",
"99+45=144",
"144/8=18"
] | Current State: 18:[11, 8, 56, 99], Operations: []
Exploring Operation: 56-11=45, Resulting Numbers: [8, 99, 45]
Generated Node #2: [8, 99, 45] from Operation: 56-11=45
Current State: 18:[8, 99, 45], Operations: ['56-11=45']
Exploring Operation: 99+45=144, Resulting Numbers: [8, 144]
Generated Node #3: [8, 144] from Operation: 99+45=144
Current State: 18:[8, 144], Operations: ['56-11=45', '99+45=144']
Exploring Operation: 144/8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[11, 8, 56, 99], Operations: []
Exploring Operation: 99-56=43, Resulting Numbers: [11, 8, 43]
Generated Node #0,0: 18:[11, 8, 43] Operation: 99-56=43
Moving to Node #0,0
Current State: 18:[11, 8, 43], Operations: ['99-56=43']
Exploring Operation: 43-11=32, Resulting Numbers: [8, 32]
Generated Node #0,0,0: 18:[8, 32] Operation: 43-11=32
Moving to Node #0,0,0
Current State: 18:[8, 32], Operations: ['99-56=43', '43-11=32']
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,18 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
23,
26,
2,
40
] | 10 | [
"26+40=66",
"66/2=33",
"33-23=10"
] | Current State: 10:[23, 26, 2, 40], Operations: []
Exploring Operation: 26+40=66, Resulting Numbers: [23, 2, 66]
Generated Node #2: [23, 2, 66] from Operation: 26+40=66
Current State: 10:[23, 2, 66], Operations: ['26+40=66']
Exploring Operation: 66/2=33, Resulting Numbers: [23, 33]
Generated Node #3: [23, 33] from Operation: 66/2=33
Current State: 10:[23, 33], Operations: ['26+40=66', '66/2=33']
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[23, 26, 2, 40], Operations: []
Exploring Operation: 40-23=17, Resulting Numbers: [26, 2, 17]
Generated Node #0,0: 10:[26, 2, 17] Operation: 40-23=17
Exploring Operation: 26-23=3, Resulting Numbers: [2, 40, 3]
Generated Node #0,1: 10:[2, 40, 3] Operation: 26-23=3
Exploring Operation: 40-26=14, Resulting Numbers: [23, 2, 14]
Generated Node #0,2: 10:[23, 2, 14] Operation: 40-26=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[23, 2, 14], Operations: ['40-26=14']
Exploring Operation: 23-2=21, Resulting Numbers: [14, 21]
Generated Node #0,2,0: 10:[14, 21] Operation: 23-2=21
Exploring Operation: 23-14=9, Resulting Numbers: [2, 9]
Generated Node #0,2,1: 10:[2, 9] Operation: 23-14=9
Exploring Operation: 14-2=12, Resulting Numbers: [23, 12]
Generated Node #0,2,2: 10:[23, 12] Operation: 14-2=12
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[2, 9], Operations: ['40-26=14', '23-14=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 2+9=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,2,0
Current State: 10:[14, 21], Operations: ['40-26=14', '23-2=21']
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,10 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,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:[23, 12], Operations: ['40-26=14', '14-2=12']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,10 unequal: No Solution
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[26, 2, 17], Operations: ['40-23=17']
Exploring Operation: 26-2=24, Resulting Numbers: [17, 24]
Generated Node #0,0,0: 10:[17, 24] Operation: 26-2=24
Exploring Operation: 26/2=13, Resulting Numbers: [17, 13]
Generated Node #0,0,1: 10:[17, 13] Operation: 26/2=13
Exploring Operation: 26-17=9, Resulting Numbers: [2, 9]
Generated Node #0,0,2: 10:[2, 9] Operation: 26-17=9
Moving to Node #0,0,2
Current State: 10:[2, 9], Operations: ['40-23=17', '26-17=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[17, 13], Operations: ['40-23=17', '26/2=13']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,10 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[17, 24], Operations: ['40-23=17', '26-2=24']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,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, 40, 3], Operations: ['26-23=3']
Exploring Operation: 40/2=20, Resulting Numbers: [3, 20]
Generated Node #0,1,0: 10:[3, 20] Operation: 40/2=20
Exploring Operation: 40-2=38, Resulting Numbers: [3, 38]
Generated Node #0,1,1: 10:[3, 38] Operation: 40-2=38
Exploring Operation: 40-3=37, Resulting Numbers: [2, 37]
Generated Node #0,1,2: 10:[2, 37] Operation: 40-3=37
Moving to Node #0,1,0
Current State: 10:[3, 20], Operations: ['26-23=3', '40/2=20']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[2, 37], Operations: ['26-23=3', '40-3=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,10 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[3, 38], Operations: ['26-23=3', '40-2=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,10 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
4,
54,
78,
22
] | 59 | [
"54+22=76",
"76/4=19",
"78-19=59"
] | Current State: 59:[4, 54, 78, 22], Operations: []
Exploring Operation: 54+22=76, Resulting Numbers: [4, 78, 76]
Generated Node #2: [4, 78, 76] from Operation: 54+22=76
Current State: 59:[4, 78, 76], Operations: ['54+22=76']
Exploring Operation: 76/4=19, Resulting Numbers: [78, 19]
Generated Node #3: [78, 19] from Operation: 76/4=19
Current State: 59:[78, 19], Operations: ['54+22=76', '76/4=19']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[4, 54, 78, 22], Operations: []
Exploring Operation: 4+54=58, Resulting Numbers: [78, 22, 58]
Generated Node #0,0: 59:[78, 22, 58] Operation: 4+54=58
Exploring Operation: 78-4=74, Resulting Numbers: [54, 22, 74]
Generated Node #0,1: 59:[54, 22, 74] Operation: 78-4=74
Exploring Operation: 4*22=88, Resulting Numbers: [54, 78, 88]
Generated Node #0,2: 59:[54, 78, 88] Operation: 4*22=88
Exploring Operation: 4+22=26, Resulting Numbers: [54, 78, 26]
Generated Node #0,3: 59:[54, 78, 26] Operation: 4+22=26
Moving to Node #0,2
Current State: 59:[54, 78, 88], Operations: ['4*22=88']
Exploring Operation: 88-54=34, Resulting Numbers: [78, 34]
Generated Node #0,2,0: 59:[78, 34] Operation: 88-54=34
Exploring Operation: 54+78=132, Resulting Numbers: [88, 132]
Generated Node #0,2,1: 59:[88, 132] Operation: 54+78=132
Exploring Operation: 88-78=10, Resulting Numbers: [54, 10]
Generated Node #0,2,2: 59:[54, 10] Operation: 88-78=10
Exploring Operation: 78-54=24, Resulting Numbers: [88, 24]
Generated Node #0,2,3: 59:[88, 24] Operation: 78-54=24
Moving to Node #0,1
Current State: 59:[54, 22, 74], Operations: ['78-4=74']
Exploring Operation: 74-22=52, Resulting Numbers: [54, 52]
Generated Node #0,1,0: 59:[54, 52] Operation: 74-22=52
Exploring Operation: 54-22=32, Resulting Numbers: [74, 32]
Generated Node #0,1,1: 59:[74, 32] Operation: 54-22=32
Exploring Operation: 22+74=96, Resulting Numbers: [54, 96]
Generated Node #0,1,2: 59:[54, 96] Operation: 22+74=96
Exploring Operation: 54+22=76, Resulting Numbers: [74, 76]
Generated Node #0,1,3: 59:[74, 76] Operation: 54+22=76
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[54, 52], Operations: ['78-4=74', '74-22=52']
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 54+52=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 54*52=2808, Resulting Numbers: [2808]
2808,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 59:[74, 76], Operations: ['78-4=74', '54+22=76']
Exploring Operation: 74*76=5624, Resulting Numbers: [5624]
5624,59 unequal: No Solution
Exploring Operation: 76-74=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 74+76=150, Resulting Numbers: [150]
150,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[74, 32], Operations: ['78-4=74', '54-22=32']
Exploring Operation: 74*32=2368, Resulting Numbers: [2368]
2368,59 unequal: No Solution
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Exploring Operation: 74+32=106, Resulting Numbers: [106]
106,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[54, 96], Operations: ['78-4=74', '22+74=96']
Exploring Operation: 54*96=5184, Resulting Numbers: [5184]
5184,59 unequal: No Solution
Exploring Operation: 54+96=150, Resulting Numbers: [150]
150,59 unequal: No Solution
Exploring Operation: 96-54=42, Resulting Numbers: [42]
42,59 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: 59:[78, 22, 58], Operations: ['4+54=58']
Exploring Operation: 78-22=56, Resulting Numbers: [58, 56]
Generated Node #0,0,0: 59:[58, 56] Operation: 78-22=56
Exploring Operation: 58-22=36, Resulting Numbers: [78, 36]
Generated Node #0,0,1: 59:[78, 36] Operation: 58-22=36
Exploring Operation: 22+58=80, Resulting Numbers: [78, 80]
Generated Node #0,0,2: 59:[78, 80] Operation: 22+58=80
Exploring Operation: 78+22=100, Resulting Numbers: [58, 100]
Generated Node #0,0,3: 59:[58, 100] Operation: 78+22=100
Moving to Node #0,3
Current State: 59:[54, 78, 26], Operations: ['4+22=26']
Exploring Operation: 54-26=28, Resulting Numbers: [78, 28]
Generated Node #0,3,0: 59:[78, 28] Operation: 54-26=28
Exploring Operation: 78+26=104, Resulting Numbers: [54, 104]
Generated Node #0,3,1: 59:[54, 104] Operation: 78+26=104
Exploring Operation: 78-26=52, Resulting Numbers: [54, 52]
Generated Node #0,3,2: 59:[54, 52] Operation: 78-26=52
Exploring Operation: 54+26=80, Resulting Numbers: [78, 80]
Generated Node #0,3,3: 59:[78, 80] Operation: 54+26=80
Moving to Node #0,0,0
Current State: 59:[58, 56], Operations: ['4+54=58', '78-22=56']
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,59 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[54, 52], Operations: ['4+22=26', '78-26=52']
Exploring Operation: 54+52=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 54*52=2808, Resulting Numbers: [2808]
2808,59 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[78, 80], Operations: ['4+54=58', '22+58=80']
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 78*80=6240, Resulting Numbers: [6240]
6240,59 unequal: No Solution
Exploring Operation: 78+80=158, Resulting Numbers: [158]
158,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[78, 80], Operations: ['4+22=26', '54+26=80']
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 78+80=158, Resulting Numbers: [158]
158,59 unequal: No Solution
Exploring Operation: 78*80=6240, Resulting Numbers: [6240]
6240,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[78, 36], Operations: ['4+54=58', '58-22=36']
Exploring Operation: 78*36=2808, Resulting Numbers: [2808]
2808,59 unequal: No Solution
Exploring Operation: 78+36=114, Resulting Numbers: [114]
114,59 unequal: No Solution
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[58, 100], Operations: ['4+54=58', '78+22=100']
Exploring Operation: 58*100=5800, Resulting Numbers: [5800]
5800,59 unequal: No Solution
Exploring Operation: 58+100=158, Resulting Numbers: [158]
158,59 unequal: No Solution
Exploring Operation: 100-58=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[78, 34], Operations: ['4*22=88', '88-54=34']
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,59 unequal: No Solution
Exploring Operation: 78*34=2652, Resulting Numbers: [2652]
2652,59 unequal: No Solution
Exploring Operation: 78+34=112, Resulting Numbers: [112]
112,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[54, 104], Operations: ['4+22=26', '78+26=104']
Exploring Operation: 54+104=158, Resulting Numbers: [158]
158,59 unequal: No Solution
Exploring Operation: 104-54=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 54*104=5616, Resulting Numbers: [5616]
5616,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[78, 28], Operations: ['4+22=26', '54-26=28']
Exploring Operation: 78+28=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 78*28=2184, Resulting Numbers: [2184]
2184,59 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[54, 10], Operations: ['4*22=88', '88-78=10']
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,59 unequal: No Solution
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,59 unequal: No Solution
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[88, 24], Operations: ['4*22=88', '78-54=24']
Exploring Operation: 88*24=2112, Resulting Numbers: [2112]
2112,59 unequal: No Solution
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,59 unequal: No Solution
Exploring Operation: 88+24=112, Resulting Numbers: [112]
112,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[88, 132], Operations: ['4*22=88', '54+78=132']
Exploring Operation: 88*132=11616, Resulting Numbers: [11616]
11616,59 unequal: No Solution
Exploring Operation: 88+132=220, Resulting Numbers: [220]
220,59 unequal: No Solution
Exploring Operation: 132-88=44, Resulting Numbers: [44]
44,59 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
52,
54,
64,
57
] | 89 | [
"54-52=2",
"64/2=32",
"57+32=89"
] | Current State: 89:[52, 54, 64, 57], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [64, 57, 2]
Generated Node #2: [64, 57, 2] from Operation: 54-52=2
Current State: 89:[64, 57, 2], Operations: ['54-52=2']
Exploring Operation: 64/2=32, Resulting Numbers: [57, 32]
Generated Node #3: [57, 32] from Operation: 64/2=32
Current State: 89:[57, 32], Operations: ['54-52=2', '64/2=32']
Exploring Operation: 57+32=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[52, 54, 64, 57], Operations: []
Exploring Operation: 54+57=111, Resulting Numbers: [52, 64, 111]
Generated Node #0,0: 89:[52, 64, 111] Operation: 54+57=111
Exploring Operation: 52+57=109, Resulting Numbers: [54, 64, 109]
Generated Node #0,1: 89:[54, 64, 109] Operation: 52+57=109
Exploring Operation: 52+54=106, Resulting Numbers: [64, 57, 106]
Generated Node #0,2: 89:[64, 57, 106] Operation: 52+54=106
Moving to Node #0,2
Current State: 89:[64, 57, 106], Operations: ['52+54=106']
Exploring Operation: 64+57=121, Resulting Numbers: [106, 121]
Generated Node #0,2,0: 89:[106, 121] Operation: 64+57=121
Exploring Operation: 106-57=49, Resulting Numbers: [64, 49]
Generated Node #0,2,1: 89:[64, 49] Operation: 106-57=49
Exploring Operation: 106-64=42, Resulting Numbers: [57, 42]
Generated Node #0,2,2: 89:[57, 42] Operation: 106-64=42
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[106, 121], Operations: ['52+54=106', '64+57=121']
Exploring Operation: 121-106=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 106+121=227, Resulting Numbers: [227]
227,89 unequal: No Solution
Exploring Operation: 106*121=12826, Resulting Numbers: [12826]
12826,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[64, 49], Operations: ['52+54=106', '106-57=49']
Exploring Operation: 64+49=113, Resulting Numbers: [113]
113,89 unequal: No Solution
Exploring Operation: 64*49=3136, Resulting Numbers: [3136]
3136,89 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[57, 42], Operations: ['52+54=106', '106-64=42']
Exploring Operation: 57+42=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 57*42=2394, Resulting Numbers: [2394]
2394,89 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: 89:[54, 64, 109], Operations: ['52+57=109']
Exploring Operation: 109-54=55, Resulting Numbers: [64, 55]
Generated Node #0,1,0: 89:[64, 55] Operation: 109-54=55
Exploring Operation: 109-64=45, Resulting Numbers: [54, 45]
Generated Node #0,1,1: 89:[54, 45] Operation: 109-64=45
Exploring Operation: 54+64=118, Resulting Numbers: [109, 118]
Generated Node #0,1,2: 89:[109, 118] Operation: 54+64=118
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[109, 118], Operations: ['52+57=109', '54+64=118']
Exploring Operation: 118-109=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 109*118=12862, Resulting Numbers: [12862]
12862,89 unequal: No Solution
Exploring Operation: 109+118=227, Resulting Numbers: [227]
227,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[64, 55], Operations: ['52+57=109', '109-54=55']
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,89 unequal: No Solution
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,89 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[54, 45], Operations: ['52+57=109', '109-64=45']
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 54*45=2430, Resulting Numbers: [2430]
2430,89 unequal: No Solution
Exploring Operation: 54+45=99, Resulting Numbers: [99]
99,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 89:[52, 64, 111], Operations: ['54+57=111']
Exploring Operation: 52+64=116, Resulting Numbers: [111, 116]
Generated Node #0,0,0: 89:[111, 116] Operation: 52+64=116
Exploring Operation: 111-64=47, Resulting Numbers: [52, 47]
Generated Node #0,0,1: 89:[52, 47] Operation: 111-64=47
Exploring Operation: 111-52=59, Resulting Numbers: [64, 59]
Generated Node #0,0,2: 89:[64, 59] Operation: 111-52=59
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[111, 116], Operations: ['54+57=111', '52+64=116']
Exploring Operation: 116-111=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Exploring Operation: 111+116=227, Resulting Numbers: [227]
227,89 unequal: No Solution
Exploring Operation: 111*116=12876, Resulting Numbers: [12876]
12876,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[64, 59], Operations: ['54+57=111', '111-52=59']
Exploring Operation: 64*59=3776, Resulting Numbers: [3776]
3776,89 unequal: No Solution
Exploring Operation: 64+59=123, Resulting Numbers: [123]
123,89 unequal: No Solution
Exploring Operation: 64-59=5, Resulting Numbers: [5]
5,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[52, 47], Operations: ['54+57=111', '111-64=47']
Exploring Operation: 52*47=2444, Resulting Numbers: [2444]
2444,89 unequal: No Solution
Exploring Operation: 52+47=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,89 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 |
[
34,
31,
58,
4
] | 53 | [
"31*58=1798",
"4+1798=1802",
"1802/34=53"
] | Current State: 53:[34, 31, 58, 4], Operations: []
Exploring Operation: 31*58=1798, Resulting Numbers: [34, 4, 1798]
Generated Node #2: [34, 4, 1798] from Operation: 31*58=1798
Current State: 53:[34, 4, 1798], Operations: ['31*58=1798']
Exploring Operation: 4+1798=1802, Resulting Numbers: [34, 1802]
Generated Node #3: [34, 1802] from Operation: 4+1798=1802
Current State: 53:[34, 1802], Operations: ['31*58=1798', '4+1798=1802']
Exploring Operation: 1802/34=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[34, 31, 58, 4], Operations: []
Exploring Operation: 34+4=38, Resulting Numbers: [31, 58, 38]
Generated Node #0,0: 53:[31, 58, 38] Operation: 34+4=38
Exploring Operation: 31+4=35, Resulting Numbers: [34, 58, 35]
Generated Node #0,1: 53:[34, 58, 35] Operation: 31+4=35
Exploring Operation: 58-4=54, Resulting Numbers: [34, 31, 54]
Generated Node #0,2: 53:[34, 31, 54] Operation: 58-4=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[31, 58, 38], Operations: ['34+4=38']
Exploring Operation: 31+58=89, Resulting Numbers: [38, 89]
Generated Node #0,0,0: 53:[38, 89] Operation: 31+58=89
Exploring Operation: 31+38=69, Resulting Numbers: [58, 69]
Generated Node #0,0,1: 53:[58, 69] Operation: 31+38=69
Exploring Operation: 58-31=27, Resulting Numbers: [38, 27]
Generated Node #0,0,2: 53:[38, 27] Operation: 58-31=27
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[58, 69], Operations: ['34+4=38', '31+38=69']
Exploring Operation: 58*69=4002, Resulting Numbers: [4002]
4002,53 unequal: No Solution
Exploring Operation: 69-58=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 58+69=127, Resulting Numbers: [127]
127,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 53:[38, 27], Operations: ['34+4=38', '58-31=27']
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 38*27=1026, Resulting Numbers: [1026]
1026,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[38, 89], Operations: ['34+4=38', '31+58=89']
Exploring Operation: 89-38=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 38+89=127, Resulting Numbers: [127]
127,53 unequal: No Solution
Exploring Operation: 38*89=3382, Resulting Numbers: [3382]
3382,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[34, 58, 35], Operations: ['31+4=35']
Exploring Operation: 34+35=69, Resulting Numbers: [58, 69]
Generated Node #0,1,0: 53:[58, 69] Operation: 34+35=69
Exploring Operation: 58-34=24, Resulting Numbers: [35, 24]
Generated Node #0,1,1: 53:[35, 24] Operation: 58-34=24
Exploring Operation: 58-35=23, Resulting Numbers: [34, 23]
Generated Node #0,1,2: 53:[34, 23] Operation: 58-35=23
Moving to Node #0,1,0
Current State: 53:[58, 69], Operations: ['31+4=35', '34+35=69']
Exploring Operation: 58+69=127, Resulting Numbers: [127]
127,53 unequal: No Solution
Exploring Operation: 69-58=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 58*69=4002, Resulting Numbers: [4002]
4002,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[35, 24], Operations: ['31+4=35', '58-34=24']
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 35+24=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 35*24=840, Resulting Numbers: [840]
840,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[34, 23], Operations: ['31+4=35', '58-35=23']
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,53 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[34, 31, 54], Operations: ['58-4=54']
Exploring Operation: 34-31=3, Resulting Numbers: [54, 3]
Generated Node #0,2,0: 53:[54, 3] Operation: 34-31=3
Exploring Operation: 54-31=23, Resulting Numbers: [34, 23]
Generated Node #0,2,1: 53:[34, 23] Operation: 54-31=23
Exploring Operation: 34+31=65, Resulting Numbers: [54, 65]
Generated Node #0,2,2: 53:[54, 65] Operation: 34+31=65
Moving to Node #0,2,2
Current State: 53:[54, 65], Operations: ['58-4=54', '34+31=65']
Exploring Operation: 54+65=119, Resulting Numbers: [119]
119,53 unequal: No Solution
Exploring Operation: 54*65=3510, Resulting Numbers: [3510]
3510,53 unequal: No Solution
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[34, 23], Operations: ['58-4=54', '54-31=23']
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,53 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[54, 3], Operations: ['58-4=54', '34-31=3']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,53 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,53 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 |
[
13,
24,
72,
48
] | 12 | [
"72-24=48",
"48/48=1",
"13-1=12"
] | Current State: 12:[13, 24, 72, 48], Operations: []
Exploring Operation: 72-24=48, Resulting Numbers: [13, 48, 48]
Generated Node #2: [13, 48, 48] from Operation: 72-24=48
Current State: 12:[13, 48, 48], Operations: ['72-24=48']
Exploring Operation: 48/48=1, Resulting Numbers: [13, 1]
Generated Node #3: [13, 1] from Operation: 48/48=1
Current State: 12:[13, 1], Operations: ['72-24=48', '48/48=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[13, 24, 72, 48], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [13, 24, 24]
Generated Node #0,0: 12:[13, 24, 24] Operation: 72-48=24
Exploring Operation: 72/24=3, Resulting Numbers: [13, 48, 3]
Generated Node #0,1: 12:[13, 48, 3] Operation: 72/24=3
Exploring Operation: 72-24=48, Resulting Numbers: [13, 48, 48]
Generated Node #0,2: 12:[13, 48, 48] Operation: 72-24=48
Exploring Operation: 48-24=24, Resulting Numbers: [13, 72, 24]
Generated Node #0,3: 12:[13, 72, 24] Operation: 48-24=24
Exploring Operation: 48/24=2, Resulting Numbers: [13, 72, 2]
Generated Node #0,4: 12:[13, 72, 2] Operation: 48/24=2
Moving to Node #0,0
Current State: 12:[13, 24, 24], Operations: ['72-48=24']
Exploring Operation: 24/24=1, Resulting Numbers: [13, 1]
Generated Node #0,0,0: 12:[13, 1] Operation: 24/24=1
Exploring Operation: 24-13=11, Resulting Numbers: [24, 11]
Generated Node #0,0,1: 12:[24, 11] Operation: 24-13=11
Exploring Operation: 24-24=0, Resulting Numbers: [13, 0]
Generated Node #0,0,2: 12:[13, 0] Operation: 24-24=0
Exploring Operation: 24-13=11, Resulting Numbers: [24, 11]
Generated Node #0,0,3: 12:[24, 11] Operation: 24-13=11
Exploring Operation: 13+24=37, Resulting Numbers: [24, 37]
Generated Node #0,0,4: 12:[24, 37] Operation: 13+24=37
Moving to Node #0,1
Current State: 12:[13, 48, 3], Operations: ['72/24=3']
Exploring Operation: 48/3=16, Resulting Numbers: [13, 16]
Generated Node #0,1,0: 12:[13, 16] Operation: 48/3=16
Exploring Operation: 13+3=16, Resulting Numbers: [48, 16]
Generated Node #0,1,1: 12:[48, 16] Operation: 13+3=16
Exploring Operation: 48-13=35, Resulting Numbers: [3, 35]
Generated Node #0,1,2: 12:[3, 35] Operation: 48-13=35
Exploring Operation: 13-3=10, Resulting Numbers: [48, 10]
Generated Node #0,1,3: 12:[48, 10] Operation: 13-3=10
Exploring Operation: 48-3=45, Resulting Numbers: [13, 45]
Generated Node #0,1,4: 12:[13, 45] Operation: 48-3=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[13, 16], Operations: ['72/24=3', '48/3=16']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,12 unequal: No Solution
No 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: 12:[3, 35], Operations: ['72/24=3', '48-13=35']
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,12 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,12 unequal: No Solution
No 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: 12:[13, 45], Operations: ['72/24=3', '48-3=45']
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,12 unequal: No Solution
Exploring Operation: 13*45=585, Resulting Numbers: [585]
585,12 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,12 unequal: No Solution
No 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: 12:[48, 10], Operations: ['72/24=3', '13-3=10']
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,12 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,12 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,12 unequal: No Solution
No 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: 12:[48, 16], Operations: ['72/24=3', '13+3=16']
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,12 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,12 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: 12:[13, 72, 2], Operations: ['48/24=2']
Exploring Operation: 72-13=59, Resulting Numbers: [2, 59]
Generated Node #0,4,0: 12:[2, 59] Operation: 72-13=59
Exploring Operation: 72-2=70, Resulting Numbers: [13, 70]
Generated Node #0,4,1: 12:[13, 70] Operation: 72-2=70
Exploring Operation: 72/2=36, Resulting Numbers: [13, 36]
Generated Node #0,4,2: 12:[13, 36] Operation: 72/2=36
Exploring Operation: 13+2=15, Resulting Numbers: [72, 15]
Generated Node #0,4,3: 12:[72, 15] Operation: 13+2=15
Exploring Operation: 13-2=11, Resulting Numbers: [72, 11]
Generated Node #0,4,4: 12:[72, 11] Operation: 13-2=11
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 12:[13, 36], Operations: ['48/24=2', '72/2=36']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,12 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,12 unequal: No Solution
No 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: 12:[2, 59], Operations: ['48/24=2', '72-13=59']
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,12 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,12 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 12:[13, 70], Operations: ['48/24=2', '72-2=70']
Exploring Operation: 13+70=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 13*70=910, Resulting Numbers: [910]
910,12 unequal: No Solution
No 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: 12:[72, 11], Operations: ['48/24=2', '13-2=11']
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,12 unequal: No Solution
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,12 unequal: No Solution
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,12 unequal: No Solution
No 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: 12:[72, 15], Operations: ['48/24=2', '13+2=15']
Exploring Operation: 72+15=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 72*15=1080, Resulting Numbers: [1080]
1080,12 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: 12:[13, 48, 48], Operations: ['72-24=48']
Exploring Operation: 48/48=1, Resulting Numbers: [13, 1]
Generated Node #0,2,0: 12:[13, 1] Operation: 48/48=1
Exploring Operation: 48-13=35, Resulting Numbers: [48, 35]
Generated Node #0,2,1: 12:[48, 35] Operation: 48-13=35
Exploring Operation: 48-48=0, Resulting Numbers: [13, 0]
Generated Node #0,2,2: 12:[13, 0] Operation: 48-48=0
Exploring Operation: 48-13=35, Resulting Numbers: [48, 35]
Generated Node #0,2,3: 12:[48, 35] Operation: 48-13=35
Exploring Operation: 13+48=61, Resulting Numbers: [48, 61]
Generated Node #0,2,4: 12:[48, 61] Operation: 13+48=61
Moving to Node #0,3
Current State: 12:[13, 72, 24], Operations: ['48-24=24']
Exploring Operation: 72/24=3, Resulting Numbers: [13, 3]
Generated Node #0,3,0: 12:[13, 3] Operation: 72/24=3
Exploring Operation: 72-24=48, Resulting Numbers: [13, 48]
Generated Node #0,3,1: 12:[13, 48] Operation: 72-24=48
Exploring Operation: 24-13=11, Resulting Numbers: [72, 11]
Generated Node #0,3,2: 12:[72, 11] Operation: 24-13=11
Exploring Operation: 13+72=85, Resulting Numbers: [24, 85]
Generated Node #0,3,3: 12:[24, 85] Operation: 13+72=85
Exploring Operation: 72-13=59, Resulting Numbers: [24, 59]
Generated Node #0,3,4: 12:[24, 59] Operation: 72-13=59
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 12:[13, 3], Operations: ['48-24=24', '72/24=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,12 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,12 unequal: No Solution
No 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: 12:[13, 48], Operations: ['48-24=24', '72-24=48']
Exploring Operation: 13*48=624, Resulting Numbers: [624]
624,12 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 13+48=61, Resulting Numbers: [61]
61,12 unequal: No Solution
No 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: 12:[24, 59], Operations: ['48-24=24', '72-13=59']
Exploring Operation: 24+59=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 24*59=1416, Resulting Numbers: [1416]
1416,12 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,12 unequal: No Solution
No 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: 12:[72, 11], Operations: ['48-24=24', '24-13=11']
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,12 unequal: No Solution
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,12 unequal: No Solution
No 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: 12:[24, 85], Operations: ['48-24=24', '13+72=85']
Exploring Operation: 24+85=109, Resulting Numbers: [109]
109,12 unequal: No Solution
Exploring Operation: 24*85=2040, Resulting Numbers: [2040]
2040,12 unequal: No Solution
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,12 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: 12:[13, 1], Operations: ['72-48=24', '24/24=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[13, 24, 72, 48], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [13, 24, 24]
Generated Node #0,0: 12:[13, 24, 24] Operation: 72-48=24
Moving to Node #0,0
Current State: 12:[13, 24, 24], Operations: ['72-48=24']
Exploring Operation: 24/24=1, Resulting Numbers: [13, 1]
Generated Node #0,0,0: 12:[13, 1] Operation: 24/24=1
Moving to Node #0,0,0
Current State: 12:[13, 1], Operations: ['72-48=24', '24/24=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.929688 | hs_5 | sum_heuristic |
[
21,
66,
40,
24
] | 89 | [
"66*40=2640",
"2640/24=110",
"110-21=89"
] | Current State: 89:[21, 66, 40, 24], Operations: []
Exploring Operation: 66*40=2640, Resulting Numbers: [21, 24, 2640]
Generated Node #2: [21, 24, 2640] from Operation: 66*40=2640
Current State: 89:[21, 24, 2640], Operations: ['66*40=2640']
Exploring Operation: 2640/24=110, Resulting Numbers: [21, 110]
Generated Node #3: [21, 110] from Operation: 2640/24=110
Current State: 89:[21, 110], Operations: ['66*40=2640', '2640/24=110']
Exploring Operation: 110-21=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[21, 66, 40, 24], Operations: []
Exploring Operation: 21+66=87, Resulting Numbers: [40, 24, 87]
Generated Node #0,0: 89:[40, 24, 87] Operation: 21+66=87
Exploring Operation: 21+40=61, Resulting Numbers: [66, 24, 61]
Generated Node #0,1: 89:[66, 24, 61] Operation: 21+40=61
Exploring Operation: 21+24=45, Resulting Numbers: [66, 40, 45]
Generated Node #0,2: 89:[66, 40, 45] Operation: 21+24=45
Moving to Node #0,0
Current State: 89:[40, 24, 87], Operations: ['21+66=87']
Exploring Operation: 40+24=64, Resulting Numbers: [87, 64]
Generated Node #0,0,0: 89:[87, 64] Operation: 40+24=64
Exploring Operation: 24+87=111, Resulting Numbers: [40, 111]
Generated Node #0,0,1: 89:[40, 111] Operation: 24+87=111
Exploring Operation: 40-24=16, Resulting Numbers: [87, 16]
Generated Node #0,0,2: 89:[87, 16] Operation: 40-24=16
Moving to Node #0,1
Current State: 89:[66, 24, 61], Operations: ['21+40=61']
Exploring Operation: 66-24=42, Resulting Numbers: [61, 42]
Generated Node #0,1,0: 89:[61, 42] Operation: 66-24=42
Exploring Operation: 66+24=90, Resulting Numbers: [61, 90]
Generated Node #0,1,1: 89:[61, 90] Operation: 66+24=90
Exploring Operation: 24+61=85, Resulting Numbers: [66, 85]
Generated Node #0,1,2: 89:[66, 85] Operation: 24+61=85
Moving to Node #0,2
Current State: 89:[66, 40, 45], Operations: ['21+24=45']
Exploring Operation: 40+45=85, Resulting Numbers: [66, 85]
Generated Node #0,2,0: 89:[66, 85] Operation: 40+45=85
Exploring Operation: 66+40=106, Resulting Numbers: [45, 106]
Generated Node #0,2,1: 89:[45, 106] Operation: 66+40=106
Exploring Operation: 66+45=111, Resulting Numbers: [40, 111]
Generated Node #0,2,2: 89:[40, 111] Operation: 66+45=111
Moving to Node #0,0,0
Current State: 89:[87, 64], Operations: ['21+66=87', '40+24=64']
Exploring Operation: 87*64=5568, Resulting Numbers: [5568]
5568,89 unequal: No Solution
Exploring Operation: 87-64=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Exploring Operation: 87+64=151, Resulting Numbers: [151]
151,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[66, 85], Operations: ['21+24=45', '40+45=85']
Exploring Operation: 66+85=151, Resulting Numbers: [151]
151,89 unequal: No Solution
Exploring Operation: 66*85=5610, Resulting Numbers: [5610]
5610,89 unequal: No Solution
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[66, 85], Operations: ['21+40=61', '24+61=85']
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 66+85=151, Resulting Numbers: [151]
151,89 unequal: No Solution
Exploring Operation: 66*85=5610, Resulting Numbers: [5610]
5610,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[61, 90], Operations: ['21+40=61', '66+24=90']
Exploring Operation: 61*90=5490, Resulting Numbers: [5490]
5490,89 unequal: No Solution
Exploring Operation: 61+90=151, Resulting Numbers: [151]
151,89 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[45, 106], Operations: ['21+24=45', '66+40=106']
Exploring Operation: 106-45=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 45*106=4770, Resulting Numbers: [4770]
4770,89 unequal: No Solution
Exploring Operation: 45+106=151, Resulting Numbers: [151]
151,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[40, 111], Operations: ['21+24=45', '66+45=111']
Exploring Operation: 40*111=4440, Resulting Numbers: [4440]
4440,89 unequal: No Solution
Exploring Operation: 40+111=151, Resulting Numbers: [151]
151,89 unequal: No Solution
Exploring Operation: 111-40=71, Resulting Numbers: [71]
71,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[40, 111], Operations: ['21+66=87', '24+87=111']
Exploring Operation: 40*111=4440, Resulting Numbers: [4440]
4440,89 unequal: No Solution
Exploring Operation: 111-40=71, Resulting Numbers: [71]
71,89 unequal: No Solution
Exploring Operation: 40+111=151, Resulting Numbers: [151]
151,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[87, 16], Operations: ['21+66=87', '40-24=16']
Exploring Operation: 87+16=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 87*16=1392, Resulting Numbers: [1392]
1392,89 unequal: No Solution
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[61, 42], Operations: ['21+40=61', '66-24=42']
Exploring Operation: 61+42=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 61*42=2562, Resulting Numbers: [2562]
2562,89 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
41,
25,
31,
21
] | 23 | [
"41+21=62",
"62/31=2",
"25-2=23"
] | Current State: 23:[41, 25, 31, 21], Operations: []
Exploring Operation: 41+21=62, Resulting Numbers: [25, 31, 62]
Generated Node #2: [25, 31, 62] from Operation: 41+21=62
Current State: 23:[25, 31, 62], Operations: ['41+21=62']
Exploring Operation: 62/31=2, Resulting Numbers: [25, 2]
Generated Node #3: [25, 2] from Operation: 62/31=2
Current State: 23:[25, 2], Operations: ['41+21=62', '62/31=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[41, 25, 31, 21], Operations: []
Exploring Operation: 41-25=16, Resulting Numbers: [31, 21, 16]
Generated Node #0,0: 23:[31, 21, 16] Operation: 41-25=16
Exploring Operation: 41-21=20, Resulting Numbers: [25, 31, 20]
Generated Node #0,1: 23:[25, 31, 20] Operation: 41-21=20
Exploring Operation: 41-31=10, Resulting Numbers: [25, 21, 10]
Generated Node #0,2: 23:[25, 21, 10] Operation: 41-31=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[25, 31, 20], Operations: ['41-21=20']
Exploring Operation: 25-20=5, Resulting Numbers: [31, 5]
Generated Node #0,1,0: 23:[31, 5] Operation: 25-20=5
Exploring Operation: 31-20=11, Resulting Numbers: [25, 11]
Generated Node #0,1,1: 23:[25, 11] Operation: 31-20=11
Exploring Operation: 31-25=6, Resulting Numbers: [20, 6]
Generated Node #0,1,2: 23:[20, 6] Operation: 31-25=6
Moving to Node #0,1,1
Current State: 23:[25, 11], Operations: ['41-21=20', '31-20=11']
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,23 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,23 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[20, 6], Operations: ['41-21=20', '31-25=6']
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,23 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[31, 5], Operations: ['41-21=20', '25-20=5']
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,23 unequal: No Solution
Exploring Operation: 31*5=155, Resulting Numbers: [155]
155,23 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[31, 21, 16], Operations: ['41-25=16']
Exploring Operation: 21+16=37, Resulting Numbers: [31, 37]
Generated Node #0,0,0: 23:[31, 37] Operation: 21+16=37
Exploring Operation: 31-16=15, Resulting Numbers: [21, 15]
Generated Node #0,0,1: 23:[21, 15] Operation: 31-16=15
Exploring Operation: 31-21=10, Resulting Numbers: [16, 10]
Generated Node #0,0,2: 23:[16, 10] Operation: 31-21=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[21, 15], Operations: ['41-25=16', '31-16=15']
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,23 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[16, 10], Operations: ['41-25=16', '31-21=10']
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,23 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[31, 37], Operations: ['41-25=16', '21+16=37']
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,23 unequal: No Solution
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[25, 21, 10], Operations: ['41-31=10']
Exploring Operation: 21+10=31, Resulting Numbers: [25, 31]
Generated Node #0,2,0: 23:[25, 31] Operation: 21+10=31
Exploring Operation: 25+10=35, Resulting Numbers: [21, 35]
Generated Node #0,2,1: 23:[21, 35] Operation: 25+10=35
Exploring Operation: 25-10=15, Resulting Numbers: [21, 15]
Generated Node #0,2,2: 23:[21, 15] Operation: 25-10=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 23:[25, 31], Operations: ['41-31=10', '21+10=31']
Exploring Operation: 25*31=775, Resulting Numbers: [775]
775,23 unequal: No Solution
Exploring Operation: 25+31=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 23:[21, 15], Operations: ['41-31=10', '25-10=15']
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,23 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,23 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 23:[21, 35], Operations: ['41-31=10', '25+10=35']
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 21*35=735, Resulting Numbers: [735]
735,23 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
33,
77,
71,
40
] | 82 | [
"40-33=7",
"77/7=11",
"71+11=82"
] | Current State: 82:[33, 77, 71, 40], Operations: []
Exploring Operation: 40-33=7, Resulting Numbers: [77, 71, 7]
Generated Node #2: [77, 71, 7] from Operation: 40-33=7
Current State: 82:[77, 71, 7], Operations: ['40-33=7']
Exploring Operation: 77/7=11, Resulting Numbers: [71, 11]
Generated Node #3: [71, 11] from Operation: 77/7=11
Current State: 82:[71, 11], Operations: ['40-33=7', '77/7=11']
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[33, 77, 71, 40], Operations: []
Exploring Operation: 71-33=38, Resulting Numbers: [77, 40, 38]
Generated Node #0,0: 82:[77, 40, 38] Operation: 71-33=38
Exploring Operation: 77-33=44, Resulting Numbers: [71, 40, 44]
Generated Node #0,1: 82:[71, 40, 44] Operation: 77-33=44
Exploring Operation: 77-71=6, Resulting Numbers: [33, 40, 6]
Generated Node #0,2: 82:[33, 40, 6] Operation: 77-71=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[77, 40, 38], Operations: ['71-33=38']
Exploring Operation: 40-38=2, Resulting Numbers: [77, 2]
Generated Node #0,0,0: 82:[77, 2] Operation: 40-38=2
Exploring Operation: 77-38=39, Resulting Numbers: [40, 39]
Generated Node #0,0,1: 82:[40, 39] Operation: 77-38=39
Exploring Operation: 77-40=37, Resulting Numbers: [38, 37]
Generated Node #0,0,2: 82:[38, 37] Operation: 77-40=37
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[40, 39], Operations: ['71-33=38', '77-38=39']
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,82 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[77, 2], Operations: ['71-33=38', '40-38=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,82 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[38, 37], Operations: ['71-33=38', '77-40=37']
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,82 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,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,2
Current State: 82:[33, 40, 6], Operations: ['77-71=6']
Exploring Operation: 33+6=39, Resulting Numbers: [40, 39]
Generated Node #0,2,0: 82:[40, 39] Operation: 33+6=39
Exploring Operation: 33+40=73, Resulting Numbers: [6, 73]
Generated Node #0,2,1: 82:[6, 73] Operation: 33+40=73
Exploring Operation: 40-33=7, Resulting Numbers: [6, 7]
Generated Node #0,2,2: 82:[6, 7] Operation: 40-33=7
Moving to Node #0,2,0
Current State: 82:[40, 39], Operations: ['77-71=6', '33+6=39']
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[6, 7], Operations: ['77-71=6', '40-33=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[6, 73], Operations: ['77-71=6', '33+40=73']
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,82 unequal: No Solution
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[71, 40, 44], Operations: ['77-33=44']
Exploring Operation: 71-40=31, Resulting Numbers: [44, 31]
Generated Node #0,1,0: 82:[44, 31] Operation: 71-40=31
Exploring Operation: 40+44=84, Resulting Numbers: [71, 84]
Generated Node #0,1,1: 82:[71, 84] Operation: 40+44=84
Exploring Operation: 44-40=4, Resulting Numbers: [71, 4]
Generated Node #0,1,2: 82:[71, 4] Operation: 44-40=4
Moving to Node #0,1,0
Current State: 82:[44, 31], Operations: ['77-33=44', '71-40=31']
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,82 unequal: No Solution
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,82 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[71, 84], Operations: ['77-33=44', '40+44=84']
Exploring Operation: 71*84=5964, Resulting Numbers: [5964]
5964,82 unequal: No Solution
Exploring Operation: 71+84=155, Resulting Numbers: [155]
155,82 unequal: No Solution
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[71, 4], Operations: ['77-33=44', '44-40=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,82 unequal: No Solution
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,82 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,82 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 |
[
75,
29,
18,
83
] | 25 | [
"75*18=1350",
"83-29=54",
"1350/54=25"
] | Current State: 25:[75, 29, 18, 83], Operations: []
Exploring Operation: 75*18=1350, Resulting Numbers: [29, 83, 1350]
Generated Node #2: [29, 83, 1350] from Operation: 75*18=1350
Current State: 25:[29, 83, 1350], Operations: ['75*18=1350']
Exploring Operation: 83-29=54, Resulting Numbers: [1350, 54]
Generated Node #3: [1350, 54] from Operation: 83-29=54
Current State: 25:[1350, 54], Operations: ['75*18=1350', '83-29=54']
Exploring Operation: 1350/54=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[75, 29, 18, 83], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [29, 18, 8]
Generated Node #0,0: 25:[29, 18, 8] Operation: 83-75=8
Exploring Operation: 75-18=57, Resulting Numbers: [29, 83, 57]
Generated Node #0,1: 25:[29, 83, 57] Operation: 75-18=57
Exploring Operation: 83-18=65, Resulting Numbers: [75, 29, 65]
Generated Node #0,2: 25:[75, 29, 65] Operation: 83-18=65
Exploring Operation: 75-29=46, Resulting Numbers: [18, 83, 46]
Generated Node #0,3: 25:[18, 83, 46] Operation: 75-29=46
Exploring Operation: 83-29=54, Resulting Numbers: [75, 18, 54]
Generated Node #0,4: 25:[75, 18, 54] Operation: 83-29=54
Moving to Node #0,0
Current State: 25:[29, 18, 8], Operations: ['83-75=8']
Exploring Operation: 29-18=11, Resulting Numbers: [8, 11]
Generated Node #0,0,0: 25:[8, 11] Operation: 29-18=11
Exploring Operation: 29+8=37, Resulting Numbers: [18, 37]
Generated Node #0,0,1: 25:[18, 37] Operation: 29+8=37
Exploring Operation: 29-8=21, Resulting Numbers: [18, 21]
Generated Node #0,0,2: 25:[18, 21] Operation: 29-8=21
Exploring Operation: 18+8=26, Resulting Numbers: [29, 26]
Generated Node #0,0,3: 25:[29, 26] Operation: 18+8=26
Exploring Operation: 18-8=10, Resulting Numbers: [29, 10]
Generated Node #0,0,4: 25:[29, 10] Operation: 18-8=10
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 25:[29, 26], Operations: ['83-75=8', '18+8=26']
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,25 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[8, 11], Operations: ['83-75=8', '29-18=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 25:[29, 10], Operations: ['83-75=8', '18-8=10']
Exploring Operation: 29*10=290, Resulting Numbers: [290]
290,25 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[18, 21], Operations: ['83-75=8', '29-8=21']
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,25 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[18, 37], Operations: ['83-75=8', '29+8=37']
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,25 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,25 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: 25:[75, 18, 54], Operations: ['83-29=54']
Exploring Operation: 54/18=3, Resulting Numbers: [75, 3]
Generated Node #0,4,0: 25:[75, 3] Operation: 54/18=3
Exploring Operation: 54-18=36, Resulting Numbers: [75, 36]
Generated Node #0,4,1: 25:[75, 36] Operation: 54-18=36
Exploring Operation: 75+18=93, Resulting Numbers: [54, 93]
Generated Node #0,4,2: 25:[54, 93] Operation: 75+18=93
Exploring Operation: 75-54=21, Resulting Numbers: [18, 21]
Generated Node #0,4,3: 25:[18, 21] Operation: 75-54=21
Exploring Operation: 75-18=57, Resulting Numbers: [54, 57]
Generated Node #0,4,4: 25:[54, 57] Operation: 75-18=57
Moving to Node #0,3
Current State: 25:[18, 83, 46], Operations: ['75-29=46']
Exploring Operation: 46-18=28, Resulting Numbers: [83, 28]
Generated Node #0,3,0: 25:[83, 28] Operation: 46-18=28
Exploring Operation: 83-46=37, Resulting Numbers: [18, 37]
Generated Node #0,3,1: 25:[18, 37] Operation: 83-46=37
Exploring Operation: 18+83=101, Resulting Numbers: [46, 101]
Generated Node #0,3,2: 25:[46, 101] Operation: 18+83=101
Exploring Operation: 18+46=64, Resulting Numbers: [83, 64]
Generated Node #0,3,3: 25:[83, 64] Operation: 18+46=64
Exploring Operation: 83-18=65, Resulting Numbers: [46, 65]
Generated Node #0,3,4: 25:[46, 65] Operation: 83-18=65
Moving to Node #0,1
Current State: 25:[29, 83, 57], Operations: ['75-18=57']
Exploring Operation: 57-29=28, Resulting Numbers: [83, 28]
Generated Node #0,1,0: 25:[83, 28] Operation: 57-29=28
Exploring Operation: 83-29=54, Resulting Numbers: [57, 54]
Generated Node #0,1,1: 25:[57, 54] Operation: 83-29=54
Exploring Operation: 83-57=26, Resulting Numbers: [29, 26]
Generated Node #0,1,2: 25:[29, 26] Operation: 83-57=26
Exploring Operation: 29+83=112, Resulting Numbers: [57, 112]
Generated Node #0,1,3: 25:[57, 112] Operation: 29+83=112
Exploring Operation: 29+57=86, Resulting Numbers: [83, 86]
Generated Node #0,1,4: 25:[83, 86] Operation: 29+57=86
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[29, 26], Operations: ['75-18=57', '83-57=26']
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,25 unequal: No Solution
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[83, 28], Operations: ['75-18=57', '57-29=28']
Exploring Operation: 83-28=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 83*28=2324, Resulting Numbers: [2324]
2324,25 unequal: No Solution
Exploring Operation: 83+28=111, Resulting Numbers: [111]
111,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[57, 54], Operations: ['75-18=57', '83-29=54']
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 57*54=3078, Resulting Numbers: [3078]
3078,25 unequal: No Solution
Exploring Operation: 57+54=111, Resulting Numbers: [111]
111,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 25:[57, 112], Operations: ['75-18=57', '29+83=112']
Exploring Operation: 57*112=6384, Resulting Numbers: [6384]
6384,25 unequal: No Solution
Exploring Operation: 57+112=169, Resulting Numbers: [169]
169,25 unequal: No Solution
Exploring Operation: 112-57=55, Resulting Numbers: [55]
55,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 25:[83, 86], Operations: ['75-18=57', '29+57=86']
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 83*86=7138, Resulting Numbers: [7138]
7138,25 unequal: No Solution
Exploring Operation: 83+86=169, Resulting Numbers: [169]
169,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 25:[75, 29, 65], Operations: ['83-18=65']
Exploring Operation: 65-29=36, Resulting Numbers: [75, 36]
Generated Node #0,2,0: 25:[75, 36] Operation: 65-29=36
Exploring Operation: 75-29=46, Resulting Numbers: [65, 46]
Generated Node #0,2,1: 25:[65, 46] Operation: 75-29=46
Exploring Operation: 75+29=104, Resulting Numbers: [65, 104]
Generated Node #0,2,2: 25:[65, 104] Operation: 75+29=104
Exploring Operation: 75-65=10, Resulting Numbers: [29, 10]
Generated Node #0,2,3: 25:[29, 10] Operation: 75-65=10
Exploring Operation: 75+65=140, Resulting Numbers: [29, 140]
Generated Node #0,2,4: 25:[29, 140] Operation: 75+65=140
Moving to Node #0,2,3
Current State: 25:[29, 10], Operations: ['83-18=65', '75-65=10']
Exploring Operation: 29*10=290, Resulting Numbers: [290]
290,25 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Moving to Node #0,4,3
Current State: 25:[18, 21], Operations: ['83-29=54', '75-54=21']
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,25 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[18, 37], Operations: ['75-29=46', '83-46=37']
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,25 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Moving to Node #0,4,0
Current State: 25:[75, 3], Operations: ['83-29=54', '54/18=3']
Exploring Operation: 75*3=225, Resulting Numbers: [225]
225,25 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[75, 29, 18, 83], Operations: []
Exploring Operation: 83-29=54, Resulting Numbers: [75, 18, 54]
Generated Node #0,4: 25:[75, 18, 54] Operation: 83-29=54
Moving to Node #0,4
Current State: 25:[75, 18, 54], Operations: ['83-29=54']
Exploring Operation: 54/18=3, Resulting Numbers: [75, 3]
Generated Node #0,4,0: 25:[75, 3] Operation: 54/18=3
Moving to Node #0,4,0
Current State: 25:[75, 3], Operations: ['83-29=54', '54/18=3']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.93316 | hs_5 | sum_heuristic |
[
36,
39,
16,
2
] | 22 | [
"39-36=3",
"2*3=6",
"16+6=22"
] | Current State: 22:[36, 39, 16, 2], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [16, 2, 3]
Generated Node #2: [16, 2, 3] from Operation: 39-36=3
Current State: 22:[16, 2, 3], Operations: ['39-36=3']
Exploring Operation: 2*3=6, Resulting Numbers: [16, 6]
Generated Node #3: [16, 6] from Operation: 2*3=6
Current State: 22:[16, 6], Operations: ['39-36=3', '2*3=6']
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[36, 39, 16, 2], Operations: []
Exploring Operation: 36-16=20, Resulting Numbers: [39, 2, 20]
Generated Node #0,0: 22:[39, 2, 20] Operation: 36-16=20
Exploring Operation: 39-36=3, Resulting Numbers: [16, 2, 3]
Generated Node #0,1: 22:[16, 2, 3] Operation: 39-36=3
Exploring Operation: 39-16=23, Resulting Numbers: [36, 2, 23]
Generated Node #0,2: 22:[36, 2, 23] Operation: 39-16=23
Exploring Operation: 36-2=34, Resulting Numbers: [39, 16, 34]
Generated Node #0,3: 22:[39, 16, 34] Operation: 36-2=34
Exploring Operation: 36/2=18, Resulting Numbers: [39, 16, 18]
Generated Node #0,4: 22:[39, 16, 18] Operation: 36/2=18
Moving to Node #0,1
Current State: 22:[16, 2, 3], Operations: ['39-36=3']
Exploring Operation: 16+2=18, Resulting Numbers: [3, 18]
Generated Node #0,1,0: 22:[3, 18] Operation: 16+2=18
Exploring Operation: 16-3=13, Resulting Numbers: [2, 13]
Generated Node #0,1,1: 22:[2, 13] Operation: 16-3=13
Exploring Operation: 16+3=19, Resulting Numbers: [2, 19]
Generated Node #0,1,2: 22:[2, 19] Operation: 16+3=19
Exploring Operation: 16-2=14, Resulting Numbers: [3, 14]
Generated Node #0,1,3: 22:[3, 14] Operation: 16-2=14
Exploring Operation: 16/2=8, Resulting Numbers: [3, 8]
Generated Node #0,1,4: 22:[3, 8] Operation: 16/2=8
Moving to Node #0,2
Current State: 22:[36, 2, 23], Operations: ['39-16=23']
Exploring Operation: 36-23=13, Resulting Numbers: [2, 13]
Generated Node #0,2,0: 22:[2, 13] Operation: 36-23=13
Exploring Operation: 36-2=34, Resulting Numbers: [23, 34]
Generated Node #0,2,1: 22:[23, 34] Operation: 36-2=34
Exploring Operation: 23-2=21, Resulting Numbers: [36, 21]
Generated Node #0,2,2: 22:[36, 21] Operation: 23-2=21
Exploring Operation: 36/2=18, Resulting Numbers: [23, 18]
Generated Node #0,2,3: 22:[23, 18] Operation: 36/2=18
Exploring Operation: 36+2=38, Resulting Numbers: [23, 38]
Generated Node #0,2,4: 22:[23, 38] Operation: 36+2=38
Moving to Node #0,0
Current State: 22:[39, 2, 20], Operations: ['36-16=20']
Exploring Operation: 2+20=22, Resulting Numbers: [39, 22]
Generated Node #0,0,0: 22:[39, 22] Operation: 2+20=22
Exploring Operation: 39+2=41, Resulting Numbers: [20, 41]
Generated Node #0,0,1: 22:[20, 41] Operation: 39+2=41
Exploring Operation: 39-2=37, Resulting Numbers: [20, 37]
Generated Node #0,0,2: 22:[20, 37] Operation: 39-2=37
Exploring Operation: 39-20=19, Resulting Numbers: [2, 19]
Generated Node #0,0,3: 22:[2, 19] Operation: 39-20=19
Exploring Operation: 20/2=10, Resulting Numbers: [39, 10]
Generated Node #0,0,4: 22:[39, 10] Operation: 20/2=10
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 22:[2, 19], Operations: ['36-16=20', '39-20=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[39, 22], Operations: ['36-16=20', '2+20=22']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 39*22=858, Resulting Numbers: [858]
858,22 unequal: No Solution
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[20, 37], Operations: ['36-16=20', '39-2=37']
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,22 unequal: No Solution
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 22:[39, 10], Operations: ['36-16=20', '20/2=10']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[20, 41], Operations: ['36-16=20', '39+2=41']
Exploring Operation: 20+41=61, Resulting Numbers: [61]
61,22 unequal: No Solution
Exploring Operation: 20*41=820, Resulting Numbers: [820]
820,22 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,22 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: 22:[39, 16, 18], Operations: ['36/2=18']
Exploring Operation: 39-16=23, Resulting Numbers: [18, 23]
Generated Node #0,4,0: 22:[18, 23] Operation: 39-16=23
Exploring Operation: 39+16=55, Resulting Numbers: [18, 55]
Generated Node #0,4,1: 22:[18, 55] Operation: 39+16=55
Exploring Operation: 39-18=21, Resulting Numbers: [16, 21]
Generated Node #0,4,2: 22:[16, 21] Operation: 39-18=21
Exploring Operation: 18-16=2, Resulting Numbers: [39, 2]
Generated Node #0,4,3: 22:[39, 2] Operation: 18-16=2
Exploring Operation: 16+18=34, Resulting Numbers: [39, 34]
Generated Node #0,4,4: 22:[39, 34] Operation: 16+18=34
Moving to Node #0,3
Current State: 22:[39, 16, 34], Operations: ['36-2=34']
Exploring Operation: 39+16=55, Resulting Numbers: [34, 55]
Generated Node #0,3,0: 22:[34, 55] Operation: 39+16=55
Exploring Operation: 34-16=18, Resulting Numbers: [39, 18]
Generated Node #0,3,1: 22:[39, 18] Operation: 34-16=18
Exploring Operation: 16+34=50, Resulting Numbers: [39, 50]
Generated Node #0,3,2: 22:[39, 50] Operation: 16+34=50
Exploring Operation: 39-16=23, Resulting Numbers: [34, 23]
Generated Node #0,3,3: 22:[34, 23] Operation: 39-16=23
Exploring Operation: 39-34=5, Resulting Numbers: [16, 5]
Generated Node #0,3,4: 22:[16, 5] Operation: 39-34=5
Moving to Node #0,1,1
Current State: 22:[2, 13], Operations: ['39-36=3', '16-3=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[2, 13], Operations: ['39-16=23', '36-23=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[2, 19], Operations: ['39-36=3', '16+3=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[3, 14], Operations: ['39-36=3', '16-2=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Moving to Node #0,1,4
Current State: 22:[3, 8], Operations: ['39-36=3', '16/2=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Moving to Node #0,2,3
Current State: 22:[23, 18], Operations: ['39-16=23', '36/2=18']
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,22 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[3, 18], Operations: ['39-36=3', '16+2=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Moving to Node #0,4,0
Current State: 22:[18, 23], Operations: ['36/2=18', '39-16=23']
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,22 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Moving to Node #0,4,2
Current State: 22:[16, 21], Operations: ['36/2=18', '39-18=21']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,22 unequal: No Solution
Moving to Node #0,3,4
Current State: 22:[16, 5], Operations: ['36-2=34', '39-34=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,22 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[23, 34], Operations: ['39-16=23', '36-2=34']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 23*34=782, Resulting Numbers: [782]
782,22 unequal: No Solution
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Moving to Node #0,3,3
Current State: 22:[34, 23], Operations: ['36-2=34', '39-16=23']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[36, 21], Operations: ['39-16=23', '23-2=21']
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,22 unequal: No Solution
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Moving to Node #0,4,3
Current State: 22:[39, 2], Operations: ['36/2=18', '18-16=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,22 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Moving to Node #0,2,4
Current State: 22:[23, 38], Operations: ['39-16=23', '36+2=38']
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 23+38=61, Resulting Numbers: [61]
61,22 unequal: No Solution
Exploring Operation: 23*38=874, Resulting Numbers: [874]
874,22 unequal: No Solution
Moving to Node #0,3,1
Current State: 22:[39, 18], Operations: ['36-2=34', '34-16=18']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 39*18=702, Resulting Numbers: [702]
702,22 unequal: No Solution
Moving to Node #0,4,4
Current State: 22:[39, 34], Operations: ['36/2=18', '16+18=34']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,22 unequal: No Solution
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Moving to Node #0,4,1
Current State: 22:[18, 55], Operations: ['36/2=18', '39+16=55']
Exploring Operation: 18*55=990, Resulting Numbers: [990]
990,22 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 18+55=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Moving to Node #0,3,2
Current State: 22:[39, 50], Operations: ['36-2=34', '16+34=50']
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,22 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 39*50=1950, Resulting Numbers: [1950]
1950,22 unequal: No Solution
Moving to Node #0,3,0
Current State: 22:[34, 55], Operations: ['36-2=34', '39+16=55']
Exploring Operation: 55-34=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 34*55=1870, Resulting Numbers: [1870]
1870,22 unequal: No Solution
Exploring Operation: 34+55=89, Resulting Numbers: [89]
89,22 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
47,
7,
5,
75
] | 20 | [
"75-47=28",
"28/7=4",
"5*4=20"
] | Current State: 20:[47, 7, 5, 75], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [7, 5, 28]
Generated Node #2: [7, 5, 28] from Operation: 75-47=28
Current State: 20:[7, 5, 28], Operations: ['75-47=28']
Exploring Operation: 28/7=4, Resulting Numbers: [5, 4]
Generated Node #3: [5, 4] from Operation: 28/7=4
Current State: 20:[5, 4], Operations: ['75-47=28', '28/7=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[47, 7, 5, 75], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [7, 5, 28]
Generated Node #0,0: 20:[7, 5, 28] Operation: 75-47=28
Exploring Operation: 75/5=15, Resulting Numbers: [47, 7, 15]
Generated Node #0,1: 20:[47, 7, 15] Operation: 75/5=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[7, 5, 28], Operations: ['75-47=28']
Exploring Operation: 28-7=21, Resulting Numbers: [5, 21]
Generated Node #0,0,0: 20:[5, 21] Operation: 28-7=21
Exploring Operation: 28/7=4, Resulting Numbers: [5, 4]
Generated Node #0,0,1: 20:[5, 4] Operation: 28/7=4
Moving to Node #0,0,1
Current State: 20:[5, 4], Operations: ['75-47=28', '28/7=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[47, 7, 5, 75], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [7, 5, 28]
Generated Node #0,0: 20:[7, 5, 28] Operation: 75-47=28
Moving to Node #0,0
Current State: 20:[7, 5, 28], Operations: ['75-47=28']
Exploring Operation: 28/7=4, Resulting Numbers: [5, 4]
Generated Node #0,0,1: 20:[5, 4] Operation: 28/7=4
Moving to Node #0,0,1
Current State: 20:[5, 4], Operations: ['75-47=28', '28/7=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
62,
69,
71,
85
] | 68 | [
"85-62=23",
"69/23=3",
"71-3=68"
] | Current State: 68:[62, 69, 71, 85], Operations: []
Exploring Operation: 85-62=23, Resulting Numbers: [69, 71, 23]
Generated Node #2: [69, 71, 23] from Operation: 85-62=23
Current State: 68:[69, 71, 23], Operations: ['85-62=23']
Exploring Operation: 69/23=3, Resulting Numbers: [71, 3]
Generated Node #3: [71, 3] from Operation: 69/23=3
Current State: 68:[71, 3], Operations: ['85-62=23', '69/23=3']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[62, 69, 71, 85], Operations: []
Exploring Operation: 85-69=16, Resulting Numbers: [62, 71, 16]
Generated Node #0,0: 68:[62, 71, 16] Operation: 85-69=16
Exploring Operation: 85-62=23, Resulting Numbers: [69, 71, 23]
Generated Node #0,1: 68:[69, 71, 23] Operation: 85-62=23
Moving to Node #0,0
Current State: 68:[62, 71, 16], Operations: ['85-69=16']
Exploring Operation: 62+16=78, Resulting Numbers: [71, 78]
Generated Node #0,0,0: 68:[71, 78] Operation: 62+16=78
Exploring Operation: 71-62=9, Resulting Numbers: [16, 9]
Generated Node #0,0,1: 68:[16, 9] Operation: 71-62=9
Moving to Node #0,1
Current State: 68:[69, 71, 23], Operations: ['85-62=23']
Exploring Operation: 69/23=3, Resulting Numbers: [71, 3]
Generated Node #0,1,0: 68:[71, 3] Operation: 69/23=3
Exploring Operation: 71-69=2, Resulting Numbers: [23, 2]
Generated Node #0,1,1: 68:[23, 2] Operation: 71-69=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[71, 3], Operations: ['85-62=23', '69/23=3']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[62, 69, 71, 85], Operations: []
Exploring Operation: 85-62=23, Resulting Numbers: [69, 71, 23]
Generated Node #0,1: 68:[69, 71, 23] Operation: 85-62=23
Moving to Node #0,1
Current State: 68:[69, 71, 23], Operations: ['85-62=23']
Exploring Operation: 69/23=3, Resulting Numbers: [71, 3]
Generated Node #0,1,0: 68:[71, 3] Operation: 69/23=3
Moving to Node #0,1,0
Current State: 68:[71, 3], Operations: ['85-62=23', '69/23=3']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
26,
69,
73,
87
] | 29 | [
"69-26=43",
"87-73=14",
"43-14=29"
] | Current State: 29:[26, 69, 73, 87], Operations: []
Exploring Operation: 69-26=43, Resulting Numbers: [73, 87, 43]
Generated Node #2: [73, 87, 43] from Operation: 69-26=43
Current State: 29:[73, 87, 43], Operations: ['69-26=43']
Exploring Operation: 87-73=14, Resulting Numbers: [43, 14]
Generated Node #3: [43, 14] from Operation: 87-73=14
Current State: 29:[43, 14], Operations: ['69-26=43', '87-73=14']
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[26, 69, 73, 87], Operations: []
Exploring Operation: 87-69=18, Resulting Numbers: [26, 73, 18]
Generated Node #0,0: 29:[26, 73, 18] Operation: 87-69=18
Exploring Operation: 73-69=4, Resulting Numbers: [26, 87, 4]
Generated Node #0,1: 29:[26, 87, 4] Operation: 73-69=4
Exploring Operation: 87-73=14, Resulting Numbers: [26, 69, 14]
Generated Node #0,2: 29:[26, 69, 14] Operation: 87-73=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[26, 73, 18], Operations: ['87-69=18']
Exploring Operation: 26+18=44, Resulting Numbers: [73, 44]
Generated Node #0,0,0: 29:[73, 44] Operation: 26+18=44
Exploring Operation: 73-26=47, Resulting Numbers: [18, 47]
Generated Node #0,0,1: 29:[18, 47] Operation: 73-26=47
Exploring Operation: 73-18=55, Resulting Numbers: [26, 55]
Generated Node #0,0,2: 29:[26, 55] Operation: 73-18=55
Moving to Node #0,0,1
Current State: 29:[18, 47], Operations: ['87-69=18', '73-26=47']
Exploring Operation: 18+47=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 18*47=846, Resulting Numbers: [846]
846,29 unequal: No Solution
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[26, 69, 73, 87], Operations: []
Exploring Operation: 87-69=18, Resulting Numbers: [26, 73, 18]
Generated Node #0,0: 29:[26, 73, 18] Operation: 87-69=18
Moving to Node #0,0
Current State: 29:[26, 73, 18], Operations: ['87-69=18']
Exploring Operation: 73-26=47, Resulting Numbers: [18, 47]
Generated Node #0,0,1: 29:[18, 47] Operation: 73-26=47
Moving to Node #0,0,1
Current State: 29:[18, 47], Operations: ['87-69=18', '73-26=47']
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
3,
47,
51,
57
] | 56 | [
"3+47=50",
"57-51=6",
"50+6=56"
] | Current State: 56:[3, 47, 51, 57], Operations: []
Exploring Operation: 3+47=50, Resulting Numbers: [51, 57, 50]
Generated Node #2: [51, 57, 50] from Operation: 3+47=50
Current State: 56:[51, 57, 50], Operations: ['3+47=50']
Exploring Operation: 57-51=6, Resulting Numbers: [50, 6]
Generated Node #3: [50, 6] from Operation: 57-51=6
Current State: 56:[50, 6], Operations: ['3+47=50', '57-51=6']
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[3, 47, 51, 57], Operations: []
Exploring Operation: 3+47=50, Resulting Numbers: [51, 57, 50]
Generated Node #0,0: 56:[51, 57, 50] Operation: 3+47=50
Exploring Operation: 57-51=6, Resulting Numbers: [3, 47, 6]
Generated Node #0,1: 56:[3, 47, 6] Operation: 57-51=6
Exploring Operation: 51-47=4, Resulting Numbers: [3, 57, 4]
Generated Node #0,2: 56:[3, 57, 4] Operation: 51-47=4
Exploring Operation: 57-47=10, Resulting Numbers: [3, 51, 10]
Generated Node #0,3: 56:[3, 51, 10] Operation: 57-47=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[3, 57, 4], Operations: ['51-47=4']
Exploring Operation: 3*4=12, Resulting Numbers: [57, 12]
Generated Node #0,2,0: 56:[57, 12] Operation: 3*4=12
Exploring Operation: 57-3=54, Resulting Numbers: [4, 54]
Generated Node #0,2,1: 56:[4, 54] Operation: 57-3=54
Exploring Operation: 4-3=1, Resulting Numbers: [57, 1]
Generated Node #0,2,2: 56:[57, 1] Operation: 4-3=1
Exploring Operation: 3+4=7, Resulting Numbers: [57, 7]
Generated Node #0,2,3: 56:[57, 7] Operation: 3+4=7
Moving to Node #0,2,3
Current State: 56:[57, 7], Operations: ['51-47=4', '3+4=7']
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 57*7=399, Resulting Numbers: [399]
399,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[57, 1], Operations: ['51-47=4', '4-3=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[3, 47, 51, 57], Operations: []
Exploring Operation: 51-47=4, Resulting Numbers: [3, 57, 4]
Generated Node #0,2: 56:[3, 57, 4] Operation: 51-47=4
Moving to Node #0,2
Current State: 56:[3, 57, 4], Operations: ['51-47=4']
Exploring Operation: 4-3=1, Resulting Numbers: [57, 1]
Generated Node #0,2,2: 56:[57, 1] Operation: 4-3=1
Moving to Node #0,2,2
Current State: 56:[57, 1], Operations: ['51-47=4', '4-3=1']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
82,
80,
48,
16
] | 49 | [
"82*48=3936",
"3936-16=3920",
"3920/80=49"
] | Current State: 49:[82, 80, 48, 16], Operations: []
Exploring Operation: 82*48=3936, Resulting Numbers: [80, 16, 3936]
Generated Node #2: [80, 16, 3936] from Operation: 82*48=3936
Current State: 49:[80, 16, 3936], Operations: ['82*48=3936']
Exploring Operation: 3936-16=3920, Resulting Numbers: [80, 3920]
Generated Node #3: [80, 3920] from Operation: 3936-16=3920
Current State: 49:[80, 3920], Operations: ['82*48=3936', '3936-16=3920']
Exploring Operation: 3920/80=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[82, 80, 48, 16], Operations: []
Exploring Operation: 82-16=66, Resulting Numbers: [80, 48, 66]
Generated Node #0,0: 49:[80, 48, 66] Operation: 82-16=66
Exploring Operation: 82-48=34, Resulting Numbers: [80, 16, 34]
Generated Node #0,1: 49:[80, 16, 34] Operation: 82-48=34
Exploring Operation: 80/16=5, Resulting Numbers: [82, 48, 5]
Generated Node #0,2: 49:[82, 48, 5] Operation: 80/16=5
Exploring Operation: 80-16=64, Resulting Numbers: [82, 48, 64]
Generated Node #0,3: 49:[82, 48, 64] Operation: 80-16=64
Exploring Operation: 82-80=2, Resulting Numbers: [48, 16, 2]
Generated Node #0,4: 49:[48, 16, 2] Operation: 82-80=2
Moving to Node #0,4
Current State: 49:[48, 16, 2], Operations: ['82-80=2']
Exploring Operation: 16/2=8, Resulting Numbers: [48, 8]
Generated Node #0,4,0: 49:[48, 8] Operation: 16/2=8
Exploring Operation: 48/16=3, Resulting Numbers: [2, 3]
Generated Node #0,4,1: 49:[2, 3] Operation: 48/16=3
Exploring Operation: 16-2=14, Resulting Numbers: [48, 14]
Generated Node #0,4,2: 49:[48, 14] Operation: 16-2=14
Exploring Operation: 48-2=46, Resulting Numbers: [16, 46]
Generated Node #0,4,3: 49:[16, 46] Operation: 48-2=46
Exploring Operation: 48+2=50, Resulting Numbers: [16, 50]
Generated Node #0,4,4: 49:[16, 50] Operation: 48+2=50
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 49:[48, 8], Operations: ['82-80=2', '16/2=8']
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 48*8=384, Resulting Numbers: [384]
384,49 unequal: No Solution
Exploring Operation: 48+8=56, Resulting Numbers: [56]
56,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 49:[48, 14], Operations: ['82-80=2', '16-2=14']
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,49 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 49:[2, 3], Operations: ['82-80=2', '48/16=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 49:[16, 50], Operations: ['82-80=2', '48+2=50']
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,49 unequal: No Solution
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 49:[16, 46], Operations: ['82-80=2', '48-2=46']
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,49 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,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:[82, 48, 5], Operations: ['80/16=5']
Exploring Operation: 82-5=77, Resulting Numbers: [48, 77]
Generated Node #0,2,0: 49:[48, 77] Operation: 82-5=77
Exploring Operation: 48-5=43, Resulting Numbers: [82, 43]
Generated Node #0,2,1: 49:[82, 43] Operation: 48-5=43
Exploring Operation: 82+5=87, Resulting Numbers: [48, 87]
Generated Node #0,2,2: 49:[48, 87] Operation: 82+5=87
Exploring Operation: 48+5=53, Resulting Numbers: [82, 53]
Generated Node #0,2,3: 49:[82, 53] Operation: 48+5=53
Exploring Operation: 82-48=34, Resulting Numbers: [5, 34]
Generated Node #0,2,4: 49:[5, 34] Operation: 82-48=34
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 49:[5, 34], Operations: ['80/16=5', '82-48=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,49 unequal: No Solution
Exploring Operation: 5+34=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,0
Current State: 49:[48, 77], Operations: ['80/16=5', '82-5=77']
Exploring Operation: 48+77=125, Resulting Numbers: [125]
125,49 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 48*77=3696, Resulting Numbers: [3696]
3696,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,3
Current State: 49:[82, 53], Operations: ['80/16=5', '48+5=53']
Exploring Operation: 82*53=4346, Resulting Numbers: [4346]
4346,49 unequal: No Solution
Exploring Operation: 82+53=135, Resulting Numbers: [135]
135,49 unequal: No Solution
Exploring Operation: 82-53=29, Resulting Numbers: [29]
29,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:[82, 43], Operations: ['80/16=5', '48-5=43']
Exploring Operation: 82+43=125, Resulting Numbers: [125]
125,49 unequal: No Solution
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 82*43=3526, Resulting Numbers: [3526]
3526,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:[48, 87], Operations: ['80/16=5', '82+5=87']
Exploring Operation: 48+87=135, Resulting Numbers: [135]
135,49 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 48*87=4176, Resulting Numbers: [4176]
4176,49 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: 49:[80, 48, 66], Operations: ['82-16=66']
Exploring Operation: 66-48=18, Resulting Numbers: [80, 18]
Generated Node #0,0,0: 49:[80, 18] Operation: 66-48=18
Exploring Operation: 80+48=128, Resulting Numbers: [66, 128]
Generated Node #0,0,1: 49:[66, 128] Operation: 80+48=128
Exploring Operation: 48+66=114, Resulting Numbers: [80, 114]
Generated Node #0,0,2: 49:[80, 114] Operation: 48+66=114
Exploring Operation: 80-48=32, Resulting Numbers: [66, 32]
Generated Node #0,0,3: 49:[66, 32] Operation: 80-48=32
Exploring Operation: 80-66=14, Resulting Numbers: [48, 14]
Generated Node #0,0,4: 49:[48, 14] Operation: 80-66=14
Moving to Node #0,3
Current State: 49:[82, 48, 64], Operations: ['80-16=64']
Exploring Operation: 82-64=18, Resulting Numbers: [48, 18]
Generated Node #0,3,0: 49:[48, 18] Operation: 82-64=18
Exploring Operation: 82+48=130, Resulting Numbers: [64, 130]
Generated Node #0,3,1: 49:[64, 130] Operation: 82+48=130
Exploring Operation: 82-48=34, Resulting Numbers: [64, 34]
Generated Node #0,3,2: 49:[64, 34] Operation: 82-48=34
Exploring Operation: 48+64=112, Resulting Numbers: [82, 112]
Generated Node #0,3,3: 49:[82, 112] Operation: 48+64=112
Exploring Operation: 64-48=16, Resulting Numbers: [82, 16]
Generated Node #0,3,4: 49:[82, 16] Operation: 64-48=16
Moving to Node #0,1
Current State: 49:[80, 16, 34], Operations: ['82-48=34']
Exploring Operation: 80-34=46, Resulting Numbers: [16, 46]
Generated Node #0,1,0: 49:[16, 46] Operation: 80-34=46
Exploring Operation: 80/16=5, Resulting Numbers: [34, 5]
Generated Node #0,1,1: 49:[34, 5] Operation: 80/16=5
Exploring Operation: 80-16=64, Resulting Numbers: [34, 64]
Generated Node #0,1,2: 49:[34, 64] Operation: 80-16=64
Exploring Operation: 16+34=50, Resulting Numbers: [80, 50]
Generated Node #0,1,3: 49:[80, 50] Operation: 16+34=50
Exploring Operation: 34-16=18, Resulting Numbers: [80, 18]
Generated Node #0,1,4: 49:[80, 18] Operation: 34-16=18
Moving to Node #0,0,4
Current State: 49:[48, 14], Operations: ['82-16=66', '80-66=14']
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,49 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[48, 18], Operations: ['80-16=64', '82-64=18']
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Exploring Operation: 48+18=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Exploring Operation: 48*18=864, Resulting Numbers: [864]
864,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[16, 46], Operations: ['82-48=34', '80-34=46']
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[34, 5], Operations: ['82-48=34', '80/16=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,49 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[64, 34], Operations: ['80-16=64', '82-48=34']
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Exploring Operation: 64*34=2176, Resulting Numbers: [2176]
2176,49 unequal: No Solution
Exploring Operation: 64+34=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[34, 64], Operations: ['82-48=34', '80-16=64']
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Exploring Operation: 34*64=2176, Resulting Numbers: [2176]
2176,49 unequal: No Solution
Exploring Operation: 34+64=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[80, 50], Operations: ['82-48=34', '16+34=50']
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Exploring Operation: 80*50=4000, Resulting Numbers: [4000]
4000,49 unequal: No Solution
Exploring Operation: 80+50=130, Resulting Numbers: [130]
130,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[66, 32], Operations: ['82-16=66', '80-48=32']
Exploring Operation: 66*32=2112, Resulting Numbers: [2112]
2112,49 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 66+32=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Moving to Node #0,1,4
Current State: 49:[80, 18], Operations: ['82-48=34', '34-16=18']
Exploring Operation: 80*18=1440, Resulting Numbers: [1440]
1440,49 unequal: No Solution
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[80, 18], Operations: ['82-16=66', '66-48=18']
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 80*18=1440, Resulting Numbers: [1440]
1440,49 unequal: No Solution
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Moving to Node #0,3,4
Current State: 49:[82, 16], Operations: ['80-16=64', '64-48=16']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Exploring Operation: 82+16=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Exploring Operation: 82*16=1312, Resulting Numbers: [1312]
1312,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[64, 130], Operations: ['80-16=64', '82+48=130']
Exploring Operation: 130-64=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Exploring Operation: 64*130=8320, Resulting Numbers: [8320]
8320,49 unequal: No Solution
Exploring Operation: 64+130=194, Resulting Numbers: [194]
194,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[80, 114], Operations: ['82-16=66', '48+66=114']
Exploring Operation: 80*114=9120, Resulting Numbers: [9120]
9120,49 unequal: No Solution
Exploring Operation: 114-80=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 80+114=194, Resulting Numbers: [194]
194,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[82, 112], Operations: ['80-16=64', '48+64=112']
Exploring Operation: 82+112=194, Resulting Numbers: [194]
194,49 unequal: No Solution
Exploring Operation: 82*112=9184, Resulting Numbers: [9184]
9184,49 unequal: No Solution
Exploring Operation: 112-82=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[66, 128], Operations: ['82-16=66', '80+48=128']
Exploring Operation: 66*128=8448, Resulting Numbers: [8448]
8448,49 unequal: No Solution
Exploring Operation: 66+128=194, Resulting Numbers: [194]
194,49 unequal: No Solution
Exploring Operation: 128-66=62, Resulting Numbers: [62]
62,49 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
48,
60,
53,
54
] | 18 | [
"48*60=2880",
"53*54=2862",
"2880-2862=18"
] | Current State: 18:[48, 60, 53, 54], Operations: []
Exploring Operation: 48*60=2880, Resulting Numbers: [53, 54, 2880]
Generated Node #2: [53, 54, 2880] from Operation: 48*60=2880
Current State: 18:[53, 54, 2880], Operations: ['48*60=2880']
Exploring Operation: 53*54=2862, Resulting Numbers: [2880, 2862]
Generated Node #3: [2880, 2862] from Operation: 53*54=2862
Current State: 18:[2880, 2862], Operations: ['48*60=2880', '53*54=2862']
Exploring Operation: 2880-2862=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[48, 60, 53, 54], Operations: []
Exploring Operation: 54-53=1, Resulting Numbers: [48, 60, 1]
Generated Node #0,0: 18:[48, 60, 1] Operation: 54-53=1
Exploring Operation: 54-48=6, Resulting Numbers: [60, 53, 6]
Generated Node #0,1: 18:[60, 53, 6] Operation: 54-48=6
Exploring Operation: 60-48=12, Resulting Numbers: [53, 54, 12]
Generated Node #0,2: 18:[53, 54, 12] Operation: 60-48=12
Exploring Operation: 60-53=7, Resulting Numbers: [48, 54, 7]
Generated Node #0,3: 18:[48, 54, 7] Operation: 60-53=7
Exploring Operation: 60-54=6, Resulting Numbers: [48, 53, 6]
Generated Node #0,4: 18:[48, 53, 6] Operation: 60-54=6
Moving to Node #0,4
Current State: 18:[48, 53, 6], Operations: ['60-54=6']
Exploring Operation: 53-48=5, Resulting Numbers: [6, 5]
Generated Node #0,4,0: 18:[6, 5] Operation: 53-48=5
Exploring Operation: 53-6=47, Resulting Numbers: [48, 47]
Generated Node #0,4,1: 18:[48, 47] Operation: 53-6=47
Exploring Operation: 48/6=8, Resulting Numbers: [53, 8]
Generated Node #0,4,2: 18:[53, 8] Operation: 48/6=8
Exploring Operation: 48-6=42, Resulting Numbers: [53, 42]
Generated Node #0,4,3: 18:[53, 42] Operation: 48-6=42
Exploring Operation: 48+6=54, Resulting Numbers: [53, 54]
Generated Node #0,4,4: 18:[53, 54] Operation: 48+6=54
Moving to Node #0,3
Current State: 18:[48, 54, 7], Operations: ['60-53=7']
Exploring Operation: 48+7=55, Resulting Numbers: [54, 55]
Generated Node #0,3,0: 18:[54, 55] Operation: 48+7=55
Exploring Operation: 54-48=6, Resulting Numbers: [7, 6]
Generated Node #0,3,1: 18:[7, 6] Operation: 54-48=6
Exploring Operation: 54+7=61, Resulting Numbers: [48, 61]
Generated Node #0,3,2: 18:[48, 61] Operation: 54+7=61
Exploring Operation: 48-7=41, Resulting Numbers: [54, 41]
Generated Node #0,3,3: 18:[54, 41] Operation: 48-7=41
Exploring Operation: 54-7=47, Resulting Numbers: [48, 47]
Generated Node #0,3,4: 18:[48, 47] Operation: 54-7=47
Moving to Node #0,0
Current State: 18:[48, 60, 1], Operations: ['54-53=1']
Exploring Operation: 60-1=59, Resulting Numbers: [48, 59]
Generated Node #0,0,0: 18:[48, 59] Operation: 60-1=59
Exploring Operation: 48/1=48, Resulting Numbers: [60, 48]
Generated Node #0,0,1: 18:[60, 48] Operation: 48/1=48
Exploring Operation: 60-48=12, Resulting Numbers: [1, 12]
Generated Node #0,0,2: 18:[1, 12] Operation: 60-48=12
Exploring Operation: 48-1=47, Resulting Numbers: [60, 47]
Generated Node #0,0,3: 18:[60, 47] Operation: 48-1=47
Exploring Operation: 48*1=48, Resulting Numbers: [60, 48]
Generated Node #0,0,4: 18:[60, 48] Operation: 48*1=48
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[1, 12], Operations: ['54-53=1', '60-48=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[48, 59], Operations: ['54-53=1', '60-1=59']
Exploring Operation: 48*59=2832, Resulting Numbers: [2832]
2832,18 unequal: No Solution
Exploring Operation: 48+59=107, Resulting Numbers: [107]
107,18 unequal: No Solution
Exploring Operation: 59-48=11, Resulting Numbers: [11]
11,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 18:[60, 47], Operations: ['54-53=1', '48-1=47']
Exploring Operation: 60*47=2820, Resulting Numbers: [2820]
2820,18 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 60+47=107, Resulting Numbers: [107]
107,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[60, 48], Operations: ['54-53=1', '48/1=48']
Exploring Operation: 60+48=108, Resulting Numbers: [108]
108,18 unequal: No Solution
Exploring Operation: 60*48=2880, Resulting Numbers: [2880]
2880,18 unequal: No Solution
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 18:[60, 48], Operations: ['54-53=1', '48*1=48']
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 60+48=108, Resulting Numbers: [108]
108,18 unequal: No Solution
Exploring Operation: 60*48=2880, Resulting Numbers: [2880]
2880,18 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: 18:[53, 54, 12], Operations: ['60-48=12']
Exploring Operation: 53+12=65, Resulting Numbers: [54, 65]
Generated Node #0,2,0: 18:[54, 65] Operation: 53+12=65
Exploring Operation: 53-12=41, Resulting Numbers: [54, 41]
Generated Node #0,2,1: 18:[54, 41] Operation: 53-12=41
Exploring Operation: 54-12=42, Resulting Numbers: [53, 42]
Generated Node #0,2,2: 18:[53, 42] Operation: 54-12=42
Exploring Operation: 54-53=1, Resulting Numbers: [12, 1]
Generated Node #0,2,3: 18:[12, 1] Operation: 54-53=1
Exploring Operation: 54+12=66, Resulting Numbers: [53, 66]
Generated Node #0,2,4: 18:[53, 66] Operation: 54+12=66
Moving to Node #0,1
Current State: 18:[60, 53, 6], Operations: ['54-48=6']
Exploring Operation: 60-6=54, Resulting Numbers: [53, 54]
Generated Node #0,1,0: 18:[53, 54] Operation: 60-6=54
Exploring Operation: 53-6=47, Resulting Numbers: [60, 47]
Generated Node #0,1,1: 18:[60, 47] Operation: 53-6=47
Exploring Operation: 60+6=66, Resulting Numbers: [53, 66]
Generated Node #0,1,2: 18:[53, 66] Operation: 60+6=66
Exploring Operation: 60/6=10, Resulting Numbers: [53, 10]
Generated Node #0,1,3: 18:[53, 10] Operation: 60/6=10
Exploring Operation: 60-53=7, Resulting Numbers: [6, 7]
Generated Node #0,1,4: 18:[6, 7] Operation: 60-53=7
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 18:[6, 7], Operations: ['54-48=6', '60-53=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 18:[53, 10], Operations: ['54-48=6', '60/6=10']
Exploring Operation: 53*10=530, Resulting Numbers: [530]
530,18 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 53+10=63, Resulting Numbers: [63]
63,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[53, 54], Operations: ['54-48=6', '60-6=54']
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 53*54=2862, Resulting Numbers: [2862]
2862,18 unequal: No Solution
Exploring Operation: 53+54=107, Resulting Numbers: [107]
107,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[60, 47], Operations: ['54-48=6', '53-6=47']
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 60*47=2820, Resulting Numbers: [2820]
2820,18 unequal: No Solution
Exploring Operation: 60+47=107, Resulting Numbers: [107]
107,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[53, 66], Operations: ['54-48=6', '60+6=66']
Exploring Operation: 53+66=119, Resulting Numbers: [119]
119,18 unequal: No Solution
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 53*66=3498, Resulting Numbers: [3498]
3498,18 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: 18:[6, 5], Operations: ['60-54=6', '53-48=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Moving to Node #0,3,1
Current State: 18:[7, 6], Operations: ['60-53=7', '54-48=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[12, 1], Operations: ['60-48=12', '54-53=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Moving to Node #0,4,2
Current State: 18:[53, 8], Operations: ['60-54=6', '48/6=8']
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,18 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Moving to Node #0,3,3
Current State: 18:[54, 41], Operations: ['60-53=7', '48-7=41']
Exploring Operation: 54-41=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 54+41=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 54*41=2214, Resulting Numbers: [2214]
2214,18 unequal: No Solution
Moving to Node #0,4,1
Current State: 18:[48, 47], Operations: ['60-54=6', '53-6=47']
Exploring Operation: 48+47=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 48*47=2256, Resulting Numbers: [2256]
2256,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[54, 41], Operations: ['60-48=12', '53-12=41']
Exploring Operation: 54*41=2214, Resulting Numbers: [2214]
2214,18 unequal: No Solution
Exploring Operation: 54-41=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 54+41=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Moving to Node #0,4,3
Current State: 18:[53, 42], Operations: ['60-54=6', '48-6=42']
Exploring Operation: 53*42=2226, Resulting Numbers: [2226]
2226,18 unequal: No Solution
Exploring Operation: 53+42=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Moving to Node #0,3,4
Current State: 18:[48, 47], Operations: ['60-53=7', '54-7=47']
Exploring Operation: 48*47=2256, Resulting Numbers: [2256]
2256,18 unequal: No Solution
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 48+47=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[53, 42], Operations: ['60-48=12', '54-12=42']
Exploring Operation: 53+42=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 53*42=2226, Resulting Numbers: [2226]
2226,18 unequal: No Solution
Moving to Node #0,4,4
Current State: 18:[53, 54], Operations: ['60-54=6', '48+6=54']
Exploring Operation: 53*54=2862, Resulting Numbers: [2862]
2862,18 unequal: No Solution
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 53+54=107, Resulting Numbers: [107]
107,18 unequal: No Solution
Moving to Node #0,3,2
Current State: 18:[48, 61], Operations: ['60-53=7', '54+7=61']
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 48+61=109, Resulting Numbers: [109]
109,18 unequal: No Solution
Exploring Operation: 48*61=2928, Resulting Numbers: [2928]
2928,18 unequal: No Solution
Moving to Node #0,3,0
Current State: 18:[54, 55], Operations: ['60-53=7', '48+7=55']
Exploring Operation: 54+55=109, Resulting Numbers: [109]
109,18 unequal: No Solution
Exploring Operation: 54*55=2970, Resulting Numbers: [2970]
2970,18 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Moving to Node #0,2,4
Current State: 18:[53, 66], Operations: ['60-48=12', '54+12=66']
Exploring Operation: 53+66=119, Resulting Numbers: [119]
119,18 unequal: No Solution
Exploring Operation: 53*66=3498, Resulting Numbers: [3498]
3498,18 unequal: No Solution
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[54, 65], Operations: ['60-48=12', '53+12=65']
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 54+65=119, Resulting Numbers: [119]
119,18 unequal: No Solution
Exploring Operation: 54*65=3510, Resulting Numbers: [3510]
3510,18 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
25,
13,
26,
60
] | 21 | [
"25-13=12",
"60/12=5",
"26-5=21"
] | Current State: 21:[25, 13, 26, 60], Operations: []
Exploring Operation: 25-13=12, Resulting Numbers: [26, 60, 12]
Generated Node #2: [26, 60, 12] from Operation: 25-13=12
Current State: 21:[26, 60, 12], Operations: ['25-13=12']
Exploring Operation: 60/12=5, Resulting Numbers: [26, 5]
Generated Node #3: [26, 5] from Operation: 60/12=5
Current State: 21:[26, 5], Operations: ['25-13=12', '60/12=5']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[25, 13, 26, 60], Operations: []
Exploring Operation: 60-26=34, Resulting Numbers: [25, 13, 34]
Generated Node #0,0: 21:[25, 13, 34] Operation: 60-26=34
Exploring Operation: 60-25=35, Resulting Numbers: [13, 26, 35]
Generated Node #0,1: 21:[13, 26, 35] Operation: 60-25=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[25, 13, 34], Operations: ['60-26=34']
Exploring Operation: 34-25=9, Resulting Numbers: [13, 9]
Generated Node #0,0,0: 21:[13, 9] Operation: 34-25=9
Exploring Operation: 34-13=21, Resulting Numbers: [25, 21]
Generated Node #0,0,1: 21:[25, 21] Operation: 34-13=21
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[25, 21], Operations: ['60-26=34', '34-13=21']
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[13, 9], Operations: ['60-26=34', '34-25=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,21 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: 21:[13, 26, 35], Operations: ['60-25=35']
Exploring Operation: 35-13=22, Resulting Numbers: [26, 22]
Generated Node #0,1,0: 21:[26, 22] Operation: 35-13=22
Exploring Operation: 35-26=9, Resulting Numbers: [13, 9]
Generated Node #0,1,1: 21:[13, 9] Operation: 35-26=9
Moving to Node #0,1,0
Current State: 21:[26, 22], Operations: ['60-25=35', '35-13=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[13, 9], Operations: ['60-25=35', '35-26=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,21 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 |
[
86,
39,
59,
99
] | 86 | [
"39+59=98",
"99-98=1",
"86*1=86"
] | Current State: 86:[86, 39, 59, 99], Operations: []
Exploring Operation: 39+59=98, Resulting Numbers: [86, 99, 98]
Generated Node #2: [86, 99, 98] from Operation: 39+59=98
Current State: 86:[86, 99, 98], Operations: ['39+59=98']
Exploring Operation: 99-98=1, Resulting Numbers: [86, 1]
Generated Node #3: [86, 1] from Operation: 99-98=1
Current State: 86:[86, 1], Operations: ['39+59=98', '99-98=1']
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[86, 39, 59, 99], Operations: []
Exploring Operation: 99-59=40, Resulting Numbers: [86, 39, 40]
Generated Node #0,0: 86:[86, 39, 40] Operation: 99-59=40
Exploring Operation: 59-39=20, Resulting Numbers: [86, 99, 20]
Generated Node #0,1: 86:[86, 99, 20] Operation: 59-39=20
Exploring Operation: 39+59=98, Resulting Numbers: [86, 99, 98]
Generated Node #0,2: 86:[86, 99, 98] Operation: 39+59=98
Exploring Operation: 99-86=13, Resulting Numbers: [39, 59, 13]
Generated Node #0,3: 86:[39, 59, 13] Operation: 99-86=13
Exploring Operation: 86-39=47, Resulting Numbers: [59, 99, 47]
Generated Node #0,4: 86:[59, 99, 47] Operation: 86-39=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[86, 39, 40], Operations: ['99-59=40']
Exploring Operation: 40-39=1, Resulting Numbers: [86, 1]
Generated Node #0,0,0: 86:[86, 1] Operation: 40-39=1
Exploring Operation: 86-39=47, Resulting Numbers: [40, 47]
Generated Node #0,0,1: 86:[40, 47] Operation: 86-39=47
Exploring Operation: 86-40=46, Resulting Numbers: [39, 46]
Generated Node #0,0,2: 86:[39, 46] Operation: 86-40=46
Exploring Operation: 39+40=79, Resulting Numbers: [86, 79]
Generated Node #0,0,3: 86:[86, 79] Operation: 39+40=79
Exploring Operation: 86+39=125, Resulting Numbers: [40, 125]
Generated Node #0,0,4: 86:[40, 125] Operation: 86+39=125
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[86, 1], Operations: ['99-59=40', '40-39=1']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[86, 39, 59, 99], Operations: []
Exploring Operation: 99-59=40, Resulting Numbers: [86, 39, 40]
Generated Node #0,0: 86:[86, 39, 40] Operation: 99-59=40
Moving to Node #0,0
Current State: 86:[86, 39, 40], Operations: ['99-59=40']
Exploring Operation: 40-39=1, Resulting Numbers: [86, 1]
Generated Node #0,0,0: 86:[86, 1] Operation: 40-39=1
Moving to Node #0,0,0
Current State: 86:[86, 1], Operations: ['99-59=40', '40-39=1']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
50,
19,
41,
17
] | 18 | [
"50-41=9",
"19-17=2",
"9*2=18"
] | Current State: 18:[50, 19, 41, 17], Operations: []
Exploring Operation: 50-41=9, Resulting Numbers: [19, 17, 9]
Generated Node #2: [19, 17, 9] from Operation: 50-41=9
Current State: 18:[19, 17, 9], Operations: ['50-41=9']
Exploring Operation: 19-17=2, Resulting Numbers: [9, 2]
Generated Node #3: [9, 2] from Operation: 19-17=2
Current State: 18:[9, 2], Operations: ['50-41=9', '19-17=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[50, 19, 41, 17], Operations: []
Exploring Operation: 50-41=9, Resulting Numbers: [19, 17, 9]
Generated Node #0,0: 18:[19, 17, 9] Operation: 50-41=9
Exploring Operation: 50-19=31, Resulting Numbers: [41, 17, 31]
Generated Node #0,1: 18:[41, 17, 31] Operation: 50-19=31
Exploring Operation: 41-19=22, Resulting Numbers: [50, 17, 22]
Generated Node #0,2: 18:[50, 17, 22] Operation: 41-19=22
Exploring Operation: 41-17=24, Resulting Numbers: [50, 19, 24]
Generated Node #0,3: 18:[50, 19, 24] Operation: 41-17=24
Exploring Operation: 50-17=33, Resulting Numbers: [19, 41, 33]
Generated Node #0,4: 18:[19, 41, 33] Operation: 50-17=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[19, 17, 9], Operations: ['50-41=9']
Exploring Operation: 19-9=10, Resulting Numbers: [17, 10]
Generated Node #0,0,0: 18:[17, 10] Operation: 19-9=10
Exploring Operation: 17+9=26, Resulting Numbers: [19, 26]
Generated Node #0,0,1: 18:[19, 26] Operation: 17+9=26
Exploring Operation: 19-17=2, Resulting Numbers: [9, 2]
Generated Node #0,0,2: 18:[9, 2] Operation: 19-17=2
Exploring Operation: 19+9=28, Resulting Numbers: [17, 28]
Generated Node #0,0,3: 18:[17, 28] Operation: 19+9=28
Exploring Operation: 17-9=8, Resulting Numbers: [19, 8]
Generated Node #0,0,4: 18:[19, 8] Operation: 17-9=8
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 18:[9, 2], Operations: ['50-41=9', '19-17=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[50, 19, 41, 17], Operations: []
Exploring Operation: 50-41=9, Resulting Numbers: [19, 17, 9]
Generated Node #0,0: 18:[19, 17, 9] Operation: 50-41=9
Moving to Node #0,0
Current State: 18:[19, 17, 9], Operations: ['50-41=9']
Exploring Operation: 19-17=2, Resulting Numbers: [9, 2]
Generated Node #0,0,2: 18:[9, 2] Operation: 19-17=2
Moving to Node #0,0,2
Current State: 18:[9, 2], Operations: ['50-41=9', '19-17=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
17,
45,
51,
90
] | 48 | [
"51/17=3",
"90-45=45",
"3+45=48"
] | Current State: 48:[17, 45, 51, 90], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [45, 90, 3]
Generated Node #2: [45, 90, 3] from Operation: 51/17=3
Current State: 48:[45, 90, 3], Operations: ['51/17=3']
Exploring Operation: 90-45=45, Resulting Numbers: [3, 45]
Generated Node #3: [3, 45] from Operation: 90-45=45
Current State: 48:[3, 45], Operations: ['51/17=3', '90-45=45']
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[17, 45, 51, 90], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [17, 51, 2]
Generated Node #0,0: 48:[17, 51, 2] Operation: 90/45=2
Moving to Node #0,0
Current State: 48:[17, 51, 2], Operations: ['90/45=2']
Exploring Operation: 51/17=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 48:[2, 3] Operation: 51/17=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[2, 3], Operations: ['90/45=2', '51/17=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,48 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 |
[
98,
37,
49,
73
] | 55 | [
"98/49=2",
"37+73=110",
"110/2=55"
] | Current State: 55:[98, 37, 49, 73], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [37, 73, 2]
Generated Node #2: [37, 73, 2] from Operation: 98/49=2
Current State: 55:[37, 73, 2], Operations: ['98/49=2']
Exploring Operation: 37+73=110, Resulting Numbers: [2, 110]
Generated Node #3: [2, 110] from Operation: 37+73=110
Current State: 55:[2, 110], Operations: ['98/49=2', '37+73=110']
Exploring Operation: 110/2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[98, 37, 49, 73], Operations: []
Exploring Operation: 98-37=61, Resulting Numbers: [49, 73, 61]
Generated Node #0,0: 55:[49, 73, 61] Operation: 98-37=61
Moving to Node #0,0
Current State: 55:[49, 73, 61], Operations: ['98-37=61']
Exploring Operation: 73-61=12, Resulting Numbers: [49, 12]
Generated Node #0,0,0: 55:[49, 12] Operation: 73-61=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[49, 12], Operations: ['98-37=61', '73-61=12']
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
28,
42,
21,
51
] | 68 | [
"28*51=1428",
"42-21=21",
"1428/21=68"
] | Current State: 68:[28, 42, 21, 51], Operations: []
Exploring Operation: 28*51=1428, Resulting Numbers: [42, 21, 1428]
Generated Node #2: [42, 21, 1428] from Operation: 28*51=1428
Current State: 68:[42, 21, 1428], Operations: ['28*51=1428']
Exploring Operation: 42-21=21, Resulting Numbers: [1428, 21]
Generated Node #3: [1428, 21] from Operation: 42-21=21
Current State: 68:[1428, 21], Operations: ['28*51=1428', '42-21=21']
Exploring Operation: 1428/21=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[28, 42, 21, 51], Operations: []
Exploring Operation: 51-28=23, Resulting Numbers: [42, 21, 23]
Generated Node #0,0: 68:[42, 21, 23] Operation: 51-28=23
Exploring Operation: 51-42=9, Resulting Numbers: [28, 21, 9]
Generated Node #0,1: 68:[28, 21, 9] Operation: 51-42=9
Exploring Operation: 21+51=72, Resulting Numbers: [28, 42, 72]
Generated Node #0,2: 68:[28, 42, 72] Operation: 21+51=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[28, 21, 9], Operations: ['51-42=9']
Exploring Operation: 28-9=19, Resulting Numbers: [21, 19]
Generated Node #0,1,0: 68:[21, 19] Operation: 28-9=19
Exploring Operation: 28+9=37, Resulting Numbers: [21, 37]
Generated Node #0,1,1: 68:[21, 37] Operation: 28+9=37
Exploring Operation: 28-21=7, Resulting Numbers: [9, 7]
Generated Node #0,1,2: 68:[9, 7] Operation: 28-21=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[21, 19], Operations: ['51-42=9', '28-9=19']
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,68 unequal: No Solution
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,68 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[21, 37], Operations: ['51-42=9', '28+9=37']
Exploring Operation: 21*37=777, Resulting Numbers: [777]
777,68 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 68:[9, 7], Operations: ['51-42=9', '28-21=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[42, 21, 23], Operations: ['51-28=23']
Exploring Operation: 42+23=65, Resulting Numbers: [21, 65]
Generated Node #0,0,0: 68:[21, 65] Operation: 42+23=65
Exploring Operation: 42-23=19, Resulting Numbers: [21, 19]
Generated Node #0,0,1: 68:[21, 19] Operation: 42-23=19
Exploring Operation: 42/21=2, Resulting Numbers: [23, 2]
Generated Node #0,0,2: 68:[23, 2] Operation: 42/21=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[21, 19], Operations: ['51-28=23', '42-23=19']
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,68 unequal: No Solution
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[23, 2], Operations: ['51-28=23', '42/21=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,68 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[21, 65], Operations: ['51-28=23', '42+23=65']
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,68 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,68 unequal: No Solution
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[28, 42, 72], Operations: ['21+51=72']
Exploring Operation: 42-28=14, Resulting Numbers: [72, 14]
Generated Node #0,2,0: 68:[72, 14] Operation: 42-28=14
Exploring Operation: 72-42=30, Resulting Numbers: [28, 30]
Generated Node #0,2,1: 68:[28, 30] Operation: 72-42=30
Exploring Operation: 28+42=70, Resulting Numbers: [72, 70]
Generated Node #0,2,2: 68:[72, 70] Operation: 28+42=70
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 68:[72, 70], Operations: ['21+51=72', '28+42=70']
Exploring Operation: 72+70=142, Resulting Numbers: [142]
142,68 unequal: No Solution
Exploring Operation: 72*70=5040, Resulting Numbers: [5040]
5040,68 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 68:[72, 14], Operations: ['21+51=72', '42-28=14']
Exploring Operation: 72*14=1008, Resulting Numbers: [1008]
1008,68 unequal: No Solution
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,68 unequal: No Solution
Exploring Operation: 72+14=86, Resulting Numbers: [86]
86,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 68:[28, 30], Operations: ['21+51=72', '72-42=30']
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,68 unequal: No Solution
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,68 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
32,
31,
33,
92
] | 29 | [
"32+92=124",
"124/31=4",
"33-4=29"
] | Current State: 29:[32, 31, 33, 92], Operations: []
Exploring Operation: 32+92=124, Resulting Numbers: [31, 33, 124]
Generated Node #2: [31, 33, 124] from Operation: 32+92=124
Current State: 29:[31, 33, 124], Operations: ['32+92=124']
Exploring Operation: 124/31=4, Resulting Numbers: [33, 4]
Generated Node #3: [33, 4] from Operation: 124/31=4
Current State: 29:[33, 4], Operations: ['32+92=124', '124/31=4']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[32, 31, 33, 92], Operations: []
Exploring Operation: 92-31=61, Resulting Numbers: [32, 33, 61]
Generated Node #0,0: 29:[32, 33, 61] Operation: 92-31=61
Exploring Operation: 33-32=1, Resulting Numbers: [31, 92, 1]
Generated Node #0,1: 29:[31, 92, 1] Operation: 33-32=1
Exploring Operation: 92-32=60, Resulting Numbers: [31, 33, 60]
Generated Node #0,2: 29:[31, 33, 60] Operation: 92-32=60
Exploring Operation: 33-31=2, Resulting Numbers: [32, 92, 2]
Generated Node #0,3: 29:[32, 92, 2] Operation: 33-31=2
Exploring Operation: 92-33=59, Resulting Numbers: [32, 31, 59]
Generated Node #0,4: 29:[32, 31, 59] Operation: 92-33=59
Moving to Node #0,4
Current State: 29:[32, 31, 59], Operations: ['92-33=59']
Exploring Operation: 32+31=63, Resulting Numbers: [59, 63]
Generated Node #0,4,0: 29:[59, 63] Operation: 32+31=63
Exploring Operation: 32+59=91, Resulting Numbers: [31, 91]
Generated Node #0,4,1: 29:[31, 91] Operation: 32+59=91
Exploring Operation: 59-31=28, Resulting Numbers: [32, 28]
Generated Node #0,4,2: 29:[32, 28] Operation: 59-31=28
Exploring Operation: 59-32=27, Resulting Numbers: [31, 27]
Generated Node #0,4,3: 29:[31, 27] Operation: 59-32=27
Exploring Operation: 32-31=1, Resulting Numbers: [59, 1]
Generated Node #0,4,4: 29:[59, 1] Operation: 32-31=1
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 29:[32, 28], Operations: ['92-33=59', '59-31=28']
Exploring Operation: 32*28=896, Resulting Numbers: [896]
896,29 unequal: No Solution
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 29:[31, 27], Operations: ['92-33=59', '59-32=27']
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,29 unequal: No Solution
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 29:[59, 1], Operations: ['92-33=59', '32-31=1']
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 29:[59, 63], Operations: ['92-33=59', '32+31=63']
Exploring Operation: 59+63=122, Resulting Numbers: [122]
122,29 unequal: No Solution
Exploring Operation: 59*63=3717, Resulting Numbers: [3717]
3717,29 unequal: No Solution
Exploring Operation: 63-59=4, Resulting Numbers: [4]
4,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 29:[31, 91], Operations: ['92-33=59', '32+59=91']
Exploring Operation: 31+91=122, Resulting Numbers: [122]
122,29 unequal: No Solution
Exploring Operation: 31*91=2821, Resulting Numbers: [2821]
2821,29 unequal: No Solution
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,29 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: 29:[31, 33, 60], Operations: ['92-32=60']
Exploring Operation: 31+60=91, Resulting Numbers: [33, 91]
Generated Node #0,2,0: 29:[33, 91] Operation: 31+60=91
Exploring Operation: 31+33=64, Resulting Numbers: [60, 64]
Generated Node #0,2,1: 29:[60, 64] Operation: 31+33=64
Exploring Operation: 60-33=27, Resulting Numbers: [31, 27]
Generated Node #0,2,2: 29:[31, 27] Operation: 60-33=27
Exploring Operation: 33-31=2, Resulting Numbers: [60, 2]
Generated Node #0,2,3: 29:[60, 2] Operation: 33-31=2
Exploring Operation: 60-31=29, Resulting Numbers: [33, 29]
Generated Node #0,2,4: 29:[33, 29] Operation: 60-31=29
Moving to Node #0,0
Current State: 29:[32, 33, 61], Operations: ['92-31=61']
Exploring Operation: 32+33=65, Resulting Numbers: [61, 65]
Generated Node #0,0,0: 29:[61, 65] Operation: 32+33=65
Exploring Operation: 33-32=1, Resulting Numbers: [61, 1]
Generated Node #0,0,1: 29:[61, 1] Operation: 33-32=1
Exploring Operation: 61-32=29, Resulting Numbers: [33, 29]
Generated Node #0,0,2: 29:[33, 29] Operation: 61-32=29
Exploring Operation: 61-33=28, Resulting Numbers: [32, 28]
Generated Node #0,0,3: 29:[32, 28] Operation: 61-33=28
Exploring Operation: 32+61=93, Resulting Numbers: [33, 93]
Generated Node #0,0,4: 29:[33, 93] Operation: 32+61=93
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[33, 29], Operations: ['92-31=61', '61-32=29']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 29:[32, 28], Operations: ['92-31=61', '61-33=28']
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 32*28=896, Resulting Numbers: [896]
896,29 unequal: No Solution
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[61, 1], Operations: ['92-31=61', '33-32=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[61, 65], Operations: ['92-31=61', '32+33=65']
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 61+65=126, Resulting Numbers: [126]
126,29 unequal: No Solution
Exploring Operation: 61*65=3965, Resulting Numbers: [3965]
3965,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 29:[33, 93], Operations: ['92-31=61', '32+61=93']
Exploring Operation: 33+93=126, Resulting Numbers: [126]
126,29 unequal: No Solution
Exploring Operation: 33*93=3069, Resulting Numbers: [3069]
3069,29 unequal: No Solution
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 29:[31, 92, 1], Operations: ['33-32=1']
Exploring Operation: 31-1=30, Resulting Numbers: [92, 30]
Generated Node #0,1,0: 29:[92, 30] Operation: 31-1=30
Exploring Operation: 92-31=61, Resulting Numbers: [1, 61]
Generated Node #0,1,1: 29:[1, 61] Operation: 92-31=61
Exploring Operation: 92-1=91, Resulting Numbers: [31, 91]
Generated Node #0,1,2: 29:[31, 91] Operation: 92-1=91
Exploring Operation: 31/1=31, Resulting Numbers: [92, 31]
Generated Node #0,1,3: 29:[92, 31] Operation: 31/1=31
Exploring Operation: 31*1=31, Resulting Numbers: [92, 31]
Generated Node #0,1,4: 29:[92, 31] Operation: 31*1=31
Moving to Node #0,3
Current State: 29:[32, 92, 2], Operations: ['33-31=2']
Exploring Operation: 92/2=46, Resulting Numbers: [32, 46]
Generated Node #0,3,0: 29:[32, 46] Operation: 92/2=46
Exploring Operation: 92-2=90, Resulting Numbers: [32, 90]
Generated Node #0,3,1: 29:[32, 90] Operation: 92-2=90
Exploring Operation: 32-2=30, Resulting Numbers: [92, 30]
Generated Node #0,3,2: 29:[92, 30] Operation: 32-2=30
Exploring Operation: 92-32=60, Resulting Numbers: [2, 60]
Generated Node #0,3,3: 29:[2, 60] Operation: 92-32=60
Exploring Operation: 32+2=34, Resulting Numbers: [92, 34]
Generated Node #0,3,4: 29:[92, 34] Operation: 32+2=34
Moving to Node #0,2,2
Current State: 29:[31, 27], Operations: ['92-32=60', '60-33=27']
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,29 unequal: No Solution
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,29 unequal: No Solution
Moving to Node #0,2,4
Current State: 29:[33, 29], Operations: ['92-32=60', '60-31=29']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,29 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[32, 46], Operations: ['33-31=2', '92/2=46']
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Exploring Operation: 32*46=1472, Resulting Numbers: [1472]
1472,29 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[60, 2], Operations: ['92-32=60', '33-31=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,29 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[2, 60], Operations: ['33-31=2', '92-32=60']
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,29 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[1, 61], Operations: ['33-32=1', '92-31=61']
Exploring Operation: 1*61=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 1+61=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[92, 30], Operations: ['33-32=1', '31-1=30']
Exploring Operation: 92+30=122, Resulting Numbers: [122]
122,29 unequal: No Solution
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Exploring Operation: 92*30=2760, Resulting Numbers: [2760]
2760,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[32, 90], Operations: ['33-31=2', '92-2=90']
Exploring Operation: 90-32=58, Resulting Numbers: [58]
58,29 unequal: No Solution
Exploring Operation: 32+90=122, Resulting Numbers: [122]
122,29 unequal: No Solution
Exploring Operation: 32*90=2880, Resulting Numbers: [2880]
2880,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[31, 91], Operations: ['33-32=1', '92-1=91']
Exploring Operation: 31*91=2821, Resulting Numbers: [2821]
2821,29 unequal: No Solution
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 31+91=122, Resulting Numbers: [122]
122,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[92, 30], Operations: ['33-31=2', '32-2=30']
Exploring Operation: 92*30=2760, Resulting Numbers: [2760]
2760,29 unequal: No Solution
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Exploring Operation: 92+30=122, Resulting Numbers: [122]
122,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[92, 31], Operations: ['33-32=1', '31/1=31']
Exploring Operation: 92+31=123, Resulting Numbers: [123]
123,29 unequal: No Solution
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 92*31=2852, Resulting Numbers: [2852]
2852,29 unequal: No Solution
Moving to Node #0,1,4
Current State: 29:[92, 31], Operations: ['33-32=1', '31*1=31']
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 92*31=2852, Resulting Numbers: [2852]
2852,29 unequal: No Solution
Exploring Operation: 92+31=123, Resulting Numbers: [123]
123,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[60, 64], Operations: ['92-32=60', '31+33=64']
Exploring Operation: 60+64=124, Resulting Numbers: [124]
124,29 unequal: No Solution
Exploring Operation: 60*64=3840, Resulting Numbers: [3840]
3840,29 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[33, 91], Operations: ['92-32=60', '31+60=91']
Exploring Operation: 91-33=58, Resulting Numbers: [58]
58,29 unequal: No Solution
Exploring Operation: 33+91=124, Resulting Numbers: [124]
124,29 unequal: No Solution
Exploring Operation: 33*91=3003, Resulting Numbers: [3003]
3003,29 unequal: No Solution
Moving to Node #0,3,4
Current State: 29:[92, 34], Operations: ['33-31=2', '32+2=34']
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,29 unequal: No Solution
Exploring Operation: 92+34=126, Resulting Numbers: [126]
126,29 unequal: No Solution
Exploring Operation: 92*34=3128, Resulting Numbers: [3128]
3128,29 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
92,
80,
4,
17
] | 25 | [
"92-80=12",
"17-4=13",
"12+13=25"
] | Current State: 25:[92, 80, 4, 17], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [4, 17, 12]
Generated Node #2: [4, 17, 12] from Operation: 92-80=12
Current State: 25:[4, 17, 12], Operations: ['92-80=12']
Exploring Operation: 17-4=13, Resulting Numbers: [12, 13]
Generated Node #3: [12, 13] from Operation: 17-4=13
Current State: 25:[12, 13], Operations: ['92-80=12', '17-4=13']
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[92, 80, 4, 17], Operations: []
Exploring Operation: 92-17=75, Resulting Numbers: [80, 4, 75]
Generated Node #0,0: 25:[80, 4, 75] Operation: 92-17=75
Exploring Operation: 92/4=23, Resulting Numbers: [80, 17, 23]
Generated Node #0,1: 25:[80, 17, 23] Operation: 92/4=23
Exploring Operation: 80/4=20, Resulting Numbers: [92, 17, 20]
Generated Node #0,2: 25:[92, 17, 20] Operation: 80/4=20
Exploring Operation: 92-80=12, Resulting Numbers: [4, 17, 12]
Generated Node #0,3: 25:[4, 17, 12] Operation: 92-80=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[4, 17, 12], Operations: ['92-80=12']
Exploring Operation: 12/4=3, Resulting Numbers: [17, 3]
Generated Node #0,3,0: 25:[17, 3] Operation: 12/4=3
Exploring Operation: 4+17=21, Resulting Numbers: [12, 21]
Generated Node #0,3,1: 25:[12, 21] Operation: 4+17=21
Exploring Operation: 17+12=29, Resulting Numbers: [4, 29]
Generated Node #0,3,2: 25:[4, 29] Operation: 17+12=29
Exploring Operation: 17-12=5, Resulting Numbers: [4, 5]
Generated Node #0,3,3: 25:[4, 5] Operation: 17-12=5
Moving to Node #0,3,3
Current State: 25:[4, 5], Operations: ['92-80=12', '17-12=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[4, 29], Operations: ['92-80=12', '17+12=29']
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,25 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[92, 80, 4, 17], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [4, 17, 12]
Generated Node #0,3: 25:[4, 17, 12] Operation: 92-80=12
Moving to Node #0,3
Current State: 25:[4, 17, 12], Operations: ['92-80=12']
Exploring Operation: 17+12=29, Resulting Numbers: [4, 29]
Generated Node #0,3,2: 25:[4, 29] Operation: 17+12=29
Moving to Node #0,3,2
Current State: 25:[4, 29], Operations: ['92-80=12', '17+12=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
10,
84,
46,
77
] | 49 | [
"84-10=74",
"46+77=123",
"123-74=49"
] | Current State: 49:[10, 84, 46, 77], Operations: []
Exploring Operation: 84-10=74, Resulting Numbers: [46, 77, 74]
Generated Node #2: [46, 77, 74] from Operation: 84-10=74
Current State: 49:[46, 77, 74], Operations: ['84-10=74']
Exploring Operation: 46+77=123, Resulting Numbers: [74, 123]
Generated Node #3: [74, 123] from Operation: 46+77=123
Current State: 49:[74, 123], Operations: ['84-10=74', '46+77=123']
Exploring Operation: 123-74=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[10, 84, 46, 77], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [10, 46, 7]
Generated Node #0,0: 49:[10, 46, 7] Operation: 84-77=7
Exploring Operation: 84-46=38, Resulting Numbers: [10, 77, 38]
Generated Node #0,1: 49:[10, 77, 38] Operation: 84-46=38
Exploring Operation: 84-10=74, Resulting Numbers: [46, 77, 74]
Generated Node #0,2: 49:[46, 77, 74] Operation: 84-10=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[10, 46, 7], Operations: ['84-77=7']
Exploring Operation: 10-7=3, Resulting Numbers: [46, 3]
Generated Node #0,0,0: 49:[46, 3] Operation: 10-7=3
Exploring Operation: 10+46=56, Resulting Numbers: [7, 56]
Generated Node #0,0,1: 49:[7, 56] Operation: 10+46=56
Exploring Operation: 46+7=53, Resulting Numbers: [10, 53]
Generated Node #0,0,2: 49:[10, 53] Operation: 46+7=53
Moving to Node #0,0,0
Current State: 49:[46, 3], Operations: ['84-77=7', '10-7=3']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[10, 84, 46, 77], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [10, 46, 7]
Generated Node #0,0: 49:[10, 46, 7] Operation: 84-77=7
Moving to Node #0,0
Current State: 49:[10, 46, 7], Operations: ['84-77=7']
Exploring Operation: 10-7=3, Resulting Numbers: [46, 3]
Generated Node #0,0,0: 49:[46, 3] Operation: 10-7=3
Moving to Node #0,0,0
Current State: 49:[46, 3], Operations: ['84-77=7', '10-7=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
96,
92,
52,
4
] | 51 | [
"96-92=4",
"4/4=1",
"52-1=51"
] | Current State: 51:[96, 92, 52, 4], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [52, 4, 4]
Generated Node #2: [52, 4, 4] from Operation: 96-92=4
Current State: 51:[52, 4, 4], Operations: ['96-92=4']
Exploring Operation: 4/4=1, Resulting Numbers: [52, 1]
Generated Node #3: [52, 1] from Operation: 4/4=1
Current State: 51:[52, 1], Operations: ['96-92=4', '4/4=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[96, 92, 52, 4], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [52, 4, 4]
Generated Node #0,0: 51:[52, 4, 4] Operation: 96-92=4
Exploring Operation: 96-52=44, Resulting Numbers: [92, 4, 44]
Generated Node #0,1: 51:[92, 4, 44] Operation: 96-52=44
Exploring Operation: 96/4=24, Resulting Numbers: [92, 52, 24]
Generated Node #0,2: 51:[92, 52, 24] Operation: 96/4=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[52, 4, 4], Operations: ['96-92=4']
Exploring Operation: 4*4=16, Resulting Numbers: [52, 16]
Generated Node #0,0,0: 51:[52, 16] Operation: 4*4=16
Exploring Operation: 4/4=1, Resulting Numbers: [52, 1]
Generated Node #0,0,1: 51:[52, 1] Operation: 4/4=1
Exploring Operation: 52-4=48, Resulting Numbers: [4, 48]
Generated Node #0,0,2: 51:[4, 48] Operation: 52-4=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[52, 16], Operations: ['96-92=4', '4*4=16']
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,51 unequal: No Solution
Exploring Operation: 52*16=832, Resulting Numbers: [832]
832,51 unequal: No Solution
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[52, 1], Operations: ['96-92=4', '4/4=1']
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[96, 92, 52, 4], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [52, 4, 4]
Generated Node #0,0: 51:[52, 4, 4] Operation: 96-92=4
Moving to Node #0,0
Current State: 51:[52, 4, 4], Operations: ['96-92=4']
Exploring Operation: 4/4=1, Resulting Numbers: [52, 1]
Generated Node #0,0,1: 51:[52, 1] Operation: 4/4=1
Moving to Node #0,0,1
Current State: 51:[52, 1], Operations: ['96-92=4', '4/4=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
85,
66,
88,
4
] | 91 | [
"85+88=173",
"66*4=264",
"264-173=91"
] | Current State: 91:[85, 66, 88, 4], Operations: []
Exploring Operation: 85+88=173, Resulting Numbers: [66, 4, 173]
Generated Node #2: [66, 4, 173] from Operation: 85+88=173
Current State: 91:[66, 4, 173], Operations: ['85+88=173']
Exploring Operation: 66*4=264, Resulting Numbers: [173, 264]
Generated Node #3: [173, 264] from Operation: 66*4=264
Current State: 91:[173, 264], Operations: ['85+88=173', '66*4=264']
Exploring Operation: 264-173=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[85, 66, 88, 4], Operations: []
Exploring Operation: 85-66=19, Resulting Numbers: [88, 4, 19]
Generated Node #0,0: 91:[88, 4, 19] Operation: 85-66=19
Exploring Operation: 88-66=22, Resulting Numbers: [85, 4, 22]
Generated Node #0,1: 91:[85, 4, 22] Operation: 88-66=22
Exploring Operation: 85+4=89, Resulting Numbers: [66, 88, 89]
Generated Node #0,2: 91:[66, 88, 89] Operation: 85+4=89
Moving to Node #0,0
Current State: 91:[88, 4, 19], Operations: ['85-66=19']
Exploring Operation: 19-4=15, Resulting Numbers: [88, 15]
Generated Node #0,0,0: 91:[88, 15] Operation: 19-4=15
Exploring Operation: 88-4=84, Resulting Numbers: [19, 84]
Generated Node #0,0,1: 91:[19, 84] Operation: 88-4=84
Exploring Operation: 88+4=92, Resulting Numbers: [19, 92]
Generated Node #0,0,2: 91:[19, 92] Operation: 88+4=92
Moving to Node #0,1
Current State: 91:[85, 4, 22], Operations: ['88-66=22']
Exploring Operation: 85+4=89, Resulting Numbers: [22, 89]
Generated Node #0,1,0: 91:[22, 89] Operation: 85+4=89
Exploring Operation: 4*22=88, Resulting Numbers: [85, 88]
Generated Node #0,1,1: 91:[85, 88] Operation: 4*22=88
Exploring Operation: 22-4=18, Resulting Numbers: [85, 18]
Generated Node #0,1,2: 91:[85, 18] Operation: 22-4=18
Moving to Node #0,2
Current State: 91:[66, 88, 89], Operations: ['85+4=89']
Exploring Operation: 89-66=23, Resulting Numbers: [88, 23]
Generated Node #0,2,0: 91:[88, 23] Operation: 89-66=23
Exploring Operation: 89-88=1, Resulting Numbers: [66, 1]
Generated Node #0,2,1: 91:[66, 1] Operation: 89-88=1
Exploring Operation: 88-66=22, Resulting Numbers: [89, 22]
Generated Node #0,2,2: 91:[89, 22] Operation: 88-66=22
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[89, 22], Operations: ['85+4=89', '88-66=22']
Exploring Operation: 89+22=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Exploring Operation: 89*22=1958, Resulting Numbers: [1958]
1958,91 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,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,2,0
Current State: 91:[88, 23], Operations: ['85+4=89', '89-66=23']
Exploring Operation: 88*23=2024, Resulting Numbers: [2024]
2024,91 unequal: No Solution
Exploring Operation: 88+23=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Exploring Operation: 88-23=65, Resulting Numbers: [65]
65,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,2,1
Current State: 91:[66, 1], Operations: ['85+4=89', '89-88=1']
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,91 unequal: No Solution
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,91 unequal: No Solution
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,91 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: 91:[88, 15], Operations: ['85-66=19', '19-4=15']
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 88*15=1320, Resulting Numbers: [1320]
1320,91 unequal: No Solution
Exploring Operation: 88+15=103, Resulting Numbers: [103]
103,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[19, 92], Operations: ['85-66=19', '88+4=92']
Exploring Operation: 19*92=1748, Resulting Numbers: [1748]
1748,91 unequal: No Solution
Exploring Operation: 92-19=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 19+92=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[85, 88], Operations: ['88-66=22', '4*22=88']
Exploring Operation: 88-85=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 85*88=7480, Resulting Numbers: [7480]
7480,91 unequal: No Solution
Exploring Operation: 85+88=173, Resulting Numbers: [173]
173,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[85, 18], Operations: ['88-66=22', '22-4=18']
Exploring Operation: 85*18=1530, Resulting Numbers: [1530]
1530,91 unequal: No Solution
Exploring Operation: 85+18=103, Resulting Numbers: [103]
103,91 unequal: No Solution
Exploring Operation: 85-18=67, Resulting Numbers: [67]
67,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[22, 89], Operations: ['88-66=22', '85+4=89']
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,91 unequal: No Solution
Exploring Operation: 22*89=1958, Resulting Numbers: [1958]
1958,91 unequal: No Solution
Exploring Operation: 22+89=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[19, 84], Operations: ['85-66=19', '88-4=84']
Exploring Operation: 19*84=1596, Resulting Numbers: [1596]
1596,91 unequal: No Solution
Exploring Operation: 19+84=103, Resulting Numbers: [103]
103,91 unequal: No Solution
Exploring Operation: 84-19=65, Resulting Numbers: [65]
65,91 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
71,
41,
59,
89
] | 36 | [
"71+41=112",
"59+89=148",
"148-112=36"
] | Current State: 36:[71, 41, 59, 89], Operations: []
Exploring Operation: 71+41=112, Resulting Numbers: [59, 89, 112]
Generated Node #2: [59, 89, 112] from Operation: 71+41=112
Current State: 36:[59, 89, 112], Operations: ['71+41=112']
Exploring Operation: 59+89=148, Resulting Numbers: [112, 148]
Generated Node #3: [112, 148] from Operation: 59+89=148
Current State: 36:[112, 148], Operations: ['71+41=112', '59+89=148']
Exploring Operation: 148-112=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[71, 41, 59, 89], Operations: []
Exploring Operation: 89-41=48, Resulting Numbers: [71, 59, 48]
Generated Node #0,0: 36:[71, 59, 48] Operation: 89-41=48
Exploring Operation: 71-59=12, Resulting Numbers: [41, 89, 12]
Generated Node #0,1: 36:[41, 89, 12] Operation: 71-59=12
Exploring Operation: 89-71=18, Resulting Numbers: [41, 59, 18]
Generated Node #0,2: 36:[41, 59, 18] Operation: 89-71=18
Exploring Operation: 89-59=30, Resulting Numbers: [71, 41, 30]
Generated Node #0,3: 36:[71, 41, 30] Operation: 89-59=30
Moving to Node #0,2
Current State: 36:[41, 59, 18], Operations: ['89-71=18']
Exploring Operation: 59-18=41, Resulting Numbers: [41, 41]
Generated Node #0,2,0: 36:[41, 41] Operation: 59-18=41
Exploring Operation: 41+18=59, Resulting Numbers: [59, 59]
Generated Node #0,2,1: 36:[59, 59] Operation: 41+18=59
Exploring Operation: 41-18=23, Resulting Numbers: [59, 23]
Generated Node #0,2,2: 36:[59, 23] Operation: 41-18=23
Exploring Operation: 59-41=18, Resulting Numbers: [18, 18]
Generated Node #0,2,3: 36:[18, 18] Operation: 59-41=18
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 36:[18, 18], Operations: ['89-71=18', '59-41=18']
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 18*18=324, Resulting Numbers: [324]
324,36 unequal: No Solution
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,36 unequal: No Solution
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[71, 41, 59, 89], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [41, 59, 18]
Generated Node #0,2: 36:[41, 59, 18] Operation: 89-71=18
Moving to Node #0,2
Current State: 36:[41, 59, 18], Operations: ['89-71=18']
Exploring Operation: 59-41=18, Resulting Numbers: [18, 18]
Generated Node #0,2,3: 36:[18, 18] Operation: 59-41=18
Moving to Node #0,2,3
Current State: 36:[18, 18], Operations: ['89-71=18', '59-41=18']
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
16,
93,
99,
66
] | 56 | [
"16+93=109",
"99+66=165",
"165-109=56"
] | Current State: 56:[16, 93, 99, 66], Operations: []
Exploring Operation: 16+93=109, Resulting Numbers: [99, 66, 109]
Generated Node #2: [99, 66, 109] from Operation: 16+93=109
Current State: 56:[99, 66, 109], Operations: ['16+93=109']
Exploring Operation: 99+66=165, Resulting Numbers: [109, 165]
Generated Node #3: [109, 165] from Operation: 99+66=165
Current State: 56:[109, 165], Operations: ['16+93=109', '99+66=165']
Exploring Operation: 165-109=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[16, 93, 99, 66], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [16, 66, 6]
Generated Node #0,0: 56:[16, 66, 6] Operation: 99-93=6
Exploring Operation: 93-16=77, Resulting Numbers: [99, 66, 77]
Generated Node #0,1: 56:[99, 66, 77] Operation: 93-16=77
Exploring Operation: 93-66=27, Resulting Numbers: [16, 99, 27]
Generated Node #0,2: 56:[16, 99, 27] Operation: 93-66=27
Exploring Operation: 99-66=33, Resulting Numbers: [16, 93, 33]
Generated Node #0,3: 56:[16, 93, 33] Operation: 99-66=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[16, 66, 6], Operations: ['99-93=6']
Exploring Operation: 16-6=10, Resulting Numbers: [66, 10]
Generated Node #0,0,0: 56:[66, 10] Operation: 16-6=10
Exploring Operation: 66-16=50, Resulting Numbers: [6, 50]
Generated Node #0,0,1: 56:[6, 50] Operation: 66-16=50
Exploring Operation: 66/6=11, Resulting Numbers: [16, 11]
Generated Node #0,0,2: 56:[16, 11] Operation: 66/6=11
Exploring Operation: 66-6=60, Resulting Numbers: [16, 60]
Generated Node #0,0,3: 56:[16, 60] Operation: 66-6=60
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 56:[16, 11], Operations: ['99-93=6', '66/6=11']
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,56 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 56:[16, 60], Operations: ['99-93=6', '66-6=60']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,56 unequal: No Solution
Exploring Operation: 16*60=960, Resulting Numbers: [960]
960,56 unequal: No Solution
Exploring Operation: 16+60=76, Resulting Numbers: [76]
76,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[6, 50], Operations: ['99-93=6', '66-16=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[16, 93, 99, 66], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [16, 66, 6]
Generated Node #0,0: 56:[16, 66, 6] Operation: 99-93=6
Moving to Node #0,0
Current State: 56:[16, 66, 6], Operations: ['99-93=6']
Exploring Operation: 66-16=50, Resulting Numbers: [6, 50]
Generated Node #0,0,1: 56:[6, 50] Operation: 66-16=50
Moving to Node #0,0,1
Current State: 56:[6, 50], Operations: ['99-93=6', '66-16=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
56,
57,
40,
96
] | 51 | [
"56-40=16",
"96/16=6",
"57-6=51"
] | Current State: 51:[56, 57, 40, 96], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [57, 96, 16]
Generated Node #2: [57, 96, 16] from Operation: 56-40=16
Current State: 51:[57, 96, 16], Operations: ['56-40=16']
Exploring Operation: 96/16=6, Resulting Numbers: [57, 6]
Generated Node #3: [57, 6] from Operation: 96/16=6
Current State: 51:[57, 6], Operations: ['56-40=16', '96/16=6']
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[56, 57, 40, 96], Operations: []
Exploring Operation: 96-40=56, Resulting Numbers: [56, 57, 56]
Generated Node #0,0: 51:[56, 57, 56] Operation: 96-40=56
Moving to Node #0,0
Current State: 51:[56, 57, 56], Operations: ['96-40=56']
Exploring Operation: 57-56=1, Resulting Numbers: [56, 1]
Generated Node #0,0,0: 51:[56, 1] Operation: 57-56=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[56, 1], Operations: ['96-40=56', '57-56=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
29,
58,
95,
8
] | 99 | [
"58/29=2",
"8/2=4",
"95+4=99"
] | Current State: 99:[29, 58, 95, 8], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [95, 8, 2]
Generated Node #2: [95, 8, 2] from Operation: 58/29=2
Current State: 99:[95, 8, 2], Operations: ['58/29=2']
Exploring Operation: 8/2=4, Resulting Numbers: [95, 4]
Generated Node #3: [95, 4] from Operation: 8/2=4
Current State: 99:[95, 4], Operations: ['58/29=2', '8/2=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[29, 58, 95, 8], Operations: []
Exploring Operation: 95-58=37, Resulting Numbers: [29, 8, 37]
Generated Node #0,0: 99:[29, 8, 37] Operation: 95-58=37
Exploring Operation: 29+58=87, Resulting Numbers: [95, 8, 87]
Generated Node #0,1: 99:[95, 8, 87] Operation: 29+58=87
Exploring Operation: 58-29=29, Resulting Numbers: [95, 8, 29]
Generated Node #0,2: 99:[95, 8, 29] Operation: 58-29=29
Exploring Operation: 58/29=2, Resulting Numbers: [95, 8, 2]
Generated Node #0,3: 99:[95, 8, 2] Operation: 58/29=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[95, 8, 2], Operations: ['58/29=2']
Exploring Operation: 95+2=97, Resulting Numbers: [8, 97]
Generated Node #0,3,0: 99:[8, 97] Operation: 95+2=97
Exploring Operation: 8+2=10, Resulting Numbers: [95, 10]
Generated Node #0,3,1: 99:[95, 10] Operation: 8+2=10
Exploring Operation: 95+8=103, Resulting Numbers: [2, 103]
Generated Node #0,3,2: 99:[2, 103] Operation: 95+8=103
Exploring Operation: 8/2=4, Resulting Numbers: [95, 4]
Generated Node #0,3,3: 99:[95, 4] Operation: 8/2=4
Moving to Node #0,3,0
Current State: 99:[8, 97], Operations: ['58/29=2', '95+2=97']
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,99 unequal: No Solution
Exploring Operation: 8*97=776, Resulting Numbers: [776]
776,99 unequal: No Solution
Exploring Operation: 8+97=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Moving to Node #0,3,2
Current State: 99:[2, 103], Operations: ['58/29=2', '95+8=103']
Exploring Operation: 103-2=101, Resulting Numbers: [101]
101,99 unequal: No Solution
Exploring Operation: 2+103=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Exploring Operation: 2*103=206, Resulting Numbers: [206]
206,99 unequal: No Solution
Moving to Node #0,3,1
Current State: 99:[95, 10], Operations: ['58/29=2', '8+2=10']
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 95*10=950, Resulting Numbers: [950]
950,99 unequal: No Solution
Exploring Operation: 95+10=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Moving to Node #0,3,3
Current State: 99:[95, 4], Operations: ['58/29=2', '8/2=4']
Exploring Operation: 95*4=380, Resulting Numbers: [380]
380,99 unequal: No Solution
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[29, 58, 95, 8], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [95, 8, 2]
Generated Node #0,3: 99:[95, 8, 2] Operation: 58/29=2
Moving to Node #0,3
Current State: 99:[95, 8, 2], Operations: ['58/29=2']
Exploring Operation: 8/2=4, Resulting Numbers: [95, 4]
Generated Node #0,3,3: 99:[95, 4] Operation: 8/2=4
Moving to Node #0,3,3
Current State: 99:[95, 4], Operations: ['58/29=2', '8/2=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
89,
54,
10,
2
] | 23 | [
"89-54=35",
"10+2=12",
"35-12=23"
] | Current State: 23:[89, 54, 10, 2], Operations: []
Exploring Operation: 89-54=35, Resulting Numbers: [10, 2, 35]
Generated Node #2: [10, 2, 35] from Operation: 89-54=35
Current State: 23:[10, 2, 35], Operations: ['89-54=35']
Exploring Operation: 10+2=12, Resulting Numbers: [35, 12]
Generated Node #3: [35, 12] from Operation: 10+2=12
Current State: 23:[35, 12], Operations: ['89-54=35', '10+2=12']
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[89, 54, 10, 2], Operations: []
Exploring Operation: 10*2=20, Resulting Numbers: [89, 54, 20]
Generated Node #0,0: 23:[89, 54, 20] Operation: 10*2=20
Exploring Operation: 89-10=79, Resulting Numbers: [54, 2, 79]
Generated Node #0,1: 23:[54, 2, 79] Operation: 89-10=79
Exploring Operation: 54/2=27, Resulting Numbers: [89, 10, 27]
Generated Node #0,2: 23:[89, 10, 27] Operation: 54/2=27
Exploring Operation: 89-54=35, Resulting Numbers: [10, 2, 35]
Generated Node #0,3: 23:[10, 2, 35] Operation: 89-54=35
Exploring Operation: 89-2=87, Resulting Numbers: [54, 10, 87]
Generated Node #0,4: 23:[54, 10, 87] Operation: 89-2=87
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[10, 2, 35], Operations: ['89-54=35']
Exploring Operation: 10+2=12, Resulting Numbers: [35, 12]
Generated Node #0,3,0: 23:[35, 12] Operation: 10+2=12
Exploring Operation: 10-2=8, Resulting Numbers: [35, 8]
Generated Node #0,3,1: 23:[35, 8] Operation: 10-2=8
Exploring Operation: 35-10=25, Resulting Numbers: [2, 25]
Generated Node #0,3,2: 23:[2, 25] Operation: 35-10=25
Exploring Operation: 35-2=33, Resulting Numbers: [10, 33]
Generated Node #0,3,3: 23:[10, 33] Operation: 35-2=33
Exploring Operation: 10*2=20, Resulting Numbers: [35, 20]
Generated Node #0,3,4: 23:[35, 20] Operation: 10*2=20
Moving to Node #0,3,4
Current State: 23:[35, 20], Operations: ['89-54=35', '10*2=20']
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[2, 25], Operations: ['89-54=35', '35-10=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[89, 54, 10, 2], Operations: []
Exploring Operation: 89-54=35, Resulting Numbers: [10, 2, 35]
Generated Node #0,3: 23:[10, 2, 35] Operation: 89-54=35
Moving to Node #0,3
Current State: 23:[10, 2, 35], Operations: ['89-54=35']
Exploring Operation: 35-10=25, Resulting Numbers: [2, 25]
Generated Node #0,3,2: 23:[2, 25] Operation: 35-10=25
Moving to Node #0,3,2
Current State: 23:[2, 25], Operations: ['89-54=35', '35-10=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
11,
11,
44,
79
] | 94 | [
"44/11=4",
"11+79=90",
"4+90=94"
] | Current State: 94:[11, 11, 44, 79], Operations: []
Exploring Operation: 44/11=4, Resulting Numbers: [79, 4]
Generated Node #2: [79, 4] from Operation: 44/11=4
Current State: 94:[79, 4], Operations: ['44/11=4']
Exploring Operation: 11+79=90, Resulting Numbers: [4, 90]
Generated Node #3: [4, 90] from Operation: 11+79=90
Current State: 94:[4, 90], Operations: ['44/11=4', '11+79=90']
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[11, 11, 44, 79], Operations: []
Exploring Operation: 11+79=90, Resulting Numbers: [11, 44, 90]
Generated Node #0,0: 94:[11, 44, 90] Operation: 11+79=90
Exploring Operation: 11+79=90, Resulting Numbers: [11, 44, 90]
Generated Node #0,1: 94:[11, 44, 90] Operation: 11+79=90
Moving to Node #0,0
Current State: 94:[11, 44, 90], Operations: ['11+79=90']
Exploring Operation: 11+90=101, Resulting Numbers: [44, 101]
Generated Node #0,0,0: 94:[44, 101] Operation: 11+90=101
Exploring Operation: 44/11=4, Resulting Numbers: [90, 4]
Generated Node #0,0,1: 94:[90, 4] Operation: 44/11=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[90, 4], Operations: ['11+79=90', '44/11=4']
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[11, 11, 44, 79], Operations: []
Exploring Operation: 11+79=90, Resulting Numbers: [11, 44, 90]
Generated Node #0,0: 94:[11, 44, 90] Operation: 11+79=90
Moving to Node #0,0
Current State: 94:[11, 44, 90], Operations: ['11+79=90']
Exploring Operation: 44/11=4, Resulting Numbers: [90, 4]
Generated Node #0,0,1: 94:[90, 4] Operation: 44/11=4
Moving to Node #0,0,1
Current State: 94:[90, 4], Operations: ['11+79=90', '44/11=4']
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
14,
82,
90,
33
] | 55 | [
"82-14=68",
"90+33=123",
"123-68=55"
] | Current State: 55:[14, 82, 90, 33], Operations: []
Exploring Operation: 82-14=68, Resulting Numbers: [90, 33, 68]
Generated Node #2: [90, 33, 68] from Operation: 82-14=68
Current State: 55:[90, 33, 68], Operations: ['82-14=68']
Exploring Operation: 90+33=123, Resulting Numbers: [68, 123]
Generated Node #3: [68, 123] from Operation: 90+33=123
Current State: 55:[68, 123], Operations: ['82-14=68', '90+33=123']
Exploring Operation: 123-68=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[14, 82, 90, 33], Operations: []
Exploring Operation: 90-82=8, Resulting Numbers: [14, 33, 8]
Generated Node #0,0: 55:[14, 33, 8] Operation: 90-82=8
Moving to Node #0,0
Current State: 55:[14, 33, 8], Operations: ['90-82=8']
Exploring Operation: 14+33=47, Resulting Numbers: [8, 47]
Generated Node #0,0,0: 55:[8, 47] Operation: 14+33=47
Moving to Node #0,0,0
Current State: 55:[8, 47], Operations: ['90-82=8', '14+33=47']
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[14, 82, 90, 33], Operations: []
Exploring Operation: 90-82=8, Resulting Numbers: [14, 33, 8]
Generated Node #0,0: 55:[14, 33, 8] Operation: 90-82=8
Moving to Node #0,0
Current State: 55:[14, 33, 8], Operations: ['90-82=8']
Exploring Operation: 14+33=47, Resulting Numbers: [8, 47]
Generated Node #0,0,0: 55:[8, 47] Operation: 14+33=47
Moving to Node #0,0,0
Current State: 55:[8, 47], Operations: ['90-82=8', '14+33=47']
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
18,
7,
51,
3
] | 84 | [
"18-7=11",
"3*11=33",
"51+33=84"
] | Current State: 84:[18, 7, 51, 3], Operations: []
Exploring Operation: 18-7=11, Resulting Numbers: [51, 3, 11]
Generated Node #2: [51, 3, 11] from Operation: 18-7=11
Current State: 84:[51, 3, 11], Operations: ['18-7=11']
Exploring Operation: 3*11=33, Resulting Numbers: [51, 33]
Generated Node #3: [51, 33] from Operation: 3*11=33
Current State: 84:[51, 33], Operations: ['18-7=11', '3*11=33']
Exploring Operation: 51+33=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[18, 7, 51, 3], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [18, 3, 44]
Generated Node #0,0: 84:[18, 3, 44] Operation: 51-7=44
Exploring Operation: 18+3=21, Resulting Numbers: [7, 51, 21]
Generated Node #0,1: 84:[7, 51, 21] Operation: 18+3=21
Exploring Operation: 51/3=17, Resulting Numbers: [18, 7, 17]
Generated Node #0,2: 84:[18, 7, 17] Operation: 51/3=17
Exploring Operation: 51-18=33, Resulting Numbers: [7, 3, 33]
Generated Node #0,3: 84:[7, 3, 33] Operation: 51-18=33
Moving to Node #0,0
Current State: 84:[18, 3, 44], Operations: ['51-7=44']
Exploring Operation: 18-3=15, Resulting Numbers: [44, 15]
Generated Node #0,0,0: 84:[44, 15] Operation: 18-3=15
Exploring Operation: 18+3=21, Resulting Numbers: [44, 21]
Generated Node #0,0,1: 84:[44, 21] Operation: 18+3=21
Exploring Operation: 18/3=6, Resulting Numbers: [44, 6]
Generated Node #0,0,2: 84:[44, 6] Operation: 18/3=6
Exploring Operation: 44-18=26, Resulting Numbers: [3, 26]
Generated Node #0,0,3: 84:[3, 26] Operation: 44-18=26
Moving to Node #0,3
Current State: 84:[7, 3, 33], Operations: ['51-18=33']
Exploring Operation: 33/3=11, Resulting Numbers: [7, 11]
Generated Node #0,3,0: 84:[7, 11] Operation: 33/3=11
Exploring Operation: 33-7=26, Resulting Numbers: [3, 26]
Generated Node #0,3,1: 84:[3, 26] Operation: 33-7=26
Exploring Operation: 33-3=30, Resulting Numbers: [7, 30]
Generated Node #0,3,2: 84:[7, 30] Operation: 33-3=30
Exploring Operation: 7+33=40, Resulting Numbers: [3, 40]
Generated Node #0,3,3: 84:[3, 40] Operation: 7+33=40
Moving to Node #0,2
Current State: 84:[18, 7, 17], Operations: ['51/3=17']
Exploring Operation: 18-7=11, Resulting Numbers: [17, 11]
Generated Node #0,2,0: 84:[17, 11] Operation: 18-7=11
Exploring Operation: 18-17=1, Resulting Numbers: [7, 1]
Generated Node #0,2,1: 84:[7, 1] Operation: 18-17=1
Exploring Operation: 18+7=25, Resulting Numbers: [17, 25]
Generated Node #0,2,2: 84:[17, 25] Operation: 18+7=25
Exploring Operation: 17-7=10, Resulting Numbers: [18, 10]
Generated Node #0,2,3: 84:[18, 10] Operation: 17-7=10
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[7, 1], Operations: ['51/3=17', '18-17=1']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[17, 11], Operations: ['51/3=17', '18-7=11']
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,84 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 84:[18, 10], Operations: ['51/3=17', '17-7=10']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,84 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[17, 25], Operations: ['51/3=17', '18+7=25']
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,84 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,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:[7, 51, 21], Operations: ['18+3=21']
Exploring Operation: 51-7=44, Resulting Numbers: [21, 44]
Generated Node #0,1,0: 84:[21, 44] Operation: 51-7=44
Exploring Operation: 21-7=14, Resulting Numbers: [51, 14]
Generated Node #0,1,1: 84:[51, 14] Operation: 21-7=14
Exploring Operation: 7+21=28, Resulting Numbers: [51, 28]
Generated Node #0,1,2: 84:[51, 28] Operation: 7+21=28
Exploring Operation: 51-21=30, Resulting Numbers: [7, 30]
Generated Node #0,1,3: 84:[7, 30] Operation: 51-21=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[21, 44], Operations: ['18+3=21', '51-7=44']
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,84 unequal: No Solution
Exploring Operation: 21*44=924, Resulting Numbers: [924]
924,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,1,3
Current State: 84:[7, 30], Operations: ['18+3=21', '51-21=30']
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,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,1,1
Current State: 84:[51, 14], Operations: ['18+3=21', '21-7=14']
Exploring Operation: 51+14=65, Resulting Numbers: [65]
65,84 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 51*14=714, Resulting Numbers: [714]
714,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,1,2
Current State: 84:[51, 28], Operations: ['18+3=21', '7+21=28']
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,84 unequal: No Solution
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,84 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 84:[7, 11], Operations: ['51-18=33', '33/3=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[3, 26], Operations: ['51-7=44', '44-18=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,84 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[7, 30], Operations: ['51-18=33', '33-3=30']
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,84 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Moving to Node #0,3,1
Current State: 84:[3, 26], Operations: ['51-18=33', '33-7=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,84 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[44, 21], Operations: ['51-7=44', '18+3=21']
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,84 unequal: No Solution
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,84 unequal: No Solution
Moving to Node #0,3,3
Current State: 84:[3, 40], Operations: ['51-18=33', '7+33=40']
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[44, 6], Operations: ['51-7=44', '18/3=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[44, 15], Operations: ['51-7=44', '18-3=15']
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,84 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,84 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
21,
47,
27,
28
] | 54 | [
"47-21=26",
"28-26=2",
"27*2=54"
] | Current State: 54:[21, 47, 27, 28], Operations: []
Exploring Operation: 47-21=26, Resulting Numbers: [27, 28, 26]
Generated Node #2: [27, 28, 26] from Operation: 47-21=26
Current State: 54:[27, 28, 26], Operations: ['47-21=26']
Exploring Operation: 28-26=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 28-26=2
Current State: 54:[27, 2], Operations: ['47-21=26', '28-26=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[21, 47, 27, 28], Operations: []
Exploring Operation: 27-21=6, Resulting Numbers: [47, 28, 6]
Generated Node #0,0: 54:[47, 28, 6] Operation: 27-21=6
Exploring Operation: 47-27=20, Resulting Numbers: [21, 28, 20]
Generated Node #0,1: 54:[21, 28, 20] Operation: 47-27=20
Exploring Operation: 47-21=26, Resulting Numbers: [27, 28, 26]
Generated Node #0,2: 54:[27, 28, 26] Operation: 47-21=26
Exploring Operation: 47-28=19, Resulting Numbers: [21, 27, 19]
Generated Node #0,3: 54:[21, 27, 19] Operation: 47-28=19
Exploring Operation: 28-21=7, Resulting Numbers: [47, 27, 7]
Generated Node #0,4: 54:[47, 27, 7] Operation: 28-21=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[27, 28, 26], Operations: ['47-21=26']
Exploring Operation: 27+26=53, Resulting Numbers: [28, 53]
Generated Node #0,2,0: 54:[28, 53] Operation: 27+26=53
Exploring Operation: 28-27=1, Resulting Numbers: [26, 1]
Generated Node #0,2,1: 54:[26, 1] Operation: 28-27=1
Exploring Operation: 28+26=54, Resulting Numbers: [27, 54]
Generated Node #0,2,2: 54:[27, 54] Operation: 28+26=54
Exploring Operation: 27+28=55, Resulting Numbers: [26, 55]
Generated Node #0,2,3: 54:[26, 55] Operation: 27+28=55
Exploring Operation: 28-26=2, Resulting Numbers: [27, 2]
Generated Node #0,2,4: 54:[27, 2] Operation: 28-26=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 54:[27, 54], Operations: ['47-21=26', '28+26=54']
Exploring Operation: 27+54=81, Resulting Numbers: [81]
81,54 unequal: No Solution
Exploring Operation: 54/27=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 54-27=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 27*54=1458, Resulting Numbers: [1458]
1458,54 unequal: No Solution
No 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: 54:[27, 2], Operations: ['47-21=26', '28-26=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,54 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[21, 47, 27, 28], Operations: []
Exploring Operation: 47-21=26, Resulting Numbers: [27, 28, 26]
Generated Node #0,2: 54:[27, 28, 26] Operation: 47-21=26
Moving to Node #0,2
Current State: 54:[27, 28, 26], Operations: ['47-21=26']
Exploring Operation: 28-26=2, Resulting Numbers: [27, 2]
Generated Node #0,2,4: 54:[27, 2] Operation: 28-26=2
Moving to Node #0,2,4
Current State: 54:[27, 2], Operations: ['47-21=26', '28-26=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
15,
13,
83,
36
] | 45 | [
"15-13=2",
"83-36=47",
"47-2=45"
] | Current State: 45:[15, 13, 83, 36], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [83, 36, 2]
Generated Node #2: [83, 36, 2] from Operation: 15-13=2
Current State: 45:[83, 36, 2], Operations: ['15-13=2']
Exploring Operation: 83-36=47, Resulting Numbers: [2, 47]
Generated Node #3: [2, 47] from Operation: 83-36=47
Current State: 45:[2, 47], Operations: ['15-13=2', '83-36=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[15, 13, 83, 36], Operations: []
Exploring Operation: 15+36=51, Resulting Numbers: [13, 83, 51]
Generated Node #0,0: 45:[13, 83, 51] Operation: 15+36=51
Exploring Operation: 83-15=68, Resulting Numbers: [13, 36, 68]
Generated Node #0,1: 45:[13, 36, 68] Operation: 83-15=68
Exploring Operation: 83-13=70, Resulting Numbers: [15, 36, 70]
Generated Node #0,2: 45:[15, 36, 70] Operation: 83-13=70
Exploring Operation: 13+36=49, Resulting Numbers: [15, 83, 49]
Generated Node #0,3: 45:[15, 83, 49] Operation: 13+36=49
Exploring Operation: 83-36=47, Resulting Numbers: [15, 13, 47]
Generated Node #0,4: 45:[15, 13, 47] Operation: 83-36=47
Start Sub Search at level 1: Moving to Node #0,4
Current State: 45:[15, 13, 47], Operations: ['83-36=47']
Exploring Operation: 47-15=32, Resulting Numbers: [13, 32]
Generated Node #0,4,0: 45:[13, 32] Operation: 47-15=32
Exploring Operation: 15+13=28, Resulting Numbers: [47, 28]
Generated Node #0,4,1: 45:[47, 28] Operation: 15+13=28
Exploring Operation: 47-13=34, Resulting Numbers: [15, 34]
Generated Node #0,4,2: 45:[15, 34] Operation: 47-13=34
Exploring Operation: 13+47=60, Resulting Numbers: [15, 60]
Generated Node #0,4,3: 45:[15, 60] Operation: 13+47=60
Exploring Operation: 15-13=2, Resulting Numbers: [47, 2]
Generated Node #0,4,4: 45:[47, 2] Operation: 15-13=2
Moving to Node #0,4,4
Current State: 45:[47, 2], Operations: ['83-36=47', '15-13=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,45 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[15, 13, 83, 36], Operations: []
Exploring Operation: 83-36=47, Resulting Numbers: [15, 13, 47]
Generated Node #0,4: 45:[15, 13, 47] Operation: 83-36=47
Moving to Node #0,4
Current State: 45:[15, 13, 47], Operations: ['83-36=47']
Exploring Operation: 15-13=2, Resulting Numbers: [47, 2]
Generated Node #0,4,4: 45:[47, 2] Operation: 15-13=2
Moving to Node #0,4,4
Current State: 45:[47, 2], Operations: ['83-36=47', '15-13=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
90,
56,
27,
36
] | 64 | [
"90*36=3240",
"3240/27=120",
"120-56=64"
] | Current State: 64:[90, 56, 27, 36], Operations: []
Exploring Operation: 90*36=3240, Resulting Numbers: [56, 27, 3240]
Generated Node #2: [56, 27, 3240] from Operation: 90*36=3240
Current State: 64:[56, 27, 3240], Operations: ['90*36=3240']
Exploring Operation: 3240/27=120, Resulting Numbers: [56, 120]
Generated Node #3: [56, 120] from Operation: 3240/27=120
Current State: 64:[56, 120], Operations: ['90*36=3240', '3240/27=120']
Exploring Operation: 120-56=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[90, 56, 27, 36], Operations: []
Exploring Operation: 90-56=34, Resulting Numbers: [27, 36, 34]
Generated Node #0,0: 64:[27, 36, 34] Operation: 90-56=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[27, 36, 34], Operations: ['90-56=34']
Exploring Operation: 27+36=63, Resulting Numbers: [34, 63]
Generated Node #0,0,0: 64:[34, 63] Operation: 27+36=63
Moving to Node #0,0,0
Current State: 64:[34, 63], Operations: ['90-56=34', '27+36=63']
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
59,
37,
3,
5
] | 98 | [
"59+37=96",
"5-3=2",
"96+2=98"
] | Current State: 98:[59, 37, 3, 5], Operations: []
Exploring Operation: 59+37=96, Resulting Numbers: [3, 5, 96]
Generated Node #2: [3, 5, 96] from Operation: 59+37=96
Current State: 98:[3, 5, 96], Operations: ['59+37=96']
Exploring Operation: 5-3=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 5-3=2
Current State: 98:[96, 2], Operations: ['59+37=96', '5-3=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[59, 37, 3, 5], Operations: []
Exploring Operation: 59+37=96, Resulting Numbers: [3, 5, 96]
Generated Node #0,0: 98:[3, 5, 96] Operation: 59+37=96
Exploring Operation: 59-37=22, Resulting Numbers: [3, 5, 22]
Generated Node #0,1: 98:[3, 5, 22] Operation: 59-37=22
Moving to Node #0,0
Current State: 98:[3, 5, 96], Operations: ['59+37=96']
Exploring Operation: 3+5=8, Resulting Numbers: [96, 8]
Generated Node #0,0,0: 98:[96, 8] Operation: 3+5=8
Exploring Operation: 5-3=2, Resulting Numbers: [96, 2]
Generated Node #0,0,1: 98:[96, 2] Operation: 5-3=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[96, 2], Operations: ['59+37=96', '5-3=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[59, 37, 3, 5], Operations: []
Exploring Operation: 59+37=96, Resulting Numbers: [3, 5, 96]
Generated Node #0,0: 98:[3, 5, 96] Operation: 59+37=96
Moving to Node #0,0
Current State: 98:[3, 5, 96], Operations: ['59+37=96']
Exploring Operation: 5-3=2, Resulting Numbers: [96, 2]
Generated Node #0,0,1: 98:[96, 2] Operation: 5-3=2
Moving to Node #0,0,1
Current State: 98:[96, 2], Operations: ['59+37=96', '5-3=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
46,
74,
15,
70
] | 65 | [
"46+74=120",
"70-15=55",
"120-55=65"
] | Current State: 65:[46, 74, 15, 70], Operations: []
Exploring Operation: 46+74=120, Resulting Numbers: [15, 70, 120]
Generated Node #2: [15, 70, 120] from Operation: 46+74=120
Current State: 65:[15, 70, 120], Operations: ['46+74=120']
Exploring Operation: 70-15=55, Resulting Numbers: [120, 55]
Generated Node #3: [120, 55] from Operation: 70-15=55
Current State: 65:[120, 55], Operations: ['46+74=120', '70-15=55']
Exploring Operation: 120-55=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[46, 74, 15, 70], Operations: []
Exploring Operation: 46+15=61, Resulting Numbers: [74, 70, 61]
Generated Node #0,0: 65:[74, 70, 61] Operation: 46+15=61
Moving to Node #0,0
Current State: 65:[74, 70, 61], Operations: ['46+15=61']
Exploring Operation: 74-70=4, Resulting Numbers: [61, 4]
Generated Node #0,0,0: 65:[61, 4] Operation: 74-70=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[61, 4], Operations: ['46+15=61', '74-70=4']
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[46, 74, 15, 70], Operations: []
Exploring Operation: 46+15=61, Resulting Numbers: [74, 70, 61]
Generated Node #0,0: 65:[74, 70, 61] Operation: 46+15=61
Moving to Node #0,0
Current State: 65:[74, 70, 61], Operations: ['46+15=61']
Exploring Operation: 74-70=4, Resulting Numbers: [61, 4]
Generated Node #0,0,0: 65:[61, 4] Operation: 74-70=4
Moving to Node #0,0,0
Current State: 65:[61, 4], Operations: ['46+15=61', '74-70=4']
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
27,
60,
78,
3
] | 76 | [
"27+3=30",
"60/30=2",
"78-2=76"
] | Current State: 76:[27, 60, 78, 3], Operations: []
Exploring Operation: 27+3=30, Resulting Numbers: [60, 78, 30]
Generated Node #2: [60, 78, 30] from Operation: 27+3=30
Current State: 76:[60, 78, 30], Operations: ['27+3=30']
Exploring Operation: 60/30=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 60/30=2
Current State: 76:[78, 2], Operations: ['27+3=30', '60/30=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[27, 60, 78, 3], Operations: []
Exploring Operation: 60/3=20, Resulting Numbers: [27, 78, 20]
Generated Node #0,0: 76:[27, 78, 20] Operation: 60/3=20
Exploring Operation: 78-60=18, Resulting Numbers: [27, 3, 18]
Generated Node #0,1: 76:[27, 3, 18] Operation: 78-60=18
Exploring Operation: 60-27=33, Resulting Numbers: [78, 3, 33]
Generated Node #0,2: 76:[78, 3, 33] Operation: 60-27=33
Exploring Operation: 27*3=81, Resulting Numbers: [60, 78, 81]
Generated Node #0,3: 76:[60, 78, 81] Operation: 27*3=81
Exploring Operation: 27+60=87, Resulting Numbers: [78, 3, 87]
Generated Node #0,4: 76:[78, 3, 87] Operation: 27+60=87
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[78, 3, 33], Operations: ['60-27=33']
Exploring Operation: 3+33=36, Resulting Numbers: [78, 36]
Generated Node #0,2,0: 76:[78, 36] Operation: 3+33=36
Exploring Operation: 78-33=45, Resulting Numbers: [3, 45]
Generated Node #0,2,1: 76:[3, 45] Operation: 78-33=45
Exploring Operation: 78-3=75, Resulting Numbers: [33, 75]
Generated Node #0,2,2: 76:[33, 75] Operation: 78-3=75
Exploring Operation: 33/3=11, Resulting Numbers: [78, 11]
Generated Node #0,2,3: 76:[78, 11] Operation: 33/3=11
Exploring Operation: 78+3=81, Resulting Numbers: [33, 81]
Generated Node #0,2,4: 76:[33, 81] Operation: 78+3=81
Moving to Node #0,2,0
Current State: 76:[78, 36], Operations: ['60-27=33', '3+33=36']
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 78+36=114, Resulting Numbers: [114]
114,76 unequal: No Solution
Exploring Operation: 78*36=2808, Resulting Numbers: [2808]
2808,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[33, 75], Operations: ['60-27=33', '78-3=75']
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 33+75=108, Resulting Numbers: [108]
108,76 unequal: No Solution
Exploring Operation: 33*75=2475, Resulting Numbers: [2475]
2475,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[3, 45], Operations: ['60-27=33', '78-33=45']
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,76 unequal: No Solution
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[78, 11], Operations: ['60-27=33', '33/3=11']
Exploring Operation: 78+11=89, Resulting Numbers: [89]
89,76 unequal: No Solution
Exploring Operation: 78-11=67, Resulting Numbers: [67]
67,76 unequal: No Solution
Exploring Operation: 78*11=858, Resulting Numbers: [858]
858,76 unequal: No Solution
Moving to Node #0,2,4
Current State: 76:[33, 81], Operations: ['60-27=33', '78+3=81']
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 33*81=2673, Resulting Numbers: [2673]
2673,76 unequal: No Solution
Exploring Operation: 33+81=114, Resulting Numbers: [114]
114,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[27, 3, 18], Operations: ['78-60=18']
Exploring Operation: 27*3=81, Resulting Numbers: [18, 81]
Generated Node #0,1,0: 76:[18, 81] Operation: 27*3=81
Exploring Operation: 27-3=24, Resulting Numbers: [18, 24]
Generated Node #0,1,1: 76:[18, 24] Operation: 27-3=24
Exploring Operation: 27-18=9, Resulting Numbers: [3, 9]
Generated Node #0,1,2: 76:[3, 9] Operation: 27-18=9
Exploring Operation: 27+18=45, Resulting Numbers: [3, 45]
Generated Node #0,1,3: 76:[3, 45] Operation: 27+18=45
Exploring Operation: 27/3=9, Resulting Numbers: [18, 9]
Generated Node #0,1,4: 76:[18, 9] Operation: 27/3=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[18, 81], Operations: ['78-60=18', '27*3=81']
Exploring Operation: 18+81=99, Resulting Numbers: [99]
99,76 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,76 unequal: No Solution
Exploring Operation: 18*81=1458, Resulting Numbers: [1458]
1458,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[18, 24], Operations: ['78-60=18', '27-3=24']
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[3, 9], Operations: ['78-60=18', '27-18=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 76:[18, 9], Operations: ['78-60=18', '27/3=9']
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,76 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 76:[3, 45], Operations: ['78-60=18', '27+18=45']
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,76 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,76 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: 76:[27, 78, 20], Operations: ['60/3=20']
Exploring Operation: 27+78=105, Resulting Numbers: [20, 105]
Generated Node #0,0,0: 76:[20, 105] Operation: 27+78=105
Exploring Operation: 78-27=51, Resulting Numbers: [20, 51]
Generated Node #0,0,1: 76:[20, 51] Operation: 78-27=51
Exploring Operation: 78-20=58, Resulting Numbers: [27, 58]
Generated Node #0,0,2: 76:[27, 58] Operation: 78-20=58
Exploring Operation: 27+20=47, Resulting Numbers: [78, 47]
Generated Node #0,0,3: 76:[78, 47] Operation: 27+20=47
Exploring Operation: 27-20=7, Resulting Numbers: [78, 7]
Generated Node #0,0,4: 76:[78, 7] Operation: 27-20=7
Moving to Node #0,0,4
Current State: 76:[78, 7], Operations: ['60/3=20', '27-20=7']
Exploring Operation: 78*7=546, Resulting Numbers: [546]
546,76 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,76 unequal: No Solution
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[78, 47], Operations: ['60/3=20', '27+20=47']
Exploring Operation: 78*47=3666, Resulting Numbers: [3666]
3666,76 unequal: No Solution
Exploring Operation: 78+47=125, Resulting Numbers: [125]
125,76 unequal: No Solution
Exploring Operation: 78-47=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[20, 51], Operations: ['60/3=20', '78-27=51']
Exploring Operation: 20*51=1020, Resulting Numbers: [1020]
1020,76 unequal: No Solution
Exploring Operation: 20+51=71, Resulting Numbers: [71]
71,76 unequal: No Solution
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[27, 58], Operations: ['60/3=20', '78-20=58']
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[20, 105], Operations: ['60/3=20', '27+78=105']
Exploring Operation: 105-20=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 20+105=125, Resulting Numbers: [125]
125,76 unequal: No Solution
Exploring Operation: 20*105=2100, Resulting Numbers: [2100]
2100,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 76:[78, 3, 87], Operations: ['27+60=87']
Exploring Operation: 87/3=29, Resulting Numbers: [78, 29]
Generated Node #0,4,0: 76:[78, 29] Operation: 87/3=29
Exploring Operation: 78+3=81, Resulting Numbers: [87, 81]
Generated Node #0,4,1: 76:[87, 81] Operation: 78+3=81
Exploring Operation: 87-3=84, Resulting Numbers: [78, 84]
Generated Node #0,4,2: 76:[78, 84] Operation: 87-3=84
Exploring Operation: 78-3=75, Resulting Numbers: [87, 75]
Generated Node #0,4,3: 76:[87, 75] Operation: 78-3=75
Exploring Operation: 87-78=9, Resulting Numbers: [3, 9]
Generated Node #0,4,4: 76:[3, 9] Operation: 87-78=9
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 76:[3, 9], Operations: ['27+60=87', '87-78=9']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 76:[78, 84], Operations: ['27+60=87', '87-3=84']
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 78+84=162, Resulting Numbers: [162]
162,76 unequal: No Solution
Exploring Operation: 78*84=6552, Resulting Numbers: [6552]
6552,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 76:[78, 29], Operations: ['27+60=87', '87/3=29']
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Exploring Operation: 78+29=107, Resulting Numbers: [107]
107,76 unequal: No Solution
Exploring Operation: 78*29=2262, Resulting Numbers: [2262]
2262,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 76:[87, 75], Operations: ['27+60=87', '78-3=75']
Exploring Operation: 87*75=6525, Resulting Numbers: [6525]
6525,76 unequal: No Solution
Exploring Operation: 87-75=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 87+75=162, Resulting Numbers: [162]
162,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 76:[87, 81], Operations: ['27+60=87', '78+3=81']
Exploring Operation: 87*81=7047, Resulting Numbers: [7047]
7047,76 unequal: No Solution
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 87+81=168, Resulting Numbers: [168]
168,76 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: 76:[60, 78, 81], Operations: ['27*3=81']
Exploring Operation: 78-60=18, Resulting Numbers: [81, 18]
Generated Node #0,3,0: 76:[81, 18] Operation: 78-60=18
Exploring Operation: 60+78=138, Resulting Numbers: [81, 138]
Generated Node #0,3,1: 76:[81, 138] Operation: 60+78=138
Exploring Operation: 60+81=141, Resulting Numbers: [78, 141]
Generated Node #0,3,2: 76:[78, 141] Operation: 60+81=141
Exploring Operation: 81-60=21, Resulting Numbers: [78, 21]
Generated Node #0,3,3: 76:[78, 21] Operation: 81-60=21
Exploring Operation: 81-78=3, Resulting Numbers: [60, 3]
Generated Node #0,3,4: 76:[60, 3] Operation: 81-78=3
Moving to Node #0,3,3
Current State: 76:[78, 21], Operations: ['27*3=81', '81-60=21']
Exploring Operation: 78+21=99, Resulting Numbers: [99]
99,76 unequal: No Solution
Exploring Operation: 78*21=1638, Resulting Numbers: [1638]
1638,76 unequal: No Solution
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[81, 18], Operations: ['27*3=81', '78-60=18']
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,76 unequal: No Solution
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,76 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[60, 3], Operations: ['27*3=81', '81-78=3']
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,76 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,76 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[81, 138], Operations: ['27*3=81', '60+78=138']
Exploring Operation: 138-81=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 81*138=11178, Resulting Numbers: [11178]
11178,76 unequal: No Solution
Exploring Operation: 81+138=219, Resulting Numbers: [219]
219,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[78, 141], Operations: ['27*3=81', '60+81=141']
Exploring Operation: 78+141=219, Resulting Numbers: [219]
219,76 unequal: No Solution
Exploring Operation: 141-78=63, Resulting Numbers: [63]
63,76 unequal: No Solution
Exploring Operation: 78*141=10998, Resulting Numbers: [10998]
10998,76 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 |
[
12,
34,
13,
29
] | 15 | [
"29-12=17",
"34/17=2",
"13+2=15"
] | Current State: 15:[12, 34, 13, 29], Operations: []
Exploring Operation: 29-12=17, Resulting Numbers: [34, 13, 17]
Generated Node #2: [34, 13, 17] from Operation: 29-12=17
Current State: 15:[34, 13, 17], Operations: ['29-12=17']
Exploring Operation: 34/17=2, Resulting Numbers: [13, 2]
Generated Node #3: [13, 2] from Operation: 34/17=2
Current State: 15:[13, 2], Operations: ['29-12=17', '34/17=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[12, 34, 13, 29], Operations: []
Exploring Operation: 34-29=5, Resulting Numbers: [12, 13, 5]
Generated Node #0,0: 15:[12, 13, 5] Operation: 34-29=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[12, 13, 5], Operations: ['34-29=5']
Exploring Operation: 13-12=1, Resulting Numbers: [5, 1]
Generated Node #0,0,0: 15:[5, 1] Operation: 13-12=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[5, 1], Operations: ['34-29=5', '13-12=1']
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
74,
12,
48,
48
] | 86 | [
"74+12=86",
"48-48=0",
"86+0=86"
] | Current State: 86:[74, 12, 48, 48], Operations: []
Exploring Operation: 74+12=86, Resulting Numbers: [48, 48, 86]
Generated Node #2: [48, 48, 86] from Operation: 74+12=86
Current State: 86:[48, 48, 86], Operations: ['74+12=86']
Exploring Operation: 48-48=0, Resulting Numbers: [86, 0]
Generated Node #3: [86, 0] from Operation: 48-48=0
Current State: 86:[86, 0], Operations: ['74+12=86', '48-48=0']
Exploring Operation: 86+0=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[74, 12, 48, 48], Operations: []
Exploring Operation: 48/12=4, Resulting Numbers: [74, 48, 4]
Generated Node #0,0: 86:[74, 48, 4] Operation: 48/12=4
Exploring Operation: 74+12=86, Resulting Numbers: [48, 48, 86]
Generated Node #0,1: 86:[48, 48, 86] Operation: 74+12=86
Exploring Operation: 48/48=1, Resulting Numbers: [74, 12, 1]
Generated Node #0,2: 86:[74, 12, 1] Operation: 48/48=1
Exploring Operation: 48-12=36, Resulting Numbers: [74, 48, 36]
Generated Node #0,3: 86:[74, 48, 36] Operation: 48-12=36
Exploring Operation: 48/12=4, Resulting Numbers: [74, 48, 4]
Generated Node #0,4: 86:[74, 48, 4] Operation: 48/12=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[48, 48, 86], Operations: ['74+12=86']
Exploring Operation: 86-48=38, Resulting Numbers: [48, 38]
Generated Node #0,1,0: 86:[48, 38] Operation: 86-48=38
Exploring Operation: 48-48=0, Resulting Numbers: [86, 0]
Generated Node #0,1,1: 86:[86, 0] Operation: 48-48=0
Exploring Operation: 48+48=96, Resulting Numbers: [86, 96]
Generated Node #0,1,2: 86:[86, 96] Operation: 48+48=96
Exploring Operation: 48/48=1, Resulting Numbers: [86, 1]
Generated Node #0,1,3: 86:[86, 1] Operation: 48/48=1
Exploring Operation: 86-48=38, Resulting Numbers: [48, 38]
Generated Node #0,1,4: 86:[48, 38] Operation: 86-48=38
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 86:[86, 1], Operations: ['74+12=86', '48/48=1']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[74, 12, 48, 48], Operations: []
Exploring Operation: 74+12=86, Resulting Numbers: [48, 48, 86]
Generated Node #0,1: 86:[48, 48, 86] Operation: 74+12=86
Moving to Node #0,1
Current State: 86:[48, 48, 86], Operations: ['74+12=86']
Exploring Operation: 48/48=1, Resulting Numbers: [86, 1]
Generated Node #0,1,3: 86:[86, 1] Operation: 48/48=1
Moving to Node #0,1,3
Current State: 86:[86, 1], Operations: ['74+12=86', '48/48=1']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
58,
6,
9,
54
] | 97 | [
"58-6=52",
"54-9=45",
"52+45=97"
] | Current State: 97:[58, 6, 9, 54], Operations: []
Exploring Operation: 58-6=52, Resulting Numbers: [9, 54, 52]
Generated Node #2: [9, 54, 52] from Operation: 58-6=52
Current State: 97:[9, 54, 52], Operations: ['58-6=52']
Exploring Operation: 54-9=45, Resulting Numbers: [52, 45]
Generated Node #3: [52, 45] from Operation: 54-9=45
Current State: 97:[52, 45], Operations: ['58-6=52', '54-9=45']
Exploring Operation: 52+45=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[58, 6, 9, 54], Operations: []
Exploring Operation: 6*9=54, Resulting Numbers: [58, 54, 54]
Generated Node #0,0: 97:[58, 54, 54] Operation: 6*9=54
Exploring Operation: 58+6=64, Resulting Numbers: [9, 54, 64]
Generated Node #0,1: 97:[9, 54, 64] Operation: 58+6=64
Exploring Operation: 58+9=67, Resulting Numbers: [6, 54, 67]
Generated Node #0,2: 97:[6, 54, 67] Operation: 58+9=67
Exploring Operation: 6+9=15, Resulting Numbers: [58, 54, 15]
Generated Node #0,3: 97:[58, 54, 15] Operation: 6+9=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[58, 54, 54], Operations: ['6*9=54']
Exploring Operation: 58+54=112, Resulting Numbers: [54, 112]
Generated Node #0,0,0: 97:[54, 112] Operation: 58+54=112
Exploring Operation: 54/54=1, Resulting Numbers: [58, 1]
Generated Node #0,0,1: 97:[58, 1] Operation: 54/54=1
Exploring Operation: 54+54=108, Resulting Numbers: [58, 108]
Generated Node #0,0,2: 97:[58, 108] Operation: 54+54=108
Exploring Operation: 58+54=112, Resulting Numbers: [54, 112]
Generated Node #0,0,3: 97:[54, 112] Operation: 58+54=112
Moving to Node #0,0,2
Current State: 97:[58, 108], Operations: ['6*9=54', '54+54=108']
Exploring Operation: 58+108=166, Resulting Numbers: [166]
166,97 unequal: No Solution
Exploring Operation: 108-58=50, Resulting Numbers: [50]
50,97 unequal: No Solution
Exploring Operation: 58*108=6264, Resulting Numbers: [6264]
6264,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[54, 112], Operations: ['6*9=54', '58+54=112']
Exploring Operation: 54+112=166, Resulting Numbers: [166]
166,97 unequal: No Solution
Exploring Operation: 112-54=58, Resulting Numbers: [58]
58,97 unequal: No Solution
Exploring Operation: 54*112=6048, Resulting Numbers: [6048]
6048,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[54, 112], Operations: ['6*9=54', '58+54=112']
Exploring Operation: 54*112=6048, Resulting Numbers: [6048]
6048,97 unequal: No Solution
Exploring Operation: 112-54=58, Resulting Numbers: [58]
58,97 unequal: No Solution
Exploring Operation: 54+112=166, Resulting Numbers: [166]
166,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[58, 1], Operations: ['6*9=54', '54/54=1']
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,97 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,97 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,97 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[9, 54, 64], Operations: ['58+6=64']
Exploring Operation: 64-9=55, Resulting Numbers: [54, 55]
Generated Node #0,1,0: 97:[54, 55] Operation: 64-9=55
Exploring Operation: 54-9=45, Resulting Numbers: [64, 45]
Generated Node #0,1,1: 97:[64, 45] Operation: 54-9=45
Exploring Operation: 9+54=63, Resulting Numbers: [64, 63]
Generated Node #0,1,2: 97:[64, 63] Operation: 9+54=63
Exploring Operation: 9+64=73, Resulting Numbers: [54, 73]
Generated Node #0,1,3: 97:[54, 73] Operation: 9+64=73
Moving to Node #0,1,2
Current State: 97:[64, 63], Operations: ['58+6=64', '9+54=63']
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 64*63=4032, Resulting Numbers: [4032]
4032,97 unequal: No Solution
Exploring Operation: 64+63=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[54, 73], Operations: ['58+6=64', '9+64=73']
Exploring Operation: 54+73=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 54*73=3942, Resulting Numbers: [3942]
3942,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[64, 45], Operations: ['58+6=64', '54-9=45']
Exploring Operation: 64*45=2880, Resulting Numbers: [2880]
2880,97 unequal: No Solution
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 64+45=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[54, 55], Operations: ['58+6=64', '64-9=55']
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 54*55=2970, Resulting Numbers: [2970]
2970,97 unequal: No Solution
Exploring Operation: 54+55=109, Resulting Numbers: [109]
109,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[6, 54, 67], Operations: ['58+9=67']
Exploring Operation: 67-6=61, Resulting Numbers: [54, 61]
Generated Node #0,2,0: 97:[54, 61] Operation: 67-6=61
Exploring Operation: 54-6=48, Resulting Numbers: [67, 48]
Generated Node #0,2,1: 97:[67, 48] Operation: 54-6=48
Exploring Operation: 6+67=73, Resulting Numbers: [54, 73]
Generated Node #0,2,2: 97:[54, 73] Operation: 6+67=73
Exploring Operation: 6+54=60, Resulting Numbers: [67, 60]
Generated Node #0,2,3: 97:[67, 60] Operation: 6+54=60
Moving to Node #0,2,2
Current State: 97:[54, 73], Operations: ['58+9=67', '6+67=73']
Exploring Operation: 54+73=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 54*73=3942, Resulting Numbers: [3942]
3942,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[67, 60], Operations: ['58+9=67', '6+54=60']
Exploring Operation: 67+60=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Exploring Operation: 67-60=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 67*60=4020, Resulting Numbers: [4020]
4020,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[67, 48], Operations: ['58+9=67', '54-6=48']
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 67+48=115, Resulting Numbers: [115]
115,97 unequal: No Solution
Exploring Operation: 67*48=3216, Resulting Numbers: [3216]
3216,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[54, 61], Operations: ['58+9=67', '67-6=61']
Exploring Operation: 54*61=3294, Resulting Numbers: [3294]
3294,97 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 54+61=115, Resulting Numbers: [115]
115,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[58, 54, 15], Operations: ['6+9=15']
Exploring Operation: 58+15=73, Resulting Numbers: [54, 73]
Generated Node #0,3,0: 97:[54, 73] Operation: 58+15=73
Exploring Operation: 58-15=43, Resulting Numbers: [54, 43]
Generated Node #0,3,1: 97:[54, 43] Operation: 58-15=43
Exploring Operation: 54+15=69, Resulting Numbers: [58, 69]
Generated Node #0,3,2: 97:[58, 69] Operation: 54+15=69
Exploring Operation: 58+54=112, Resulting Numbers: [15, 112]
Generated Node #0,3,3: 97:[15, 112] Operation: 58+54=112
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 97:[54, 73], Operations: ['6+9=15', '58+15=73']
Exploring Operation: 54+73=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Exploring Operation: 54*73=3942, Resulting Numbers: [3942]
3942,97 unequal: No Solution
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,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,3,2
Current State: 97:[58, 69], Operations: ['6+9=15', '54+15=69']
Exploring Operation: 58*69=4002, Resulting Numbers: [4002]
4002,97 unequal: No Solution
Exploring Operation: 58+69=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Exploring Operation: 69-58=11, Resulting Numbers: [11]
11,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,3,1
Current State: 97:[54, 43], Operations: ['6+9=15', '58-15=43']
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[58, 6, 9, 54], Operations: []
Exploring Operation: 6+9=15, Resulting Numbers: [58, 54, 15]
Generated Node #0,3: 97:[58, 54, 15] Operation: 6+9=15
Moving to Node #0,3
Current State: 97:[58, 54, 15], Operations: ['6+9=15']
Exploring Operation: 58-15=43, Resulting Numbers: [54, 43]
Generated Node #0,3,1: 97:[54, 43] Operation: 58-15=43
Moving to Node #0,3,1
Current State: 97:[54, 43], Operations: ['6+9=15', '58-15=43']
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.940972 | hs_4 | mult_heuristic |
[
73,
74,
22,
93
] | 76 | [
"73+74=147",
"93-22=71",
"147-71=76"
] | Current State: 76:[73, 74, 22, 93], Operations: []
Exploring Operation: 73+74=147, Resulting Numbers: [22, 93, 147]
Generated Node #2: [22, 93, 147] from Operation: 73+74=147
Current State: 76:[22, 93, 147], Operations: ['73+74=147']
Exploring Operation: 93-22=71, Resulting Numbers: [147, 71]
Generated Node #3: [147, 71] from Operation: 93-22=71
Current State: 76:[147, 71], Operations: ['73+74=147', '93-22=71']
Exploring Operation: 147-71=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[73, 74, 22, 93], Operations: []
Exploring Operation: 93-74=19, Resulting Numbers: [73, 22, 19]
Generated Node #0,0: 76:[73, 22, 19] Operation: 93-74=19
Exploring Operation: 93-73=20, Resulting Numbers: [74, 22, 20]
Generated Node #0,1: 76:[74, 22, 20] Operation: 93-73=20
Moving to Node #0,0
Current State: 76:[73, 22, 19], Operations: ['93-74=19']
Exploring Operation: 22+19=41, Resulting Numbers: [73, 41]
Generated Node #0,0,0: 76:[73, 41] Operation: 22+19=41
Exploring Operation: 22-19=3, Resulting Numbers: [73, 3]
Generated Node #0,0,1: 76:[73, 3] Operation: 22-19=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[73, 3], Operations: ['93-74=19', '22-19=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[73, 74, 22, 93], Operations: []
Exploring Operation: 93-74=19, Resulting Numbers: [73, 22, 19]
Generated Node #0,0: 76:[73, 22, 19] Operation: 93-74=19
Moving to Node #0,0
Current State: 76:[73, 22, 19], Operations: ['93-74=19']
Exploring Operation: 22-19=3, Resulting Numbers: [73, 3]
Generated Node #0,0,1: 76:[73, 3] Operation: 22-19=3
Moving to Node #0,0,1
Current State: 76:[73, 3], Operations: ['93-74=19', '22-19=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
24,
7,
38,
22
] | 52 | [
"24-22=2",
"7*2=14",
"38+14=52"
] | Current State: 52:[24, 7, 38, 22], Operations: []
Exploring Operation: 24-22=2, Resulting Numbers: [7, 38, 2]
Generated Node #2: [7, 38, 2] from Operation: 24-22=2
Current State: 52:[7, 38, 2], Operations: ['24-22=2']
Exploring Operation: 7*2=14, Resulting Numbers: [38, 14]
Generated Node #3: [38, 14] from Operation: 7*2=14
Current State: 52:[38, 14], Operations: ['24-22=2', '7*2=14']
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[24, 7, 38, 22], Operations: []
Exploring Operation: 38-7=31, Resulting Numbers: [24, 22, 31]
Generated Node #0,0: 52:[24, 22, 31] Operation: 38-7=31
Exploring Operation: 38-22=16, Resulting Numbers: [24, 7, 16]
Generated Node #0,1: 52:[24, 7, 16] Operation: 38-22=16
Exploring Operation: 38-24=14, Resulting Numbers: [7, 22, 14]
Generated Node #0,2: 52:[7, 22, 14] Operation: 38-24=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[24, 7, 16], Operations: ['38-22=16']
Exploring Operation: 7+16=23, Resulting Numbers: [24, 23]
Generated Node #0,1,0: 52:[24, 23] Operation: 7+16=23
Exploring Operation: 24-7=17, Resulting Numbers: [16, 17]
Generated Node #0,1,1: 52:[16, 17] Operation: 24-7=17
Exploring Operation: 16-7=9, Resulting Numbers: [24, 9]
Generated Node #0,1,2: 52:[24, 9] Operation: 16-7=9
Moving to Node #0,1,0
Current State: 52:[24, 23], Operations: ['38-22=16', '7+16=23']
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,52 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[24, 9], Operations: ['38-22=16', '16-7=9']
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,52 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[16, 17], Operations: ['38-22=16', '24-7=17']
Exploring Operation: 16*17=272, Resulting Numbers: [272]
272,52 unequal: No Solution
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[7, 22, 14], Operations: ['38-24=14']
Exploring Operation: 7+22=29, Resulting Numbers: [14, 29]
Generated Node #0,2,0: 52:[14, 29] Operation: 7+22=29
Exploring Operation: 22-7=15, Resulting Numbers: [14, 15]
Generated Node #0,2,1: 52:[14, 15] Operation: 22-7=15
Exploring Operation: 14/7=2, Resulting Numbers: [22, 2]
Generated Node #0,2,2: 52:[22, 2] Operation: 14/7=2
Moving to Node #0,2,1
Current State: 52:[14, 15], Operations: ['38-24=14', '22-7=15']
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,52 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[14, 29], Operations: ['38-24=14', '7+22=29']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 14*29=406, Resulting Numbers: [406]
406,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[22, 2], Operations: ['38-24=14', '14/7=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[24, 22, 31], Operations: ['38-7=31']
Exploring Operation: 22+31=53, Resulting Numbers: [24, 53]
Generated Node #0,0,0: 52:[24, 53] Operation: 22+31=53
Exploring Operation: 24-22=2, Resulting Numbers: [31, 2]
Generated Node #0,0,1: 52:[31, 2] Operation: 24-22=2
Exploring Operation: 31-22=9, Resulting Numbers: [24, 9]
Generated Node #0,0,2: 52:[24, 9] Operation: 31-22=9
Moving to Node #0,0,0
Current State: 52:[24, 53], Operations: ['38-7=31', '22+31=53']
Exploring Operation: 24+53=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 24*53=1272, Resulting Numbers: [1272]
1272,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[31, 2], Operations: ['38-7=31', '24-22=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[24, 9], Operations: ['38-7=31', '31-22=9']
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,52 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,52 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 |
[
62,
72,
2,
72
] | 59 | [
"62-2=60",
"72/72=1",
"60-1=59"
] | Current State: 59:[62, 72, 2, 72], Operations: []
Exploring Operation: 62-2=60, Resulting Numbers: [72, 72, 60]
Generated Node #2: [72, 72, 60] from Operation: 62-2=60
Current State: 59:[72, 72, 60], Operations: ['62-2=60']
Exploring Operation: 72/72=1, Resulting Numbers: [60, 1]
Generated Node #3: [60, 1] from Operation: 72/72=1
Current State: 59:[60, 1], Operations: ['62-2=60', '72/72=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[62, 72, 2, 72], Operations: []
Exploring Operation: 62-2=60, Resulting Numbers: [72, 72, 60]
Generated Node #0,0: 59:[72, 72, 60] Operation: 62-2=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[72, 72, 60], Operations: ['62-2=60']
Exploring Operation: 72/72=1, Resulting Numbers: [60, 1]
Generated Node #0,0,0: 59:[60, 1] Operation: 72/72=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[60, 1], Operations: ['62-2=60', '72/72=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[62, 72, 2, 72], Operations: []
Exploring Operation: 62-2=60, Resulting Numbers: [72, 72, 60]
Generated Node #0,0: 59:[72, 72, 60] Operation: 62-2=60
Moving to Node #0,0
Current State: 59:[72, 72, 60], Operations: ['62-2=60']
Exploring Operation: 72/72=1, Resulting Numbers: [60, 1]
Generated Node #0,0,0: 59:[60, 1] Operation: 72/72=1
Moving to Node #0,0,0
Current State: 59:[60, 1], Operations: ['62-2=60', '72/72=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
12,
48,
74,
30
] | 100 | [
"48/12=4",
"74+30=104",
"104-4=100"
] | Current State: 100:[12, 48, 74, 30], Operations: []
Exploring Operation: 48/12=4, Resulting Numbers: [74, 30, 4]
Generated Node #2: [74, 30, 4] from Operation: 48/12=4
Current State: 100:[74, 30, 4], Operations: ['48/12=4']
Exploring Operation: 74+30=104, Resulting Numbers: [4, 104]
Generated Node #3: [4, 104] from Operation: 74+30=104
Current State: 100:[4, 104], Operations: ['48/12=4', '74+30=104']
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[12, 48, 74, 30], Operations: []
Exploring Operation: 74-30=44, Resulting Numbers: [12, 48, 44]
Generated Node #0,0: 100:[12, 48, 44] Operation: 74-30=44
Exploring Operation: 74+30=104, Resulting Numbers: [12, 48, 104]
Generated Node #0,1: 100:[12, 48, 104] Operation: 74+30=104
Exploring Operation: 74-48=26, Resulting Numbers: [12, 30, 26]
Generated Node #0,2: 100:[12, 30, 26] Operation: 74-48=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[12, 48, 104], Operations: ['74+30=104']
Exploring Operation: 104-12=92, Resulting Numbers: [48, 92]
Generated Node #0,1,0: 100:[48, 92] Operation: 104-12=92
Exploring Operation: 48/12=4, Resulting Numbers: [104, 4]
Generated Node #0,1,1: 100:[104, 4] Operation: 48/12=4
Exploring Operation: 104-48=56, Resulting Numbers: [12, 56]
Generated Node #0,1,2: 100:[12, 56] Operation: 104-48=56
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[104, 4], Operations: ['74+30=104', '48/12=4']
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[12, 48, 74, 30], Operations: []
Exploring Operation: 74+30=104, Resulting Numbers: [12, 48, 104]
Generated Node #0,1: 100:[12, 48, 104] Operation: 74+30=104
Moving to Node #0,1
Current State: 100:[12, 48, 104], Operations: ['74+30=104']
Exploring Operation: 48/12=4, Resulting Numbers: [104, 4]
Generated Node #0,1,1: 100:[104, 4] Operation: 48/12=4
Moving to Node #0,1,1
Current State: 100:[104, 4], Operations: ['74+30=104', '48/12=4']
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
81,
81,
23,
4
] | 28 | [
"81/81=1",
"23+4=27",
"1+27=28"
] | Current State: 28:[81, 81, 23, 4], Operations: []
Exploring Operation: 81/81=1, Resulting Numbers: [23, 4, 1]
Generated Node #2: [23, 4, 1] from Operation: 81/81=1
Current State: 28:[23, 4, 1], Operations: ['81/81=1']
Exploring Operation: 23+4=27, Resulting Numbers: [1, 27]
Generated Node #3: [1, 27] from Operation: 23+4=27
Current State: 28:[1, 27], Operations: ['81/81=1', '23+4=27']
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[81, 81, 23, 4], Operations: []
Exploring Operation: 81/81=1, Resulting Numbers: [23, 4, 1]
Generated Node #0,0: 28:[23, 4, 1] Operation: 81/81=1
Exploring Operation: 81-81=0, Resulting Numbers: [23, 4, 0]
Generated Node #0,1: 28:[23, 4, 0] Operation: 81-81=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[23, 4, 1], Operations: ['81/81=1']
Exploring Operation: 23+1=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 28:[4, 24] Operation: 23+1=24
Exploring Operation: 23+4=27, Resulting Numbers: [1, 27]
Generated Node #0,0,1: 28:[1, 27] Operation: 23+4=27
Moving to Node #0,0,1
Current State: 28:[1, 27], Operations: ['81/81=1', '23+4=27']
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[81, 81, 23, 4], Operations: []
Exploring Operation: 81/81=1, Resulting Numbers: [23, 4, 1]
Generated Node #0,0: 28:[23, 4, 1] Operation: 81/81=1
Moving to Node #0,0
Current State: 28:[23, 4, 1], Operations: ['81/81=1']
Exploring Operation: 23+4=27, Resulting Numbers: [1, 27]
Generated Node #0,0,1: 28:[1, 27] Operation: 23+4=27
Moving to Node #0,0,1
Current State: 28:[1, 27], Operations: ['81/81=1', '23+4=27']
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
90,
9,
4,
57
] | 38 | [
"90+9=99",
"4+57=61",
"99-61=38"
] | Current State: 38:[90, 9, 4, 57], Operations: []
Exploring Operation: 90+9=99, Resulting Numbers: [4, 57, 99]
Generated Node #2: [4, 57, 99] from Operation: 90+9=99
Current State: 38:[4, 57, 99], Operations: ['90+9=99']
Exploring Operation: 4+57=61, Resulting Numbers: [99, 61]
Generated Node #3: [99, 61] from Operation: 4+57=61
Current State: 38:[99, 61], Operations: ['90+9=99', '4+57=61']
Exploring Operation: 99-61=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[90, 9, 4, 57], Operations: []
Exploring Operation: 90-57=33, Resulting Numbers: [9, 4, 33]
Generated Node #0,0: 38:[9, 4, 33] Operation: 90-57=33
Exploring Operation: 90/9=10, Resulting Numbers: [4, 57, 10]
Generated Node #0,1: 38:[4, 57, 10] Operation: 90/9=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[9, 4, 33], Operations: ['90-57=33']
Exploring Operation: 9*4=36, Resulting Numbers: [33, 36]
Generated Node #0,0,0: 38:[33, 36] Operation: 9*4=36
Exploring Operation: 9+33=42, Resulting Numbers: [4, 42]
Generated Node #0,0,1: 38:[4, 42] Operation: 9+33=42
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[4, 42], Operations: ['90-57=33', '9+33=42']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[90, 9, 4, 57], Operations: []
Exploring Operation: 90-57=33, Resulting Numbers: [9, 4, 33]
Generated Node #0,0: 38:[9, 4, 33] Operation: 90-57=33
Moving to Node #0,0
Current State: 38:[9, 4, 33], Operations: ['90-57=33']
Exploring Operation: 9+33=42, Resulting Numbers: [4, 42]
Generated Node #0,0,1: 38:[4, 42] Operation: 9+33=42
Moving to Node #0,0,1
Current State: 38:[4, 42], Operations: ['90-57=33', '9+33=42']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
74,
54,
25,
38
] | 43 | [
"74-54=20",
"25+38=63",
"63-20=43"
] | Current State: 43:[74, 54, 25, 38], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [25, 38, 20]
Generated Node #2: [25, 38, 20] from Operation: 74-54=20
Current State: 43:[25, 38, 20], Operations: ['74-54=20']
Exploring Operation: 25+38=63, Resulting Numbers: [20, 63]
Generated Node #3: [20, 63] from Operation: 25+38=63
Current State: 43:[20, 63], Operations: ['74-54=20', '25+38=63']
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[74, 54, 25, 38], Operations: []
Exploring Operation: 74-25=49, Resulting Numbers: [54, 38, 49]
Generated Node #0,0: 43:[54, 38, 49] Operation: 74-25=49
Exploring Operation: 74-38=36, Resulting Numbers: [54, 25, 36]
Generated Node #0,1: 43:[54, 25, 36] Operation: 74-38=36
Exploring Operation: 74-54=20, Resulting Numbers: [25, 38, 20]
Generated Node #0,2: 43:[25, 38, 20] Operation: 74-54=20
Exploring Operation: 54-25=29, Resulting Numbers: [74, 38, 29]
Generated Node #0,3: 43:[74, 38, 29] Operation: 54-25=29
Exploring Operation: 25+38=63, Resulting Numbers: [74, 54, 63]
Generated Node #0,4: 43:[74, 54, 63] Operation: 25+38=63
Moving to Node #0,0
Current State: 43:[54, 38, 49], Operations: ['74-25=49']
Exploring Operation: 54-38=16, Resulting Numbers: [49, 16]
Generated Node #0,0,0: 43:[49, 16] Operation: 54-38=16
Exploring Operation: 54+38=92, Resulting Numbers: [49, 92]
Generated Node #0,0,1: 43:[49, 92] Operation: 54+38=92
Exploring Operation: 38+49=87, Resulting Numbers: [54, 87]
Generated Node #0,0,2: 43:[54, 87] Operation: 38+49=87
Exploring Operation: 54-49=5, Resulting Numbers: [38, 5]
Generated Node #0,0,3: 43:[38, 5] Operation: 54-49=5
Exploring Operation: 49-38=11, Resulting Numbers: [54, 11]
Generated Node #0,0,4: 43:[54, 11] Operation: 49-38=11
Moving to Node #0,1
Current State: 43:[54, 25, 36], Operations: ['74-38=36']
Exploring Operation: 36-25=11, Resulting Numbers: [54, 11]
Generated Node #0,1,0: 43:[54, 11] Operation: 36-25=11
Exploring Operation: 25+36=61, Resulting Numbers: [54, 61]
Generated Node #0,1,1: 43:[54, 61] Operation: 25+36=61
Exploring Operation: 54-25=29, Resulting Numbers: [36, 29]
Generated Node #0,1,2: 43:[36, 29] Operation: 54-25=29
Exploring Operation: 54+25=79, Resulting Numbers: [36, 79]
Generated Node #0,1,3: 43:[36, 79] Operation: 54+25=79
Exploring Operation: 54-36=18, Resulting Numbers: [25, 18]
Generated Node #0,1,4: 43:[25, 18] Operation: 54-36=18
Moving to Node #0,2
Current State: 43:[25, 38, 20], Operations: ['74-54=20']
Exploring Operation: 25-20=5, Resulting Numbers: [38, 5]
Generated Node #0,2,0: 43:[38, 5] Operation: 25-20=5
Exploring Operation: 38+20=58, Resulting Numbers: [25, 58]
Generated Node #0,2,1: 43:[25, 58] Operation: 38+20=58
Exploring Operation: 38-20=18, Resulting Numbers: [25, 18]
Generated Node #0,2,2: 43:[25, 18] Operation: 38-20=18
Exploring Operation: 25+38=63, Resulting Numbers: [20, 63]
Generated Node #0,2,3: 43:[20, 63] Operation: 25+38=63
Exploring Operation: 25+20=45, Resulting Numbers: [38, 45]
Generated Node #0,2,4: 43:[38, 45] Operation: 25+20=45
Moving to Node #0,3
Current State: 43:[74, 38, 29], Operations: ['54-25=29']
Exploring Operation: 74-38=36, Resulting Numbers: [29, 36]
Generated Node #0,3,0: 43:[29, 36] Operation: 74-38=36
Exploring Operation: 74+29=103, Resulting Numbers: [38, 103]
Generated Node #0,3,1: 43:[38, 103] Operation: 74+29=103
Exploring Operation: 74-29=45, Resulting Numbers: [38, 45]
Generated Node #0,3,2: 43:[38, 45] Operation: 74-29=45
Exploring Operation: 38+29=67, Resulting Numbers: [74, 67]
Generated Node #0,3,3: 43:[74, 67] Operation: 38+29=67
Exploring Operation: 38-29=9, Resulting Numbers: [74, 9]
Generated Node #0,3,4: 43:[74, 9] Operation: 38-29=9
Moving to Node #0,4
Current State: 43:[74, 54, 63], Operations: ['25+38=63']
Exploring Operation: 74-54=20, Resulting Numbers: [63, 20]
Generated Node #0,4,0: 43:[63, 20] Operation: 74-54=20
Exploring Operation: 74-63=11, Resulting Numbers: [54, 11]
Generated Node #0,4,1: 43:[54, 11] Operation: 74-63=11
Exploring Operation: 74+63=137, Resulting Numbers: [54, 137]
Generated Node #0,4,2: 43:[54, 137] Operation: 74+63=137
Exploring Operation: 63-54=9, Resulting Numbers: [74, 9]
Generated Node #0,4,3: 43:[74, 9] Operation: 63-54=9
Exploring Operation: 74+54=128, Resulting Numbers: [63, 128]
Generated Node #0,4,4: 43:[63, 128] Operation: 74+54=128
Moving to Node #0,2,4
Current State: 43:[38, 45], Operations: ['74-54=20', '25+20=45']
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[38, 45], Operations: ['54-25=29', '74-29=45']
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,43 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[36, 29], Operations: ['74-38=36', '54-25=29']
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 36+29=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 36*29=1044, Resulting Numbers: [1044]
1044,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[29, 36], Operations: ['54-25=29', '74-38=36']
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 29*36=1044, Resulting Numbers: [1044]
1044,43 unequal: No Solution
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[54, 61], Operations: ['74-38=36', '25+36=61']
Exploring Operation: 54*61=3294, Resulting Numbers: [3294]
3294,43 unequal: No Solution
Exploring Operation: 54+61=115, Resulting Numbers: [115]
115,43 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[49, 16], Operations: ['74-25=49', '54-38=16']
Exploring Operation: 49+16=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 49*16=784, Resulting Numbers: [784]
784,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[25, 58], Operations: ['74-54=20', '38+20=58']
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 25+58=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 25*58=1450, Resulting Numbers: [1450]
1450,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[20, 63], Operations: ['74-54=20', '25+38=63']
Exploring Operation: 20*63=1260, Resulting Numbers: [1260]
1260,43 unequal: No Solution
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[74, 54, 25, 38], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [25, 38, 20]
Generated Node #0,2: 43:[25, 38, 20] Operation: 74-54=20
Moving to Node #0,2
Current State: 43:[25, 38, 20], Operations: ['74-54=20']
Exploring Operation: 25+38=63, Resulting Numbers: [20, 63]
Generated Node #0,2,3: 43:[20, 63] Operation: 25+38=63
Moving to Node #0,2,3
Current State: 43:[20, 63], Operations: ['74-54=20', '25+38=63']
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.949653 | hs_5 | sum_heuristic |
[
13,
65,
52,
79
] | 22 | [
"65/13=5",
"79-52=27",
"27-5=22"
] | Current State: 22:[13, 65, 52, 79], Operations: []
Exploring Operation: 65/13=5, Resulting Numbers: [52, 79, 5]
Generated Node #2: [52, 79, 5] from Operation: 65/13=5
Current State: 22:[52, 79, 5], Operations: ['65/13=5']
Exploring Operation: 79-52=27, Resulting Numbers: [5, 27]
Generated Node #3: [5, 27] from Operation: 79-52=27
Current State: 22:[5, 27], Operations: ['65/13=5', '79-52=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[13, 65, 52, 79], Operations: []
Exploring Operation: 79-65=14, Resulting Numbers: [13, 52, 14]
Generated Node #0,0: 22:[13, 52, 14] Operation: 79-65=14
Moving to Node #0,0
Current State: 22:[13, 52, 14], Operations: ['79-65=14']
Exploring Operation: 52/13=4, Resulting Numbers: [14, 4]
Generated Node #0,0,0: 22:[14, 4] Operation: 52/13=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[14, 4], Operations: ['79-65=14', '52/13=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.