{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/math.sequences/1.0.0/input.json",
  "title": "Integer sequences — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "arithmetic",
        "geometric",
        "fibonacci",
        "linear_recurrence"
      ]
    },
    "n": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000
    },
    "a": {
      "type": "integer"
    },
    "d": {
      "type": "integer"
    },
    "r": {
      "type": "integer"
    },
    "p": {
      "type": "integer"
    },
    "q": {
      "type": "integer"
    },
    "a0": {
      "type": "integer"
    },
    "a1": {
      "type": "integer"
    }
  },
  "required": [
    "n"
  ],
  "description": "Arithmetic and geometric sequences, Fibonacci (F_0=0), and linear recurrences. Exact BigInt. Discovery pages share this capability. Not Pascal, not partition, not n!. Engine id is sequence — never arithmetic. (calculation_version 1.0.0)"
}
