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.

A056536 Mapping from half-antidiagonal reading of the triangle (as used in A028297) to the column-by-column reading of the triangular tables.

Original entry on oeis.org

1, 2, 4, 3, 7, 5, 11, 8, 6, 16, 12, 9, 22, 17, 13, 10, 29, 23, 18, 14, 37, 30, 24, 19, 15, 46, 38, 31, 25, 20, 56, 47, 39, 32, 26, 21, 67, 57, 48, 40, 33, 27, 79, 68, 58, 49, 41, 34, 28, 92, 80, 69, 59, 50, 42, 35, 106, 93, 81, 70, 60, 51, 43, 36, 121, 107, 94, 82, 71, 61, 52
Offset: 1

Views

Author

Antti Karttunen, Jun 20 2000

Keywords

Comments

Moves squares (A000290) to triangular numbers (A000217). See 1st formula.
This sequence may be regarded as a triangular array read by rows: 1; 2; 4, 3; 7, 5; 11, 8, 6; 16, 12, 9; 22, 17, 13, 10; .... with row sums: A079824 = [1, 2, 7, 12, 25, 37, 62, 84, ...]. - Philippe Deléham, Feb 16 2004

Examples

			As a triangular array read by rows:
    1;
    2;
    4,  3;
    7,  5;
   11,  8, 6;
   16, 12, 9;
   22, 17, 13, 10;
   29, 23, 18, 14;
   37, 30, 24, 19, 15;
   46, 38, 31, 25, 20;
   56, 47, 39, 32, 26, 21;
   67, 57, 48, 40, 33, 27;
   79, 68, 58, 49, 41, 34, 28;
   92, 80, 69, 59, 50, 42, 35;
  106, 93, 81, 70, 60, 51, 43, 36;
  ...
		

Crossrefs

Programs

  • Maple
    triang_perm := proc(upto_d) local a,i,j; a := []; for i from 1 to upto_d do for j from 1 to floor((i+1)/2) do a := [op(a),binomial((i-j)+1,2)+j]; od; od; RETURN(a); end;

Formula

a(A000290(i)) = A000217(i) for all i >= 1.
a(n) = A091018(n-1) + 1.

A090894 Numbers in n-th downward diagonal of triangle T : 0; 1, 2; 3, 4, 5; 6, 7, 8, 9; ...

Original entry on oeis.org

0, 1, 2, 3, 4, 6, 5, 7, 10, 8, 11, 15, 9, 12, 16, 21, 13, 17, 22, 28, 14, 18, 23, 29, 36, 19, 24, 30, 37, 45, 20, 25, 31, 38, 46, 55, 26, 32, 39, 47, 56, 66, 27, 33, 40, 48, 57, 67, 78, 34, 41, 49, 58, 68, 79, 91, 35, 42, 50, 59, 69, 80, 92, 105, 43, 51, 60, 70, 81, 93, 106, 120
Offset: 0

Views

Author

Philippe Deléham, Feb 25 2004

Keywords

Comments

Also the skewed triangle read by nonzero columns:
1, 2
0, 3, 4, 5
0, 0, 6, 7, 8, 9
0, 0, 0, 10,11,12,13,14
... (offset 0,0), - Ralf Stephan, Mar 09 2014

Crossrefs

See also A091018 (upward diagonal).

Formula

a(n) = A091995(n+1)-1.
As skewed triangle: T(n,k) = (n+1)*(n+2)/2 + k-n, for n <= k <= 2n+2. - Ralf Stephan, Mar 09 2014
Showing 1-2 of 2 results.