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.

A278108 Irregular triangle read by rows: T(n,k) = floor(n/k^2) for 1 <= k^2 <= n.

Original entry on oeis.org

1, 2, 3, 4, 1, 5, 1, 6, 1, 7, 1, 8, 2, 9, 2, 1, 10, 2, 1, 11, 2, 1, 12, 3, 1, 13, 3, 1, 14, 3, 1, 15, 3, 1, 16, 4, 1, 1, 17, 4, 1, 1, 18, 4, 2, 1, 19, 4, 2, 1, 20, 5, 2, 1, 21, 5, 2, 1, 22, 5, 2, 1, 23, 5, 2, 1, 24, 6, 2, 1, 25, 6, 2, 1, 1, 26, 6, 2, 1, 1, 27, 6, 3, 1, 1, 28, 7, 3, 1, 1, 29, 7, 3, 1, 1
Offset: 1

Views

Author

Jason Kimberley, Feb 01 2017

Keywords

Comments

The row length sequence is A000196.

Examples

			The first 27 rows are:
1;
2;
3;
4, 1;
5, 1;
6, 1;
7, 1;
8, 2;
9, 2, 1;
10, 2, 1;
11, 2, 1;
12, 3, 1;
13, 3, 1;
14, 3, 1;
15, 3, 1;
16, 4, 1, 1;
17, 4, 1, 1;
18, 4, 2, 1;
19, 4, 2, 1;
20, 5, 2, 1;
21, 5, 2, 1;
22, 5, 2, 1;
23, 5, 2, 1;
24, 6, 2, 1;
25, 6, 2, 1, 1;
26, 6, 2, 1, 1;
27, 6, 3, 1, 1;
		

Crossrefs

Programs

  • Magma
    [n div k^2:k in[1..Isqrt(n)],n in[1..27]];