mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-05-12 17:18:30 +02:00
I prefer to do that this way.
This commit is contained in:
parent
e3d2fbd6e9
commit
62316f10c1
1 changed files with 2 additions and 2 deletions
|
@ -40,10 +40,10 @@ def OEIS_A000217():
|
|||
http://oeis.org/A000217
|
||||
Triangular numbers: a(n) = C(n+1,2) = n(n+1)/2 = 0+1+2+...+n.
|
||||
"""
|
||||
n = -1
|
||||
n = 0
|
||||
while True:
|
||||
n += 1
|
||||
yield (n*(n+1))/2
|
||||
n += 1
|
||||
|
||||
def fermat():
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue