MathGroup Archive 1997

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

Search the Archive

Sequence is funny !

  • To: mathgroup at
  • Subject: [mg8852] Sequence is funny !
  • From: Gilles BARBIER <Gilles.Barbier at>
  • Date: Tue, 30 Sep 1997 20:16:12 -0400
  • Sender: owner-wri-mathgroup at

     For some people who like to understand the internal mechanism
     of Mathematica, I give them this little problem a friend sent to me :
     Why Table[i,{i,Sequence[1,3]}] gives {1,2,3,4} instead of {1,2,3} !!
     That's not a bug, I even have an explanation,if you are interested.
     Hope it's fun,

  • Prev by Date: Re: MatrixForm
  • Next by Date: Re: Unsolved integral
  • Previous by thread: := vs. =
  • Next by thread: Piecewise functions