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.

A038750 A variant of the recurrence for A001190.

This page as a plain text file.
%I A038750 #5 Mar 30 2012 16:47:49
%S A038750 0,1,1,1,2,2,5,7,17,29,66,126,284,568,1281,2662,6017,12756,28992,
%T A038750 62621,142801,312129,714760,1578706,3626762,8074580,18606900,41716797,
%U A038750 96374235,217271226,503159109,1139963936,2645397326,6018491701
%N A038750 A variant of the recurrence for A001190.
%p A038750 A038750 := proc(n) option remember; local s,k; if n<=1 then RETURN(n); elif n <=3 then RETURN(1); else s := 0; if n mod 2 = 0 then s := A038750(n/2)*(A038750(n/2)+1)/2; for k from 1 to n/2-1 do s := s+A038750(k)*A038750(n-k); od; RETURN(s); else for k from 1 to (n-1)/2-1 do s := s+A038750(k)*A038750(n-k); od; RETURN(s); fi; fi; end;
%Y A038750 Cf. A001190, A038751.
%K A038750 nonn
%O A038750 0,5
%A A038750 _N. J. A. Sloane_, May 03 2000