We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e252233 commit 0788930Copy full SHA for 0788930
src/sage/combinat/sloane_functions.py
@@ -603,7 +603,7 @@ def _eval(self, n):
603
from sage.rings.lazy_series_ring import LazyPowerSeriesRing
604
x = LazyPowerSeriesRing(ZZ, 'x').gen()
605
p = 1/((1-x)*(1-x**2)*(1-x**5)*(1-x**10))
606
- return ZZ(p.coefficient(n)
+ return ZZ(p.coefficient(n))
607
608
609
class A000009(SloaneSequence):
@@ -8327,7 +8327,7 @@ def perm_mh(m, h):
8327
for i in range(m):
8328
for j in range(n):
8329
if i <= j and j <= i + h:
8330
- A[i,j] = 1
+ A[i, j] = 1
8331
return A.permanent()
8332
8333
0 commit comments