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.

A327856 The upper left triangular section of square array A091255, read by rows.

Original entry on oeis.org

1, 1, 2, 1, 1, 3, 1, 2, 1, 4, 1, 1, 3, 1, 5, 1, 2, 3, 2, 3, 6, 1, 1, 1, 1, 1, 1, 7, 1, 2, 1, 4, 1, 2, 1, 8, 1, 1, 3, 1, 3, 3, 7, 1, 9, 1, 2, 3, 2, 5, 6, 1, 2, 3, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 11, 1, 2, 3, 4, 3, 6, 1, 4, 3, 6, 1, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 13, 1, 2, 1, 2, 1, 2, 7, 2, 7, 2, 1, 2, 1, 14
Offset: 1

Views

Author

Antti Karttunen, Sep 28 2019

Keywords

Examples

			The triangular table starts as:
  1,
  1, 2,
  1, 1, 3,
  1, 2, 1, 4,
  1, 1, 3, 1, 5,
  1, 2, 3, 2, 3, 6,
  1, 1, 1, 1, 1, 1, 7,
  1, 2, 1, 4, 1, 2, 1, 8,
  1, 1, 3, 1, 3, 3, 7, 1, 9,
  1, 2, 3, 2, 5, 6, 1, 2, 3, 10,
  ...
		

Crossrefs

Programs

  • PARI
    up_to = 105;
    A091255sq(a,b) = fromdigits(Vec(lift(gcd(Pol(binary(a))*Mod(1, 2),Pol(binary(b))*Mod(1, 2)))),2);
    A327856list(up_to) =  { my(v = vector(up_to), i=0); for(a=1,oo, for(col=1,a, i++; if(i > up_to, return(v)); v[i] = A091255sq(a,col))); (v); };
    v327856 = A327856list(up_to);
    A327856(n) = v327856[n];

Formula

A(n,k) = A091255(n,k), with k in range 1 .. n.
a(A000217(n)) = n.