http://discuss.joelonsoftware.com/default.asp?interview.11.794054.1“rel=”nofollow noreferer” http://discuss.joelonsoftware.com/default.asp?interview.11.794054.1
A顺序定义如下:
Start with the natural numbers 1,2,3,...
Initialize count = 1;
while(there are uncrossed numbers)
{
pick the first uncrossed number say n.
set A[count] = n.
Cross out the number count+n.
Cross out the number n
Increment count.
}
快速算法确定A[n],考虑到N.。
Try 获取一种算法,该算法在原体中是多功能的。