Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
no period at end of input description, break long doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
mantepse committed Sep 3, 2022
1 parent f2a3caf commit 8b6a752
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/sage/rings/lazy_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -4893,10 +4893,10 @@ def arithmetic_product(self, *args, check=True):
INPUT:
- ``g`` -- a cycle index series having the same parent as ``self``.
- ``g`` -- a cycle index series having the same parent as ``self``
- ``check`` -- (default: ``True``) a Boolean which, when set
to ``False``, will cause input checks to be skipped.
to ``False``, will cause input checks to be skipped
OUTPUT:
Expand Down Expand Up @@ -4924,7 +4924,12 @@ def arithmetic_product(self, *args, check=True):
sage: c = L(lambda n: C[n])
sage: Lplus = L(lambda n: p([1]*n), valuation=1)
sage: r = c.arithmetic_product(Lplus); r
m[1] + (3*m[1,1]+2*m[2]) + (8*m[1,1,1]+4*m[2,1]+2*m[3]) + (42*m[1,1,1,1]+21*m[2,1,1]+12*m[2,2]+7*m[3,1]+3*m[4]) + (144*m[1,1,1,1,1]+72*m[2,1,1,1]+36*m[2,2,1]+24*m[3,1,1]+12*m[3,2]+6*m[4,1]+2*m[5]) + (1440*m[1,1,1,1,1,1]+720*m[2,1,1,1,1]+360*m[2,2,1,1]+184*m[2,2,2]+240*m[3,1,1,1]+120*m[3,2,1]+42*m[3,3]+60*m[4,1,1]+32*m[4,2]+12*m[5,1]+4*m[6]) + O^7
m[1] + (3*m[1,1]+2*m[2])
+ (8*m[1,1,1]+4*m[2,1]+2*m[3])
+ (42*m[1,1,1,1]+21*m[2,1,1]+12*m[2,2]+7*m[3,1]+3*m[4])
+ (144*m[1,1,1,1,1]+72*m[2,1,1,1]+36*m[2,2,1]+24*m[3,1,1]+12*m[3,2]+6*m[4,1]+2*m[5])
+ ...
+ O^7
In particular, the number of regular octopuses is::
Expand Down

0 comments on commit 8b6a752

Please sign in to comment.