文件名称:2-6banshu
介绍说明--下载内容均来自于网络,请自行研究使用
给定一个自然数n,由n开始可以依次产生半数集set(n)中的数如下。
(1) n∈set(n);
(2) 在n的左边加上一个自然数,但该自然数不能超过最近添加的数的一半;
(3) 按此规则进行处理,直到不能再添加自然数为止。
例如,set(6)={6,16,26,126,36,136}。半数集set(6)中有6个元素。
-Given a natural number n, by n the beginning can have a half set in order set (n) the number is as follows. (1) n ∈ set (n) (2) in n left with a natural number, but the natural number can not exceed the number of recently added half (3) deal with this rule, should not be added until the natural numbers so far. For example, set (6) = (6,16,26,126,36,136). Set half of set (6) There are six elements.
(1) n∈set(n);
(2) 在n的左边加上一个自然数,但该自然数不能超过最近添加的数的一半;
(3) 按此规则进行处理,直到不能再添加自然数为止。
例如,set(6)={6,16,26,126,36,136}。半数集set(6)中有6个元素。
-Given a natural number n, by n the beginning can have a half set in order set (n) the number is as follows. (1) n ∈ set (n) (2) in n left with a natural number, but the natural number can not exceed the number of recently added half (3) deal with this rule, should not be added until the natural numbers so far. For example, set (6) = (6,16,26,126,36,136). Set half of set (6) There are six elements.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2-6半数集问题
.............\半数集问题.doc
.............\半数集问题1.cpp
.............\半数集问题.doc
.............\半数集问题1.cpp