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.

A341315 Triangle read by rows: T(n,k) = (n+k)/gcd(n,k), n>=0, 0<=k<=n.

Original entry on oeis.org

0, 1, 2, 1, 3, 2, 1, 4, 5, 2, 1, 5, 3, 7, 2, 1, 6, 7, 8, 9, 2, 1, 7, 4, 3, 5, 11, 2, 1, 8, 9, 10, 11, 12, 13, 2, 1, 9, 5, 11, 3, 13, 7, 15, 2, 1, 10, 11, 4, 13, 14, 5, 16, 17, 2, 1, 11, 6, 13, 7, 3, 8, 17, 9, 19, 2, 1, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 2, 1, 13, 7, 5, 4, 17, 3, 19, 5, 7, 11, 23, 2
Offset: 0

Views

Author

N. J. A. Sloane, Feb 17 2021

Keywords

Comments

We define gcd(0,0) = 0.
This is half of the array A341314. See that entry for further information.

Examples

			Triangle begins:
  [0]
  [1,  2]
  [1,  3,  2]
  [1,  4,  5,  2]
  [1,  5,  3,  7,  2]
  [1,  6,  7,  8,  9,  2]
  [1,  7,  4,  3,  5, 11,  2]
  [1,  8,  9, 10, 11, 12, 13,  2]
  [1,  9,  5, 11,  3, 13,  7, 15,  2]
  [1, 10, 11,  4, 13, 14,  5, 16, 17,  2]
  [1, 11,  6, 13,  7,  3,  8, 17,  9, 19, 2]
  [1, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 2]
  ...
		

Crossrefs

Cf. A341314. A054531 is essentially the same triangle.
See A341316 for the row sums.