
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
 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
Author Archives: possiblywrong
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
3 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
An urn puzzle
It has been a while again since I last posted a puzzle, so… You have once again been captured by mathematicallyinclined pirates and threatened with walking the plank, unless you can win the following game: some number of black balls … Continue reading
Posted in Uncategorized
2 Comments
On average, we die a decade earlier than expected
“Doctors say he’s got a 50/50 chance of living… though there’s only a 10% chance of that.” I’ve lately had occasion to contemplate my own mortality. How long should I expect to live? The most recent life table published by the Centers … Continue reading
Posted in Uncategorized
1 Comment
How many melodies are there?
Introduction The title question came up recently, which I think makes for an interesting combinatorics exercise. The idea is that, given the extent of “borrowing” of past musical ideas by later artists, are we in danger of running out of … Continue reading
Posted in Uncategorized
Leave a comment