A225167 Denominators of the sequence s(n) of the sum resp. product of fractions f(n) defined recursively by f(1) = 8/1; f(n+1) is chosen so that the sum and the product of the first n terms of the sequence are equal.
1, 7, 399, 1475103, 22572192792639, 5844003553148435725257076863, 428857285713570950220841681681938481172663051541516755199
Offset: 1
Keywords
Examples
f(n) = 8, 8/7, 64/57, 4096/3697, ... 8 + 8/7 = 8 * 8/7 = 64/7; 8 + 8/7 + 64/57 = 8 * 8/7 * 64/57 = 4096/399; ... s(n) = 1/b(n) = 8, 64/7, 4096/399, ...
Programs
-
Maple
b:=proc(n) option remember; b(n-1)-b(n-1)^2; end: b(1):=1/8; a:=n->8^(2^(n-1))*b(n); seq(a(i),i=1..8);
Formula
a(n) = 8^(2^(n-1))*b(n) where b(n)=b(n-1)-b(n-1)^2 with b(1)=1/8.
Comments