Skip to content

Commit

Permalink
Reference added
Browse files Browse the repository at this point in the history
  • Loading branch information
Pontus-vB authored Nov 27, 2022
1 parent 1b234a8 commit 3522ca5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sympy/utilities/iterables.py
Original file line number Diff line number Diff line change
Expand Up @@ -2545,6 +2545,10 @@ def necklaces(n, k, free=False):
.. [1] http://mathworld.wolfram.com/Necklace.html
.. [2] Frank Ruskey, Carla Savage, and Terry Min Yih Wang,
Generating necklaces, Journal of Algorithms 13 (1992), 414–430;
https://doi.org/10.1016/0196-6774(92)90047-G
"""
# The FKM algorithm
if k == 0 and n > 0:
Expand Down

0 comments on commit 3522ca5

Please sign in to comment.