From: Mark Slagell Date: 2002-05-08T04:54:33+09:00 Subject: Re: More erratum 2 in "Teach Yourself Ruby in 21 Days" Jabari Zakiya wrote: >Chapter 12 >----------- > >on p. 249, in 3rd line, top paragraph, had: > >rule is n! = (n x -1)!) and at least.... > >should be like: > >rule is n! = n x (n-1)! and at least.... > Yes, we had this one. (see http://www.ruby-lang.org/~slagell/misprints.html) > >For Fibonacci code, F(0)=0 , F(1)=F(2)=1 > >and F(n)= F(n-1) + F(n-2) for n > 1 > [ snip ... ] As this is not the definition used in the book, the rest is consistent and I don't see an error here. >and on p.254, in the next to last paragraph: > >The Towers of Hanoi >You may have.....three vertical pegs and a some disks > ^ >should be: > >The Towers of Hanoi >You may have.....three vertical pegs and some disks > Sure -- that's probably an incomplete edit from "a few" to "some". Mark