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-1 of 1 results.

A292686 Sierpinski-type iteration: start with a(0)=1, at each step, replace 0 with 000 and 1 with 101.

Original entry on oeis.org

1, 101, 101000101, 101000101000000000101000101, 101000101000000000101000101000000000000000000000000000101000101000000000101000101
Offset: 0

Views

Author

M. F. Hasler, Oct 20 2017

Keywords

Comments

See A292687 for the decimal representation of a(n) viewed as a "binary number", i.e., as written in base 2.
The Sierpinski carpet (A153490) can be seen as 2-dimensional version of this 1-dimensional variant. The classical Sierpinski gasket triangle (Pascal's triangle mod 2) and "Rule 18" (or Rule 90, A070886) and "Rule 22" (A071029) have similar graphs.
The n-th term a(n) has 3^n digits, the middle third of which are all zero. The digits of a(n) are again the first and last 3^n digits of a(n+1), separated by 3^n zeros.

Examples

			a(0) = 1 -> 101 = a(1);
a(1) = 101 -> concat(101,000,101) = 101000101 = a(2).
		

Crossrefs

Cf. A292687 for the decimal representation of a(n) viewed as a "binary number", i.e., as written in base 2.
Cf. A153490 (Sierpinski carpet), A047999 (Sierpinski gasket = Pascal's triangle mod 2), A070886 (Rule 18 / Rule 90), A071029 (Rule 22).
Cf. A088917.

Programs

  • Mathematica
    A292686[nmax_]:=FoldList[Times,1,100^(3^Range[0,nmax-1])+1];A292686[5] (* Paolo Xausa, May 13 2023 *)
  • PARI
    a(n,a=1)=for(k=1,n,a=fromdigits(binary(a)*5,8));fromdigits(binary(a),10) \\ Illustration of the first formula.
    
  • PARI
    A292686(n)=prod(k=0,n-1,100^(3^k)+1)

Formula

a(n+1) = convert(5*a(n), from base 8, to base 2).
a(n+1) = (100^(3^n)+1)*a(n).
a(n) = Product_{k=0 .. n-1} (100^(3^k)+1).
Showing 1-1 of 1 results.