互补序列的算法
Algorithms for complementary sequences
AI总结:
本文针对求满足或不满足某条件的第n个整数这一问题,将其视为不动点问题并关联Lambek和Moser迭代法,研究二分法,还为非k角数等多种互补序列提供了新公式。
摘要:
求第n个正平方数很简单,即n²。但如何求互补序列,也就是第n个正非平方数呢?这种情况有明确公式。然而,对于数的一般约束,公式更难找到。本文研究如何计算满足(或不满足)某条件的第n个整数。特别地,我们将其视为不动点问题,关联到Lambek和Moser的迭代方法,研究该问题的二分法,并为各种互补序列提供新公式,包括非k角数、非k角棱锥数、非k单纯形数、非k次幂和数、非k次幂数。例如,我们证明第n个非k角数为n+round(√[(2n-2+⌊(k+1)/4⌋)/(k-2)]),第n个非第二六角数为n+⌈√(n/2)⌉-1。
英文摘要:
Finding the $n$-th positive square number is easy, as it is simply $n^2$. But how do we find the complementary sequence, i.e., the $n$-th positive non-square number? For this case there is an explicit formula. However, for general constraints on numbers, a formula is harder to find. In this paper, we study how to compute the $n$-th integer that does (or does not) satisfy a certain condition. In particular, we consider it as a fixed point problem, relate it to the iterative method of Lambek and Moser, study a bisection approach to this problem, and provide novel formulas for various complementary sequences including the non-$k$-gonal numbers, non-$k$-gonal-pyramidal numbers, non-$k$-simplex numbers, non-sum-of-$k$-th-powers, and non-$k$-th-powers. For example, we show that the $n$-th non $k$-gonal number is given by $n+\text{round}\left(\sqrt{\frac{2n-2+\left\lfloor\frac{k+1}{4}\right\rfloor}{k-2}}\right)$ and that the $n$-th non-second-hexagonal number is $n+\left\lceil\sqrt{\frac{n}{2}}\right\rceil-1$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。