MathGroup Archive 2010

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

Search the Archive

Generate #s

  • To: mathgroup at
  • Subject: [mg110988] Generate #s
  • From: Francisco Gutierrez <fgutiers2002 at>
  • Date: Fri, 16 Jul 2010 05:16:08 -0400 (EDT)

Dear Group:
Suppose I have a list of ordered integers:
Based on it, I want to generate a list of the form:
{#[[1]], #[[5]],#[[7]],#[[9]]}
I tested with simple things like:
Table[#[[example[[i]]]], {i,1,Length[example]}]
to no avail.
How can I do it?

  • Prev by Date: Re: Primitive Disk Gradient Fills in Graphics
  • Next by Date: Integration by part
  • Previous by thread: Re: Accessing static members with J/Link
  • Next by thread: Re: Generate #s