03 What calculations can be performed on the number sequences?

  • Calculating the nth number of a number sequence
  • List numbers in an index range
  • Check whether a number belongs to the number sequence
    yes: return the index
    no: -1
  • Check whether a number sequence belongs to a number of the number sequence
    yes: return the number, the index and the position within the number
    no: -1
  • List numbers with a given number of digits