Tweets about algebra, number theory, and miscellaneous math by @JohnDCook.

Joined January 2010
The popular Mersenne Twister random number generator is so named because its period is a Mersenne prime.
1
16
1,846
A matrix Q is orthogonal iff it has orthonormal columns (or rows).
1
2
57
5,752
For n >= 5, the alternating group A_n is simple.
1
5
1
46
7,756
Volume to Area ratio for Regular Solids johndcook.com/blog/2026/07/2…
2
26
2,418
If matrices A and B commute, then exp(A + B) = exp(A) exp(B).
2
7
65
6,162
How NASA used Hadamard matrices to transmit photos from Mars johndcook.com/blog/2026/08/1…
5
27
3,618
An n x n matrix A is non-singular iff the system Ax = b is consistent for all b.
1
32
6,060
A subgroup N of G is normal if g^{-1}Ng = N for all g in G.
1
4
45
6,142
An n × n real matrix B has a real logarithm if and only if B is nonsingular and for each negative eigenvalue λ and each positive integer k the number of k × k Jordan λ-blocks occurring in the Jordan form of B is even.
1
4
56
6,261
Every positive integer can be written as a sum of distinct Fibonacci numbers.
2
5
1
107
6,913
If 2^p - 1 is prime, 2^{p-1}(2^p - 1) is an even perfect number. Euclid, Prob IX.36.
1
6
68
6,235
An n x n matrix A is non-singular iff dim(range(A)) = n.
1
3
1
43
6,231
Every permutation can be written as a product of disjoint cycles.
4
13
2
139
6,416