
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
 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
Author Archives: possiblywrong
Hilbert halftone art
Introduction This post was motivated by a recent attempt to transform a photograph into a large digital print, in what I hoped would be a mathematically interesting way. The idea was pretty simple: convert the (originally color) image into a … Continue reading
Posted in Uncategorized
2 Comments
Probability of playable racks in Scrabble
Introduction Earlier this year, I spent some time calculating the probability of a Scrabble “bingo:” drawing a rack of 7 tiles and playing all of them in a single turn to spell a 7letter word. The interesting part of the … Continue reading
Posted in Uncategorized
Leave a comment
Analysis of Bingo
Introduction Suppose that Alice and Bob play a game for a dollar: they roll a single sixsided die repeatedly, until either: Alice wins if they observe each of the six possible faces at least once, or Bob wins if they … Continue reading
Posted in Uncategorized
2 Comments
Digits of pi and Python generators
Introduction This post was initially motivated by an interesting recent article by Chris Wellons discussing the Blowfish cipher. The Blowfish cipher’s subkeys are initialized with values containing the first 8336 hexadecimal digits of , the idea being that implementers may … Continue reading
Posted in Uncategorized
2 Comments
Floatingpoint agreement between MATLAB and C++
Introduction A common development approach in MATLAB is to: Write MATLAB code until it’s unacceptably slow. Replace the slowest code with a C++ implementation called via MATLAB’s MEX interface. Goto step 1. Regression testing the faster MEX implementation against the … Continue reading
Posted in Uncategorized
3 Comments
What is (1&3)?
This is just nostalgic amusement. I recently encountered the following while poking around in some code that I had written a disturbingly long time ago: What does this code do? This is interesting because the switch expression is a constant … Continue reading
Posted in Uncategorized
2 Comments
The following are equivalent
I have been reviewing Rosen’s Discrete Mathematics and Its Applications textbook for a course this fall, and I noticed an interesting potential pitfall for students in the first chapter on logic and proofs. Many theorems in mathematics are of the … Continue reading
Posted in Uncategorized
4 Comments