Implementation of SuperMemo Algorithm
I(1):=1 I(2):=6 for n>2 I(n):=I(n-1)*EF
where:
I(n) - inter-repetition interval after the n-th repetition (in days) EF - easiness factor reflecting the easiness of memorizing and retaining a given item in memory (later called the E-Factor).