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.

Showing 1-2 of 2 results.

A374789 Distinct values of A374560, in order of appearance, with offset 0.

Original entry on oeis.org

0, 1, 3, 2, 4, 9, 5, 6, 10, 7, 12, 11, 8, 13, 27, 14, 15, 18, 28, 16, 19, 30, 29, 17, 21, 20, 31, 22, 36, 32, 33, 23, 24, 37, 34, 25, 39, 38, 35, 26, 40, 81, 41, 42, 45, 54, 82, 43, 46, 55, 84, 83, 44, 48, 47, 57, 56, 85, 49, 58, 90, 86, 87, 50, 51, 63, 59, 60
Offset: 0

Views

Author

Rémy Sigrist, Jul 20 2024

Keywords

Comments

This sequence is a permutation of the nonnegative integers with inverse A374790.
This sequence has infinitely many fixed points (A003462 among others).

Examples

			The first terms of A374560 alongside the first terms of this sequence are:
  m   A374560(m)  n  a(n)
  --  ----------  -  ----
   0           0  0     0
   1           1  1     1
   2           1
   3           3  2     3
   4           2  3     2
   5           3
   6           4  4     4
   7           4
   8           4
   9           4
  10           9  5     9
  11           5  6     5
  12           6  7     6
		

Crossrefs

Cf. A003462, A374560, A374790 (inverse).

Programs

  • PARI
    \\ See Links section.

Formula

a(n) <= A003462(k) for any n <= A003462(k).

A374791 Irregular triangle T(n, k), n >= 0, k = 1..A120880(n), read by rows; the n-th lists the integers m such that A374560(m) = n.

Original entry on oeis.org

0, 1, 2, 4, 3, 5, 6, 7, 8, 9, 11, 13, 12, 17, 18, 24, 10, 14, 15, 16, 19, 20, 22, 26, 21, 23, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 39, 41, 43, 38, 42, 47, 48, 51, 52, 58, 62, 40, 49, 50, 60, 59, 61, 70, 71, 72, 73, 83, 85, 84, 97, 98, 112, 36, 44, 45, 46, 53, 54
Offset: 0

Views

Author

Rémy Sigrist, Jul 20 2024

Keywords

Comments

A374560 corresponds to a square array, but we consider it here as a flat sequence (when its values are read according along its antidiagonals).
As a flat sequence, this is a permutation of the nonnegative integers with inverse A374792.

Examples

			Triangle T(n, k) begins:
  n   n-th row
  --  ------------------------------
   0  0
   1  1, 2
   2  4
   3  3, 5
   4  6, 7, 8, 9
   5  11, 13
   6  12
   7  17, 18
   8  24
   9  10, 14
  10  15, 16, 19, 20
  11  22, 26
  12  21, 23, 25, 27
  13  28, 29, 30, 31, 32, 33, 34, 35
  14  37, 39, 41, 43
  15  38, 42
		

Crossrefs

Cf. A120880, A374560, A374792 (inverse).

Programs

  • PARI
    \\ See Links section.
Showing 1-2 of 2 results.