cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A225162 Denominators of the sequence of fractions f(n) defined recursively by f(1) = 10/1; f(n+1) is chosen so that the sum and the product of the first n terms of the sequence are equal.

Original entry on oeis.org

1, 9, 91, 9181, 92480761, 9304615055139121, 93529710772930377727152664652641, 9394835719974970982728198049552322910011762062750179997188274881
Offset: 1

Views

Author

Martin Renner, Apr 30 2013

Keywords

Comments

Numerators of the sequence of fractions f(n) is A165428(n+1), hence sum(A165428(i+1)/a(i),i=1..n) = product(A165428(i+1)/a(i),i=1..n) = A165428(n+2)/A225169(n) = A220812(n-1)/A225169(n).

Examples

			f(n) = 10, 10/9, 100/91, 10000/9181, ...
10 + 10/9 = 10 * 10/9 = 100/9; 10 + 10/9 + 100/91 = 10 * 10/9 * 100/91 = 10000/819; ...
		

Crossrefs

Programs

  • Maple
    b:=n->10^(2^(n-2)); # n > 1
    b(1):=10;
    p:=proc(n) option remember; p(n-1)*a(n-1); end;
    p(1):=1;
    a:=proc(n) option remember; b(n)-p(n); end;
    a(1):=1;
    seq(a(i),i=1..8);

Formula

a(n) = 10^(2^(n-2)) - product(a(i),i=1..n-1), n > 1 and a(1) = 1.
a(n) = 10^(2^(n-2)) - p(n) with a(1) = 1 and p(n) = p(n-1)*a(n-1) with p(1) = 1.

A225169 Denominators of the sequence s(n) of the sum resp. product of fractions f(n) defined recursively by f(1) = 10/1; f(n+1) is chosen so that the sum and the product of the first n terms of the sequence are equal.

Original entry on oeis.org

1, 9, 819, 7519239, 695384944860879, 6470289227069622272847335347359, 605164280025029017271801950447677089988237937249820002811725119
Offset: 1

Views

Author

Martin Renner, Apr 30 2013

Keywords

Comments

Numerators of the sequence s(n) of the sum resp. product of fractions f(n) is A165428(n+2), hence sum(A165428(i+1)/A225162(i),i=1..n) = product(A165428(i+1)/A225162(i),i=1..n) = A165428(n+2)/a(n) = A220812(n-1)/a(n).

Examples

			f(n) = 10, 10/9, 100/91, 10000/9181, ...
10 + 10/9 = 10 * 10/9 = 100/9; 10 + 10/9 + 100/91 = 10 * 10/9 * 100/91 = 10000/819; ...
s(n) = 1/b(n) = 10, 100/9, 10000/819, ...
		

Crossrefs

Programs

  • Maple
    b:=proc(n) option remember; b(n-1)-b(n-1)^2; end:
    b(1):=1/10;
    a:=n->10^(2^(n-1))*b(n);
    seq(a(i),i=1..7);

Formula

a(n) = 10^(2^(n-1))*b(n) where b(n)=b(n-1)-b(n-1)^2 with b(1)=1/10.
Showing 1-2 of 2 results.