Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Problem 2248. Bell Number calculator

Created by robin

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]

Tags

Problem Group

Solution Statistics

19 correct solutions 12 incorrect solutions
Last solution submitted on Jun 12, 2015

Solution Comments