Skip to content

Commit 13fcab5

Browse files
committed
remove meta tags
1 parent 947eb19 commit 13fcab5

File tree

151 files changed

+29
-782
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+29
-782
lines changed

src/algebra/all-submasks.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
---
2-
title: Submask Enumeration
3-
hide:
4-
- navigation
5-
---
6-
71
# Submask Enumeration
82

93
## Enumerating all submasks of a given mask

src/algebra/balanced-ternary.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Balanced Ternary
3-
hide:
4-
- navigation
5-
---
61
# Balanced Ternary
72

83
!["Setun computer using Balanced Ternary system"](http://ternary.3neko.ru/photo/setun1_small.jpg)

src/algebra/big-integer.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
---
2-
title: Arbitrary
3-
hide:
4-
- navigation
5-
---
6-
71
# Arbitrary-Precision Arithmetic
82

93
Arbitrary-Precision arithmetic, also known as "bignum" or simply "long arithmetic" is a set of data structures and algorithms which allows to process much greater numbers than can be fit in standard data types. Here are several types of arbitrary-precision arithmetic.

src/algebra/binary-exp.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Binary Exponentiation
3-
hide:
4-
- navigation
5-
---
61
# Binary Exponentiation
72

83
Binary exponentiation (also known as exponentiation by squaring) is a trick which allows to calculate $a^n$ using only $O(\log n)$ multiplications (instead of $O(n)$ multiplications required by the naive approach).

src/algebra/chinese-remainder-theorem.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Chinese Remainder Theorem
3-
hide:
4-
- navigation
5-
---
61
# Chinese Remainder Theorem
72

83
The Chinese Remainder Theorem (which will be referred to as CRT in the rest of this article) was discovered by Chinese mathematician Sun Zi.

src/algebra/discrete-log.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
---
2-
title: Discrete Logarithm
3-
hide:
4-
- navigation
5-
---
6-
71
# Discrete Logarithm
82

93
The discrete logarithm is an integer $x$ satisfying the equation

src/algebra/discrete-root.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
---
2-
title: Discrete Root
3-
hide:
4-
- navigation
5-
---
6-
71
# Discrete Root
82

93
The problem of finding a discrete root is defined as follows. Given a prime $n$ and two integers $a$ and $k$, find all $x$ for which:

src/algebra/divisors.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Number of divisors / sum of divisors
3-
hide:
4-
- navigation
5-
---
61
# Number of divisors / sum of divisors
72

83
In this article we discuss how to compute the number of divisors $d(n)$ and the sum of divisors $\sigma(n)$ of a given number $n$.

src/algebra/euclid-algorithm.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Euclidean algorithm for computing the greatest common divisor
3-
hide:
4-
- navigation
5-
---
61
# Euclidean algorithm for computing the greatest common divisor
72

83
Given two non-negative integers $a$ and $b$, we have to find their **GCD** (greatest common divisor), i.e. the largest number which is a divisor of both $a$ and $b$.

src/algebra/extended-euclid-algorithm.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Extended Euclidean Algorithm
3-
hide:
4-
- navigation
5-
---
61
# Extended Euclidean Algorithm
72

83
While the [Euclidean algorithm](euclid-algorithm.md) calculates only the greatest common divisor (GCD) of two integers $a$ and $b$, the extended version also finds a way to represent GCD in terms of $a$ and $b$, i.e. coefficients $x$ and $y$ for which:

src/algebra/factorial-divisors.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Finding Power of Factorial Divisor
3-
hide:
4-
- navigation
5-
---
61
# Finding Power of Factorial Divisor
72

83
You are given two numbers $n$ and $k$. Find the largest power of $k$ $x$ such that $n!$ is divisible by $k^x$.

src/algebra/factorial-modulo.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
2-
title: Factorial modulo P
3-
hide:
4-
- navigation
2+
title: Factorial modulo p
53
---
64
# Factorial modulo $p$
75

src/algebra/factorization.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Integer factorization
3-
hide:
4-
- navigation
5-
---
61
# Integer factorization
72

83
In this article we list several algorithms for factorizing integers, each of them can be both fast and also slow (some slower than others) depending on their input.

src/algebra/fft.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Fast Fourier transform
3-
hide:
4-
- navigation
5-
---
61
# Fast Fourier transform
72

83
In this article we will discuss an algorithm that allows us to multiply two polynomials of length $n$ in $O(n \log n)$ time, which is better than the trivial multiplication which takes $O(n^2)$ time.

src/algebra/fibonacci-numbers.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Fibonacci Numbers
3-
hide:
4-
- navigation
5-
---
61
# Fibonacci Numbers
72

83
The Fibonacci sequence is defined as follows:

src/algebra/gray-code.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
---
2-
title: Gray Code
3-
hide:
4-
- navigation
5-
---
6-
71
# Gray code
82

93
Gray code is a binary numeral system where two successive values differ in only one bit.

src/algebra/linear-diophantine-equation.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Linear Diophantine Equation
3-
hide:
4-
- navigation
5-
---
61
# Linear Diophantine Equation
72

83
A Linear Diophantine Equation (in two variables) is an equation of the general form:

src/algebra/linear_congruence_equation.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Linear Congruence Equation
3-
hide:
4-
- navigation
5-
---
61
# Linear Congruence Equation
72

83
This equation is of the form:

src/algebra/module-inverse.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Modular Inverse
3-
hide:
4-
- navigation
5-
---
61
# Modular Multiplicative Inverse
72

83
## Definition

src/algebra/montgomery_multiplication.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Montgomery Multiplication
3-
hide:
4-
- navigation
5-
---
61
# Montgomery Multiplication
72

83
Many algorithms in number theory, like [prime testing](primality_tests.md) or [integer factorization](factorization.md), and in cryptography, like RSA, require lots of operations modulo a large number.

src/algebra/phi-function.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Euler's totient function
3-
hide:
4-
- navigation
5-
---
61
# Euler's totient function
72

83
Euler's totient function, also known as **phi-function** $\phi (n)$, counts the number of integers between 1 and $n$ inclusive, which are coprime to $n$. Two numbers are coprime if their greatest common divisor equals $1$ ($1$ is considered to be coprime to any number).

src/algebra/polynomial.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
---
2-
title: Operations on polynomials and series
3-
hide:
4-
- navigation
5-
---
6-
71
# Operations on polynomials and series
82

93
In this article we will cover common operations that you will probably have to do if you deal with polynomials.

src/algebra/primality_tests.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Primality tests
3-
hide:
4-
- navigation
5-
---
61
# Primality tests
72

83
This article describes multiple algorithms to determine if a number is prime or not.

src/algebra/prime-sieve-linear.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Linear Sieve
3-
hide:
4-
- navigation
5-
---
61
# Linear Sieve
72

83
Given a number $n$, find all prime numbers in a segment $[2;n]$.

src/algebra/primitive-root.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Primitive Root
3-
hide:
4-
- navigation
5-
---
61
# Primitive Root
72

83
## Definition

src/algebra/sieve-of-eratosthenes.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Sieve of Eratosthenes
3-
hide:
4-
- navigation
5-
---
61
# Sieve of Eratosthenes
72

83
Sieve of Eratosthenes is an algorithm for finding all the prime numbers in a segment $[1;n]$ using $O(n \log \log n)$ operations.

src/combinatorics/binomial-coefficients.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Binomial Coefficients
3-
hide:
4-
- navigation
5-
---
61
# Binomial Coefficients
72

83
Binomial coefficients $\binom n k$ are the number of ways to select a set of $k$ elements from $n$ different elements without taking into account the order of arrangement of these elements (i.e., the number of unordered sets).

src/combinatorics/bishops-on-chessboard.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Placing Bishops on a Chessboard
3-
hide:
4-
- navigation
5-
---
61
# Placing Bishops on a Chessboard
72

83
Find the number of ways to place $K$ bishops on an $N \times N$ chessboard so that no two bishops attack each other.

src/combinatorics/bracket_sequences.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Balanced bracket sequences
3-
hide:
4-
- navigation
5-
---
61
# Balanced bracket sequences
72

83
A **balanced bracket sequence** is a string consisting of only brackets, such that this sequence, when inserted certain numbers and mathematical operations, gives a valid mathematical expression.

src/combinatorics/burnside.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Burnside's lemma / Pólya enumeration theorem
3-
hide:
4-
- navigation
5-
---
61
# Burnside's lemma / Pólya enumeration theorem
72

83
## Burnside's lemma

src/combinatorics/catalan-numbers.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Catalan Numbers and its Applications
3-
hide:
4-
- navigation
5-
---
61
# Catalan Numbers
72
Catalan numbers is a number sequence, which is found useful in a number of combinatorial problems, often involving recursively-defined objects.
83

src/combinatorics/counting_labeled_graphs.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Counting labeled graphs
3-
hide:
4-
- navigation
5-
---
61
# Counting labeled graphs
72

83
## Labeled graphs

src/combinatorics/generating_combinations.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
22
title: Generating all K-combinations
3-
hide:
4-
- navigation
53
---
64
# Generating all $K$-combinations
75

src/combinatorics/inclusion-exclusion.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: The Inclusion
3-
hide:
4-
- navigation
5-
---
61
# The Inclusion-Exclusion Principle
72

83
The inclusion-exclusion principle is an important combinatorial way to compute the size of a set or the probability of complex events. It relates the sizes of individual sets with their union.

src/combinatorics/stars_and_bars.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Stars and bars
3-
hide:
4-
- navigation
5-
---
61
# Stars and bars
72

83
Stars and bars is a mathematical technique for solving certain combinatorial problems.

src/contrib.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: How to Contribute
3-
hide:
4-
- navigation
5-
---
61
# How to Contribute
72

83
## General information
@@ -24,7 +19,7 @@ In order to make contribution consider the following steps:
2419
In case you want to make some bigger changes, like adding a new article, or edit multiple files, you should fork the project in the traditional way, create a branch, modify the files in the Github UI or locally on your computer, and create a pull-request.
2520
If you are unfamiliar with the workflow, read [Step-by-step guide to contributing on GitHub](https://www.dataschool.io/how-to-contribute-on-github/).
2621

27-
In case you are adding a new article, start by copying some other article in order to have the required header lines, and make sure to link to the article from the main (index.md) page.
22+
In case you are adding a new article, make sure to link to the article from the main (index.md) page.
2823

2924
## Syntax
3025

@@ -38,6 +33,17 @@ For advanced Markdown features of Material for MkDocs see their [reference pages
3833

3934
However not everything of the features should be used, and some of the features are not enabled or require a paid subscription.
4035

36+
By default the first header (`# header`) will be also the HTML title of the article. In case the header contains a math formula, you can define a different HTML title with:
37+
38+
```markdown
39+
---
40+
title: Alternative HTML title
41+
---
42+
# Proof of $a^2 + b^2 = c^2$
43+
44+
remaining article
45+
```
46+
4147
## Some conventions
4248

4349
* We have agreed as of issue [#83](https://github.com/e-maxx-eng/e-maxx-eng/issues/83) to express binomial coefficients with `\binom{n}{k}` instead of `C_n^k`. The first one renders as $\binom{n}{k}$ and is a more universal convention. The second would render as $C_n^k$.

src/data_structures/deleting_in_log_n.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
22
title: Deleting from a data structure in O(T(n)log n)
3-
hide:
4-
- navigation
53
---
64
# Deleting from a data structure in $O(T(n)\log n)$
75

src/data_structures/disjoint_set_union.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
---
2-
title: Disjoint Set Union
3-
hide:
4-
- navigation
5-
---
6-
71
# Disjoint Set Union
82

93
This article discusses the data structure **Disjoint Set Union** or **DSU**.

src/data_structures/fenwick.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
---
2-
title: Fenwick Tree
3-
hide:
4-
- navigation
5-
---
6-
71
# Fenwick Tree
82

93
Let, $f$ be some _reversible_ function and $A$ be an array of integers of length $N$.

src/data_structures/randomized_heap.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
title: Randomized Heap
3-
hide:
4-
- navigation
5-
---
61
# Randomized Heap
72

83
A randomized heap is a heap that, through using randomization, allows to perform all operations in expected logarithmic time.

0 commit comments

Comments
 (0)