RE: Bug ???
- To: mathgroup at smc.vnet.net
- Subject: [mg81845] RE: [mg81805] Bug ???
- From: "Ingolf Dahl" <ingolf.dahl at telia.com>
- Date: Thu, 4 Oct 2007 04:36:39 -0400 (EDT)
- Organization: Goteborg University
- References: <200710020928.FAA28247@smc.vnet.net> <200710030635.CAA29450@smc.vnet.net> <200710031034.GAA27140@smc.vnet.net>
- Reply-to: <ingolf.dahl at telia.com>
Try with k==0 instead of k=0. I think we all have mixed up Equal(==) and Set(=) at some occasion. Best regards Ingolf Dahl -----Original Message----- From: Artur [mailto:grafix at csl.pl] Sent: 03 October 2007 12:34 To: mathgroup at smc.vnet.net Subject: [mg81845] [mg81805] Bug ??? Why doesn't work: a={};Do[k=n^2-(Floor[n^2(2/3)])^2;If[k=0, AppendTo[a,{k,n^2}]],{n,1,1000}];a but working a={};Do[k=n^2-(Floor[n^2(2/3)])^2;If[k<1, AppendTo[a,{k,n^2}]],{n,1,1000}];a Artur Jasinski, Poland
- References:
- help with polynomial solutions
- From: "Jules P. Aronson" <aronson@nlm.nih.gov>
- Re: help with polynomial solutions
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Bug ???
- From: Artur <grafix@csl.pl>
- help with polynomial solutions