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.

A072800 Composition of A030101 and A014486. Binary encodings of parenthesizations, Dyck paths and other Catalan structures reversed.

Original entry on oeis.org

0, 1, 5, 3, 21, 13, 19, 11, 7, 85, 53, 77, 45, 29, 83, 51, 75, 43, 27, 71, 39, 23, 15, 341, 213, 309, 181, 117, 333, 205, 301, 173, 109, 285, 157, 93, 61, 339, 211, 307, 179, 115, 331, 203, 299, 171, 107, 283, 155, 91, 59, 327, 199, 295, 167, 103, 279, 151, 87, 55
Offset: 0

Views

Author

Antti Karttunen, Jun 12 2002

Keywords

Comments

See A014486.

Crossrefs

Cf. A014486, A030101, A339570 (gives the denominators).

Programs

  • PARI
    isA014486(n) = { my(v=binary(n), t=0); for(i=1, #v, t+=if(v[i], 1, -1); if(t<0, return(0))); t==0; }; \\ From A014486
    A030101(n) = if(n<1,0,subst(Polrev(binary(n)),x,2));
    k=0; n=0; while(k<23714, if(isA014486(n), write("b072800.txt", k, " ", A030101(n)); k++); n++); \\ Antti Karttunen, Mar 28 2022

Formula

a(n) = A030101(A014486(n)).