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.

A261215 Triangle read by rows: T(n, k) is the number of squarefree integers x such that x<=primorial(n) and omega(n) = k with 0<=k<=n.

Original entry on oeis.org

1, 1, 1, 1, 3, 1, 1, 10, 7, 1, 1, 46, 62, 19, 1, 1, 343, 643, 359, 58, 1, 1, 3248, 7429, 5723, 1708, 152, 1, 1, 42331, 110373, 104928, 44365, 7926, 422, 1, 1, 646029, 1848729, 2024368, 1068664, 276833, 31108, 995, 1
Offset: 0

Views

Author

Michel Marcus, Aug 12 2015

Keywords

Examples

			Triangle begins:
1;
1, 1;
1, 3, 1;
1, 10, 7, 1;
1, 46, 62, 19, 1;
1, 343, 643, 359, 58, 1;
...
		

Crossrefs

Cf. A002110 (primorials), A000849 (1st column), A001221 (omega), A005117 (squarefrees), A092479 (similar triangle).

Programs

  • PARI
    primo(n) = prod(i=1, n, prime(i));
    tabl(nn) = {v = vector(1); na = 1; for (n=0, nn, nb = primo(n); for (i=na, primo(n), if (issquarefree(i), v[1+omega(i)]++);); print(v); v = concat(v, 0); na = nb + 1;);}