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.

A339496 T(n, k) = Sum(divisors(k) union {k*j : j = 2..floor(n/k)}). Triangle read by rows.

Original entry on oeis.org

1, 3, 3, 6, 3, 4, 10, 7, 4, 7, 15, 7, 4, 7, 6, 21, 13, 10, 7, 6, 12, 28, 13, 10, 7, 6, 12, 8, 36, 21, 10, 15, 6, 12, 8, 15, 45, 21, 19, 15, 6, 12, 8, 15, 13, 55, 31, 19, 15, 16, 12, 8, 15, 13, 18, 66, 31, 19, 15, 16, 12, 8, 15, 13, 18, 12, 78, 43, 31, 27, 16, 24, 8, 15, 13, 18, 12, 28
Offset: 1

Views

Author

Peter Luschny, Dec 31 2020

Keywords

Comments

For the connection with paths in the divisor graph of {1,...,n} see the comment in A339492.

Examples

			The triangle starts:
[1]                       1;
[2]                      3, 3;
[3]                    6, 3, 4;
[4]                  10, 7, 4, 7;
[5]                15, 7, 4, 7, 6;
[6]              21, 13, 10, 7, 6, 12;
[7]            28, 13, 10, 7, 6, 12, 8;
[8]          36, 21, 10, 15, 6, 12, 8, 15;
[9]        45, 21, 19, 15, 6, 12, 8, 15, 13;
[10]     55, 31, 19, 15, 16, 12, 8, 15, 13, 18.
		

Crossrefs

T(n, 1) = A000217(n), T(n, n) = A000203(n), T(2n, n) = A224880(n).

Programs

  • Maple
    t := (n, k) -> NumberTheory:-Divisors(k) union {seq(k*j,j=2..n/k)}:
    T := (n, k) -> add(j, j = t(n, k)):
    for n from 1 to 10 do seq(T(n, k), k=1..n) od;