Robert Harley on Wed, 17 May 2000 14:41:07 +0200 (MET DST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Straightforward question about idioms


Why not something like:

{ bnd = 10000;
  S = vector(10,X,[]);
  for (i = 1, bnd,
    if (issquarefree(i),
      n = qfbclassno(if(i%4==3,-i,-4*i));
      if (n<11, S[n] = concat(S[n],i), )
    , )
  );
}

Rob.
     .-.                                                               .-.
    /   \           .-.                                 .-.           /   \
   /     \         /   \       .-.     _     .-.       /   \         /     \
  /       \       /     \     /   \   / \   /   \     /     \       /       \
 /         \     /       \   /     `-'   `-'     \   /       \     /         \
            \   /         `-'                     `-'         \   /
             `-'             Robert.Harley@inria.fr            `-'