
Recent Posts
Blogroll
 11011110
 A Narrow Margin
 Ask a Mathematician
 bitplayer
 DataGenetics
 Exploring Binary
 FiveThirtyEight
 Gödel’s Lost Letter and P=NP
 God Plays Dice
 Good Math, Bad Math
 IBM Research Ponder This
 John D. Cook
 Math ∩ Programming
 Matt's Maniacal Musings
 Mind Your Decisions
 nullprogram
 Randal Olson
 Random ASCII
 Richard Wiseman
 Science Sushi
 Tanya Khovanova’s Math Blog
 Terry Tao
 The Math Less Traveled
 The PuzzlOR
 The Universe of Discourse
 Undocumented MATLAB
 what if?
Meta
Archives
 January 2019
 November 2018
 October 2018
 September 2018
 August 2018
 July 2018
 June 2018
 April 2018
 March 2018
 February 2018
 January 2018
 December 2017
 October 2017
 September 2017
 August 2017
 July 2017
 June 2017
 May 2017
 April 2017
 March 2017
 February 2017
 January 2017
 December 2016
 November 2016
 October 2016
 August 2016
 July 2016
 June 2016
 May 2016
 April 2016
 March 2016
 February 2016
 January 2016
 December 2015
 November 2015
 October 2015
 September 2015
 August 2015
 July 2015
 June 2015
 May 2015
 April 2015
 March 2015
 February 2015
 January 2015
 December 2014
 November 2014
 October 2014
 September 2014
 August 2014
 July 2014
 June 2014
 May 2014
 April 2014
 March 2014
 February 2014
 January 2014
 December 2013
 November 2013
 October 2013
 September 2013
 August 2013
 July 2013
 June 2013
 May 2013
 April 2013
 March 2013
 February 2013
 January 2013
 December 2012
 November 2012
 October 2012
 September 2012
 August 2012
 July 2012
 June 2012
 May 2012
 April 2012
 March 2012
 February 2012
 January 2012
 December 2011
 November 2011
 October 2011
 September 2011
 August 2011
 July 2011
 June 2011
 May 2011
 April 2011
 March 2011
 February 2011
 January 2011
 December 2010
 November 2010
 October 2010
 September 2010
 August 2010
 July 2010
 June 2010
 May 2010
Category Archives: Uncategorized
Identical packs of Skittles
Introduction “No two rainbows are the same. Neither are two packs of Skittles. Enjoy an odd mix.” – Skittles label Analyzing packs of Skittles (or sometimes M&Ms) seems to be a very common exercise in introductory statistics. How many candies … Continue reading
Posted in Uncategorized
Leave a comment
Random drug testing in the NFL
Introduction “This is supposed to be a random system. It doesn’t feel very random.” – Eric Reid, as quoted on Twitter Last week, Eric Reid was selected to take his fifth random drug test in eight weeks with the Carolina … Continue reading
Posted in Uncategorized
3 Comments
Generating MiniCrosswords
Introduction The New York Times publishes “minicrosswords,” which are crossword puzzles on a relatively small grid (usually 5×5), without any black squares, so that every row and column of the grid must spell a word. The figure below shows an … Continue reading
Posted in Uncategorized
Leave a comment
Disabling subnormals in MATLAB
Suppose that we want to compute the following expression, somewhat contrived in complexity for the purpose of example: The following MATLAB code implements this formula, and measures the time required to evaluate it: Now suppose that we execute this same … Continue reading
Posted in Uncategorized
Leave a comment
A lattice path puzzle
This past week’s Riddler puzzle on FiveThirtyEight asks for the number of different paths of minimum length from a starting intersection of city streets to a destination blocks east and blocks north. Put another way, moving on the 2D integer … Continue reading
Posted in Uncategorized
Leave a comment
Arbitraryprecision rational arithmetic in C++
Introduction This is a followup to a post from several years ago describing a C++ implementation of arbitraryprecision unsigned integer arithmetic. This weekend I extended this to also support arbitraryprecision signed integers and rational numbers. Although this started as an educational … Continue reading
Posted in Uncategorized
4 Comments
Uncertainty in trading passengers for fuel
I had an interesting experience recently while preparing for a flight from Los Angeles to Baltimore. It was a completely full flight– initially, at least– with myself and 174 other passengers who had already boarded the Southwest 737800, seemingly ready … Continue reading
Posted in Uncategorized
4 Comments