OFFSET
0,3
COMMENTS
A unary-binary tree is one in which the degree of every node is <= 3.
a(n) is the smallest integer that is the sum of n distinct members of the complete sequence A000124. See A204009 for the binary vectors that select the terms from A000124. - Frank M Jackson, Jan 09 2012
FORMULA
a(n+1) = 1 + (a(n)*(a(n)+3))/2.
a(n) = A006894(n+1) - 1. - R. J. Mathar, Apr 23 2007
a(n) = C(a(n-1) + 2, 2). - Zerinvary Lajos, Jun 08 2007
From Jaroslav Krizek, Sep 11 2009: (Start)
a(n+1) = (a(n)+1)-th triangular numbers = A000217(a(n)+1).
a(n+1) = (a(n) + 1) * (a(n) + 2) / 2.
a(n+1) = A006894(n+2) - 1. (End)
MAPLE
a[0]:=0: for n to 10 do a[n]:= binomial(a[n-1]+2, 2) od: seq(a[n], n=0..10); # Zerinvary Lajos, Jun 08 2007
MATHEMATICA
Clear[a]; a[0] = 0; a[n_] := a[n] = 1 + (a[n-1]*(a[n-1]+3))/2; Table[a[n], {n, 0, 9}] (* Jean-François Alcover, Jan 31 2013 *)
PROG
(PARI) first(nn)= my(t=-1); vector(nn, n, t=t*(t+3)/2+1) \\ Ruud H.G. van Tol, Feb 07 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Antti Karttunen, Jun 02 2002
EXTENSIONS
Edited by Christian G. Bower, Oct 23 2002
a(10) added by Ruud H.G. van Tol, Feb 08 2026
STATUS
approved
