Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

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.


  • Prev by Date: Re: Map[] and multiple args function
  • Next by Date: Re: How to simplify?
  • Previous by thread: Re: linear regression with errors in both variables
  • Next by thread: Re: Mathematicas simplifications