- eufa b(0) := a+b;
- eufa b(n+1) := (eufa b(n) - b) ⋅ eufa b(n) + b
Then
- eufa b(n+1) = b + ∏k=0...n eufa b(k)
Of course, if B := eufa b(k) - a for certain non-negative integer k then:
- eufa B(n) = eufa b(k+n)
For special values of integers a b, the sequence (eufa b(n) : n=0 1...) becomes the Euclid sequence, when (a b) := (1 1), or the Fermat sequence, when (a b) := (2 3); when b=1 then we suppress b by writing
Thus:
- e(n) = euf1(n) — the Euclid sequence;
- f(n) = euf2(n) — the Fermat sequence.
The following properties of an Euclid-Fermat sequence eufa b are equivalent:
- integers a b are relatively prime, i.e. gcd(a b) = 1;
- eufa b(k) and eufa b(n) are relatively prime whenever k and n are different.
- eufa b(n+1) = (eufa b(n) - b/2)2 + b - b2/4
No comments:
Post a Comment