mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-06-28 03:06:14 +02:00
Remove dead man walking set generator.
This commit is contained in:
parent
7c9530aa9d
commit
b31d830c76
2 changed files with 2 additions and 13 deletions
|
@ -37,14 +37,6 @@ def identity() -> Iterator[int]:
|
|||
yield n
|
||||
n += 1
|
||||
|
||||
def Dead_Man_Walking() -> Iterator[int]:
|
||||
"""Dead Man Walking.
|
||||
"""
|
||||
n = 0
|
||||
while True:
|
||||
yield n + 7
|
||||
n += 2
|
||||
|
||||
def triangular_numbers() -> Iterator[int]:
|
||||
"""http://oeis.org/A000217
|
||||
Triangular numbers: a(n) = C(n+1,2) = n(n+1)/2 = 0+1+2+...+n.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue