#P1342. 求S的值

求S的值

Description

求S=1+2+4+7+11+16……的值刚好大于等于5000时S的值。

Input Format

Output Format

一行,一个整数。

</p>

</p>

Source

函数问题