Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

differences function

The differences between neighbouring elements of a list.

How to write it

differences(list)

list
The list. Takes a list.

Examples

  • differences⁡([1,4,9])=[3,5]\displaystyle \operatorname{differences}(\left[ 1, 4, 9 \right]) = \left[ 3, 5 \right]
    differences([1, 4, 9])

    In the solver, differences([1, 4, 9]) gives [3, 5].

    Open in the solver
  • find_linear_recurrence

    The recurrence a list of terms obeys, given only when it also holds on two more.

  • sum_convergence

    Test whether the sum of an expression over a variable converges.

  • find_sequence_function

    The formula of a sequence from its first terms, given only when it also predicts two more.

  • sum

    Sum of an expression over one or more ranges.

  • next_terms

    The terms that follow a list, given only when a rule explains it and predicts two more.

  • series_coefficient

    The coefficient of the term of a given order in the series of an expression.