A sequence starts with and for each ,
if is a triangle number (A triangle number is a number of the form for some integer ), then ;
otherwise, .
The sequence begins:
where triangle numbers are marked red.
The th triangle number in the sequence is .
Find the index such that is the th triangle number in the sequence.
955. 寻找三角形数
我们按如下规则构造序列 :,且对诸 :
该序列的前 16 项如下,其中三角形数已被标红:
这个序列中的第 个三角形数是 。
求这个序列第 个三角形数 的下标 。
点 这个链接 回到源站。
点 这个链接 回到详细版题目目录。