Fun with num3ers
Wednesday, April 20, 2011
Using only 3,4,5 straight lines to cut a pizza into k pieces
***********************************
***********************************
Explanation: A(n) = n(n + 1)/2 + 1
http://www.algorithmist.com/index.php/UVa_10079
It is the
http://en.wikipedia.org/wiki/Lazy_caterer's_sequence
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment