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.

A007501 a(0) = 2; for n >= 0, a(n+1) = a(n)*(a(n)+1)/2.

Original entry on oeis.org

2, 3, 6, 21, 231, 26796, 359026206, 64449908476890321, 2076895351339769460477611370186681, 2156747150208372213435450937462082366919951682912789656986079991221
Offset: 0

Views

Author

Keywords

Comments

Number of nonisomorphic complete binary trees with leaves colored using two colors. - Brendan McKay, Feb 01 2001
With a(0) = 2, a(n+1) is the number of possible distinct sums between any number of elements in {1,...,a(n)}. - Derek Orr, Dec 13 2014

Examples

			Example for depth 2 (the nonisomorphic possibilities are AAAA, AAAB, AABB, ABAB, ABBB, BBBB):
         o
        / \
       /   \
      o     o
     / \   / \
    /   \ /   \
    A   B B   B
		

References

  • W. H. Cutler, Subdividing a Box into Completely Incongruent Boxes, J. Rec. Math., 12 (1979), 104-111.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Cf. A117872 (parity), A275342 (2-adic valuation).
Cf. A129440.
Cf. A013589 (start=4), A050542 (start=5), A050548 (start=7), A050536 (start=8), A050909 (start=9).

Programs

  • Haskell
    a007501 n = a007501_list !! n
    a007501_list = iterate a000217 2  -- Reinhard Zumkeller, Aug 15 2013
  • Mathematica
    f[n_Integer] := n(n + 1)/2; NestList[f, 2, 10]
  • PARI
    a(n)=if(n<1,2,a(n-1)*(1+a(n-1))/2)
    

Formula

a(n) = A006893(n+1) + 1.
a(n+1) = A000217(a(n)). - Reinhard Zumkeller, Aug 15 2013
a(n) ~ 2 * c^(2^n), where c = 1.34576817070125852633753712522207761954658547520962441996... . - Vaclav Kotesovec, Dec 17 2014
a(n) = A145272(n) + a(n-1). - J.S. Seneschal, Jul 17 2025

A145273 Parity sequence of A006893.

Original entry on oeis.org

1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1
Offset: 1

Views

Author

Greg Huber, Oct 06 2008

Keywords

Comments

Complement of the parity sequence of iterated triangular numbers (A117872).

Crossrefs

Cf. A145272. Complement of A117872
Showing 1-2 of 2 results.