MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Calculate a vector of Bell numbers for sets up to length n. Bell numbers are the maximum number of partitions of a set. See the Wikipedia entry for Bell Number.

Example

Belln(8) = [1 1 2 5 15 52 203 877 4140]

21 correct solutions
13 incorrect solutions

Last solution submitted on Jul 26, 2015

1 player likes this problem

1 player likes this solution

1 Comment