|
[Date Index]
[Thread Index]
[Author Index]
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
- Follow-Ups:
- Re: Bug ???
- From: Murray Eisenberg <murray@math.umass.edu>
- RE: Bug ???
- From: "Ingolf Dahl" <ingolf.dahl@telia.com>
- Re: Bug ???
- From: Sseziwa Mukasa <mukasa@jeol.com>
Prev by Date:
Re: Simplifying Log[a] + Log[expr_] - Log[2 expr_]: Brute force necessary?
Next by Date:
Re: Help with solving ODE
Previous by thread:
Re: help with polynomial solutions
Next by thread:
Re: Bug ???
|