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.

A171176 Triangle read by rows in which row n lists 3n-1 together with the first 2n-1 positive integers, in reverse order.

Original entry on oeis.org

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

Views

Author

Omar E. Pol, Feb 23 2010

Keywords

Comments

a(n) is also the length of the n-th L-toothpick added to the structure of A171166.

Examples

			Triangle begins:
   2,  1;
   5,  3,  2,  1;
   8,  5,  4,  3,  2,  1;
  11,  7,  6,  5,  4,  3,  2,  1;
  14,  9,  8,  7,  6,  5,  4,  3,  2, 1;
  17, 11, 10,  9,  8,  7,  6,  5,  4, 3, 2, 1;
  20, 13, 12, 11, 10,  9,  8,  7,  6, 5, 4, 3, 2, 1;
  23, 15, 14, 13, 12, 11, 10,  9,  8, 7, 6, 5, 4, 3, 2, 1;
  26, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1;
		

Crossrefs

Programs

  • Mathematica
    Table[{3n-1,Reverse[Range[2n-1]]},{n,10}]//Flatten (* Harvey P. Dale, Jun 26 2022 *)