## 当前位置：网站首页>C, calculation method and source program of bell number

# C, calculation method and source program of bell number

2022-04-23 15:45:00 【Deep confusion】

# One 、 Eric · Temple · bell

Bell number is a series of integers in combinatorics , With Eric · Temple · bell （Eric Temple Bell） name ,

Eric · Temple · bell （ Born in 1883 year 2 month 7 Japan , Aberdeen, Aberdeen, Scotland , On 1960 year 12 month 21 Died in Watsonville, California, USA on the th ）, Scottish American mathematician 、 Educators and writers , He has made great contributions to analytical number theory .

bell stay 19 Immigrated to the United States at the age of , And immediately enter Stanford University , Two years later, he got his bachelor's degree there . after 1908 Year's efforts , He received a master's degree from the University of Washington . Again , After another year of preparatory school , He is in 1912 He received his doctorate in mathematics from Columbia University in . In the last few years , Bell is married , Try to be a mule Skinner 、 Ranchers 、 surveyor 、 Work in teachers and other industries . Bell accepted the position of teaching mathematics at the University of Washington immediately after receiving his doctorate , He has been a professor of mathematics at the school , until 1926 He was appointed professor of mathematics at California Institute of technology at the age of . from 1931 Year to 1933 year , He is president of the American Mathematical Association .

bell Published about 250 An academic article . Because of his work 《 Arithmetic interpretation 》（1921 year ）, He is in 1924 received Bôcher prize . His two books 《 Algebraic arithmetic 》（1927 year ） and 《 The development of Mathematics 》（1940 year ） Become the standard in this field , The latter is used clearly 、 Concise language outlines what bell considers the most important mathematical trends .

bell Best known is his best seller , Such as 《 Mathematical man 》（1937） and 《 The queen of mathematics and the servant of Science 》（1951）. He also wrote Fermat's Last Theorem , Last question （1961 year ） The history of . These works , Especially in Mathematics , Although quite bizarre , Not always historically accurate , But it still attracts a wide range of readers . Bell to John · Tyne wrote a lot of science fiction under his pseudonym , Include 《 Time flow 》（1946 year ）.

# Two 、 Calculation method and source program

Bell The definition of number ： The first n individual Bell A number represents a set {1,2,3,...,n} Number of partition schemes , namely ：B[0] = 1;

every last Bell Numbers are of the second kind Stirling Sum of numbers , namely ：

The second category Stirling The meaning of number is ：S(n,k) It means that you will n An object is divided into k A non empty, indistinguishable （ It can be understood that the box has no number ） The way to assemble

Count . Obviously , every last Bell Is the corresponding second kind Stirling Sum of the numbers .

```
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
namespace Legalsoft.Truffer.Algorithm
{
public static partial class Number_Sequence
{
/// <summary>
/// Bell count （Bell Number） The calculation method of
/// </summary>
/// <param name="n"></param>
/// <returns></returns>
public static long Bell_Number(int n)
{
long[,] bell = new long[n + 1, n + 1];
bell[0, 0] = 1;
for (int i = 1; i <= n; i++)
{
bell[i, 0] = bell[i - 1, i - 1];
for (int j = 1; j <= i; j++)
{
bell[i, j] = bell[i - 1, j - 1] + bell[i, j - 1];
}
}
return bell[n, 0];
}
}
}
```

————————————————————————

POWER BY TRUFFER.CN

版权声明

本文为[Deep confusion]所创，转载请带上原文链接，感谢

https://yzsam.com/2022/04/202204231543368276.html

## 边栏推荐

- 新动态：SmartMesh和MeshBox的合作新动向
- Spark 算子之sortBy使用
- One brush 314 sword finger offer 09 Implement queue (E) with two stacks
- One brush 312 - simple repetition set - Sword finger offer 03 Duplicate number in array (E)
- 网站压测工具Apache-ab，webbench，Apache-Jemeter
- Sorting and replying to questions related to transformer
- 携号转网最大赢家是中国电信，为何人们嫌弃中国移动和中国联通？
- mysql乐观锁解决并发冲突
- Upgrade MySQL 5.1 to 5.68
- Go language, condition, loop, function

## 猜你喜欢

[AI weekly] NVIDIA designs chips with AI; The imperfect transformer needs to overcome the theoretical defect of self attention

Multi level cache usage

The principle and common methods of multithreading and the difference between thread and runnable

网站建设与管理的基本概念

时序模型：门控循环单元网络（GRU）

IronPDF for . NET 2022.4.5455

API IX JWT auth plug-in has an error. Risk announcement of information disclosure in response (cve-2022-29266)

JVM - Chapter 2 - class loader subsystem

为啥禁用外键约束

KNN, kmeans and GMM

## 随机推荐

Modèle de Cluster MySQL et scénario d'application

Named in pytoch_ parameters、named_ children、named_ Modules function

控制结构（二）

Pgpool II 4.3 Chinese Manual - introductory tutorial

Do we media make money now? After reading this article, you will understand

网站建设与管理的基本概念

Cookie＆Session

PHP PDO ODBC loads files from one folder into the blob column of MySQL database and downloads the blob column to another folder

What is CNAs certification? What are the software evaluation centers recognized by CNAs?

Configuration of multi spanning tree MSTP

Treatment of idempotency

Why disable foreign key constraints

Timing model: gated cyclic unit network (Gru)

Redis master-slave replication process

php类与对象

Best practices of Apache APIs IX high availability configuration center based on tidb

Special analysis of China's digital technology in 2022

【自娱自乐】构造笔记 week 2

考试考试自用

字符串排序