POV-Ray : Newsgroups : povray.off-topic : Geometric puzzle : Re: Geometric puzzle Server Time
5 Sep 2024 17:19:47 EDT (-0400)
  Re: Geometric puzzle  
From: Warp
Date: 16 Dec 2009 17:45:01
Message: <4b2962ed@news.povray.org>
Kevin Wampler <wam### [at] uwashingtonedu> wrote:
> Warp wrote:
> >   So the task is simple: Write a function f(m,n) which tells how many
> > rectangles can be found in an m x n grid. (Explain how you came up
> > with the function).

> You mean just something like n*m*(n-1)*(m-1)/4?  The derivation is 
> pretty direct from the one-dimensional case.

  It would be interesting to see that derivation.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.