跳转到内容

This page is also in English.

Read it in English

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

数列的后续项(Next terms of a sequence,next_terms)

列表之后的项:仅当某条规则能解释它并预测出另外两项时才给出。

怎么写

next_terms(terms)

接下来的五项。

terms
最初的几项,整数或分数,第一项为 a(1)。接受一个列表。

next_terms(terms, count)

接下来的项,数量与询问的一样多。

terms
最初的几项,整数或分数,第一项为 a(1)。接受一个列表。
count
要给出多少项。接受一个整数。

示例

  • 1,4,9,16,25,…=[36,49,64,81,100]\displaystyle 1, 4, 9, 16, 25, \ldots = \left[ 36, 49, 64, 81, 100 \right]
    next_terms([1, 4, 9, 16, 25])

    在求解器中,next_terms([1, 4, 9, 16, 25]) 的结果是 [36, 49, 64, 81, 100]。

    在求解器中打开
  • 1,1,2,3,5,8,…=[13,21,34,55,89]\displaystyle 1, 1, 2, 3, 5, 8, \ldots = \left[ 13, 21, 34, 55, 89 \right]
    next_terms([1, 1, 2, 3, 5, 8])

    在求解器中,next_terms([1, 1, 2, 3, 5, 8]) 的结果是 [13, 21, 34, 55, 89]。

    在求解器中打开
  • 1,2,4,8,16,32,…=[64,128,256]\displaystyle 1, 2, 4, 8, 16, 32, \ldots = \left[ 64, 128, 256 \right]
    next_terms([1, 2, 4, 8, 16, 32], 3)

    在求解器中,next_terms([1, 2, 4, 8, 16, 32], 3) 的结果是 [64, 128, 256]。

    在求解器中打开
  • numeric_product

    在某个范围内对表达式求乘积,以小数表示。

  • find_sequence_function

    由开头若干项求数列的公式;仅当它还能预测另外两项时才给出。

  • numeric_sum

    在某个范围内对表达式求和,以小数表示。

  • find_linear_recurrence

    一个项列表所满足的递推关系;仅当它在另外两项上也成立时才给出。

  • product

    表达式在一个或多个范围上的乘积。

  • differences

    列表中相邻元素之差。