Periodic table: Difference between revisions

m
m (Adds memoization function.)
Line 1,260:
 
=={{header|Scheme}}==
The following is a minimal recursive implementation. It calculates the position of the requested element by the position of the previous element.
<syntaxhighlight lang="scheme">(define (position-increment n)
(cond
9

edits