Skip to Content
Mathematics in Cybersecurity
book

Mathematics in Cybersecurity

by Alfred Basta, Stephan Delong, Stavros Basta
March 2026
Intermediate
512 pages
14h 19m
English
Wiley
Content preview from Mathematics in Cybersecurity

6Sequences and Series

A sequence is an ordered list of numbers, where each number in the list is called a term of the sequence. The order of the terms of the sequence cannot be changed, and those terms may or may not follow some sort of an observable or describable pattern. Sequences can be finite, where the number of terms is limited, or infinite, where the number of terms goes on forever.

The general form of a sequence is:

normal a 1 comma normal a 2 comma normal a 3 comma ellipsis comma normal a Subscript n Baseline comma ellipsis

where an represents the nth term of the sequence. The subscript n is called the index of the sequence, and it starts from 1 and goes up to infinity for an infinite sequence. There are times when, for the sake of description using a formula, the sequence may begin with term zero, represented as a0. An example of this will be presented shortly.

When describing or referring to a sequence whose nth term is given by an, the notation used is either {an} or left-brace a Subscript n Baseline right-brace Subscript n equals 1 Superscript n equals k. The value of k is infinity if the sequence is infinite, and it is a constant if the sequence is finite.

6.1 Sequences

There are different ways to define a sequence. The most common are:

  • Explicit Formula: Each term of the sequence is defined by a formula that depends on the index n as the independent variable. For example, the sequence 2, 4, 6, 8, … can be defined by the formula an = 2n. The formula to produce ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Math for Security

Math for Security

Daniel Reilly
Quantum Computing

Quantum Computing

Andrew Glasner

Publisher Resources

ISBN: 9781394304769Purchase Link