atlas news
  John D. Cook
15  august     16h33
Probability of correcting errors
John    Error correcting codes are most simply described in terms of the errors they can certainly correct. For example, the Hadamard code used for the...
    15h40
Compressing a Hadamard matrix
John    Hadamard matrices are in the news following the recent announcement of a newly discovered Hadamard matrix. I’ve written three posts on Hadamard...
14  august     01h35
Hadamard Codes and Sphere Packing
John    Yesterday Levent Alpöge announced that he and his colleagues had discovered a new Hadamard matrix using Claude AI. That motivated a post I wrote this...
13  august     23h54
How NASA’s Mariner 9 probe encoded images
John    NASA set Mariner 9 to photograph Mars in 1971. The images had to be encoded for transmission using an error-correcting code, otherwise they would be...
    15h02
Constructing Hadamard matrices
John    A Hadamard matrix is an orthogonal matrix whose entries are all either 1 or’ 1. For example is a Hadamard matrix of order 2. True to Stigler’s law of...
12  august     13h17
Cryptic but consistent
John    Suppose you’ve never worked at the command line and you’re reading a book about the bash shell. You read that is a shortcut to refer to the last word...
11  august     14h09
Dogs and fat tails
John    I was reading a blog post on boat names because it was on Hacker News this morning. The post contained a link to a data set on dog names in NYC and I...
    12h04
Manually unbreakable cryptography
John    Suppose you were able to go back in time, to an era before computers, and give someone contemporary cryptography. Encryption methods that are...
10  august     14h34
Learning from historical mistakes
John    The following extraordinary paragraph comes from Knuth’s TAOCP Volume 4A, right before the last set of exercises. Many of the exercises below ask a...
    14h32
Inverse differential equations
John    In science and engineering classes, you might describe a system using Newton’s laws and end up with a differential equation. You then solve the...
09  august     17h17
DNA and Bessel functions
John    I was reading a book on the history of the discovery of the structure of DNA [1] and was surprised by a few passing references to Bessel functions....
    16h46
A simple range reduction method
John    At the end of my post on how not to calculate cosine I said that the first step in calculating cosine, particularly cosine of a large number, would...
08  august     01h20
Corrupted apostrophes
John    I have a program that shares files between my laptop and my phone. It works well, except for apostrophes. When I type an apostrophe ’ on my laptop,...
07  august     15h11
How not to calculate cosine
John    Calculus professors with no experience in numerical computing will tell students that computers calculate trig functions with power series. They don...
    13h19
cos(200 )
John    In a footnote to the previous post, I said that Python’s math library can calculate the logarithm of extremely large numbers but not the cosine. This...
06  august     13h23
Calculating log(1000 )
John    The previous post pointed out that the following code such as the following unexpectedly works. from math import log, factorial log(factorial(1000))...
05  august     18h26
The code that didn’t break
John    Last week I wrote a post on hiding cryptographic keys in decks of cards. I wrote some code for that post that shouldn’t work, but before fixing I...
    14h49
Enumerating trees and circles
John    A few days ago I wrote a post on counting rooted trees. That post looked at the sequence c(n) which counts the number of rooted trees with n nodes....
04  august     13h18
Mathematical alchemy
John    After writing the previous post about metallic ratios, I thought about the analogy to alchemy and the attempt to make precious metals out of base...
    11h41
Ratio of metallic ratios
John    The golden ratio is the first and best known of the metallic ratios. I’ve written about the silver ratio a few times, most recently here. And I’ve...
02  august     20h47
Holonomic functions
John    Yesterday I wrote that a lot of the special functions that pop up in mathematical physics are solutions to second order linear differential equations...
    17h57
Estimating a cumulative sum
John    In this post I mentioned two series which I denoted t(n) and c(n). The former is the number of unlabeled rooted trees with n nodes. The latter is the...
01  august     20h18
Why polynomial coefficients?
John    Second order linear differential equations with polynomial coefficients form their own area of study. This seems like a narrow class of equations,...
    16h15
Counting rooted trees
John    Combinatorial problems can be interesting for their own sake, but they are more interesting when there is a connection to a problem outside...
    15h58
Runge-Kutta order versus stages
John    The textbook version of the Runge-Kutta method for solving differential equations has 4 stages and has 4th order error. For lower order versions of...
31  july     18h59
Solving the RK4 design equations
John    I was digging into the Runge-Kutta method for solving differential equations and a line from [1] piqued my curiosity. These calculations, which are...
28  july     14h11
Inverse factorial improved
John    A couple years ago I wrote about how to compute the inverse of factorial. I used that code in writing the previous post because the post required...
    12h13
Cryptographic Keys and Decks of Cards
John    The previous post looked at the idea of storing a cryptographic key in the order of a deck of cards. A deck of 52 cards can store 225 bits of data...
27  july     23h08
Hiding data in permutations
John    The latest issue of Paged Out has an article by Stephen Hewitt An off-line backup of your cryptographic key using playing cards. The idea is to use a...
    16h03
Counting permutations with roots
John    My post from yesterday on permutation roots ends with a Mathematica code for finding the probability that a permutation of n elements has a kth root....
1786907415