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.

A241692 Number of Carlitz compositions of n with exactly two descents.

Original entry on oeis.org

2, 5, 12, 27, 53, 98, 174, 296, 486, 781, 1222, 1874, 2827, 4195, 6138, 8873, 12675, 17918, 25095, 34832, 47954, 65529, 88911, 119842, 160552, 213841, 283266, 373318, 489601, 639149, 830750, 1075292, 1386313, 1780572, 2278703, 2906137, 3694123, 4680892
Offset: 6

Views

Author

Alois P. Heinz, Apr 27 2014

Keywords

Comments

No two adjacent parts of a Carlitz composition are equal.

Crossrefs

Column k=2 of A241701.

Programs

  • Maple
    b:= proc(n, i) option remember; `if`(n=0, 1,
           convert(series(add(`if`(i=j, 0, b(n-j, j)*
          `if`(j coeff(b(n, 0), x, 2):
    seq(a(n), n=6..50);