We present a new proof of a result of Knuth and Buckholtz concerning the period of the number of alternating congruences modulo an odd prime. The proof is based on properties of special functions, specifically the polylogarithm, Dirichlet eta and beta functions, and Stirling numbers of the second kind.