Padovan sequence: Difference between revisions
m
→Python: Un-idiomatic: Cleaned up some over-night graffiti.
m (→{{header|ALGOL 68}}: Correct "off-by-one" comments) |
m (→Python: Un-idiomatic: Cleaned up some over-night graffiti.) |
||
Line 1,422:
The L-system, recurrence and floor based algorithms match to n=31 .</pre>
===Python:
and a variant expressed in terms of a generic anamorphism (unfoldr):
<lang python>'''Padovan series'''
|