MathGroup Archive 2009

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

Search the Archive

How do you take apart a sequence?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102030] How do you take apart a sequence?
  • From: zslevi <zslevi at gmail.com>
  • Date: Mon, 27 Jul 2009 05:54:26 -0400 (EDT)

In[75]:=
b[3, 5, 7][[1]]

Out[75]= 3

In[77]:= Sequence[3, 5][[1]]

During evaluation of In[77]:= Part::partd: Part specification \
3[[5,1]] is longer than depth of object. >>

Out[77]= 3[[5, 1]]

I'm new to Mathematica.
Is there a way to take apart a sequence?


  • Prev by Date: Re: list of arbitrary length n from user input
  • Next by Date: curve
  • Previous by thread: Re: Mathematica Animations by High School Students
  • Next by thread: Re: How do you take apart a sequence?