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.

A245093 Triangle read by rows in which row n lists the first n terms of A000203.

Original entry on oeis.org

1, 1, 3, 1, 3, 4, 1, 3, 4, 7, 1, 3, 4, 7, 6, 1, 3, 4, 7, 6, 12, 1, 3, 4, 7, 6, 12, 8, 1, 3, 4, 7, 6, 12, 8, 15, 1, 3, 4, 7, 6, 12, 8, 15, 13, 1, 3, 4, 7, 6, 12, 8, 15, 13, 18, 1, 3, 4, 7, 6, 12, 8, 15, 13, 18, 12, 1, 3, 4, 7, 6, 12, 8, 15, 13, 18, 12, 28
Offset: 1

Views

Author

Omar E. Pol, Jul 15 2014

Keywords

Comments

Reluctant sequence of A000203.
Row sums give A024916.
Has a symmetric representation - for more information see A237270.

Examples

			Triangle begins:
1;
1, 3;
1, 3, 4;
1, 3, 4, 7;
1, 3, 4, 7, 6;
1, 3, 4, 7, 6, 12;
1, 3, 4, 7, 6, 12, 8;
1, 3, 4, 7, 6, 12, 8, 15;
1, 3, 4, 7, 6, 12, 8, 15, 13;
1, 3, 4, 7, 6, 12, 8, 15, 13, 18;
1, 3, 4, 7, 6, 12, 8, 15, 13, 18, 12;
1, 3, 4, 7, 6, 12, 8, 15, 13, 18, 12, 28;
		

Crossrefs

Programs

  • Haskell
    import Data.List (inits)
    a245093 n k = a245093_tabl !! (n-1) !! (k-1)
    a245093_row n = a245093_tabl !! (n-1)
    a245093_tabl = tail $ inits $ a000203_list
    -- Reinhard Zumkeller, Dec 12 2015

Formula

T(n,k) = A000203(k), 1<=k<=n.