Mathematicas simplifications
- To: mathgroup at smc.vnet.net
- Subject: [mg96279] Mathematicas simplifications
- From: Kilian Kilger <kilian at nihilnovi.de>
- Date: Tue, 10 Feb 2009 05:56:39 -0500 (EST)
Hello,
if I type in Mathematica 7 for example
Select[Divisors[n],SquareFreeQ]
It gives me
Divisors[n]
as a response, which is wrong. If I type
f[n_] := Select[Divisors[n],SquareFreeQ]
and then
f[4]
it gives me
{1,2}
which is correct. If I type (afterwards)
f[n]
again the wrong answer "Divisors[n]" is shown. What am I doing wrong? Same happens in many other circumstances.
Thanks in advance,
Kilian.
- Follow-Ups:
- Re: Mathematicas simplifications
- From: DrMajorBob <btreat1@austin.rr.com>
- Re: Mathematicas simplifications