Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive


  • To: mathgroup at
  • Subject: [mg77917] Re:QuestionUsenet
  • From: JanPax <pax0 at>
  • Date: Tue, 19 Jun 2007 06:59:43 -0400 (EDT)

  what is the easiest way to generate (in Mathematica) ALL terms given some
  function symbols and their arities
  and variables x,y, like e.g. f unary, g binary, up to depth N?
  x,y, f(x),f(y),g(x,f(x)),g(x,f(y))....
  Or even better, to generate *next* term at one step, so that all terms up
  to depth N  will be reached once.
  Thank you, JP

  • Prev by Date: Riddle with Ordering
  • Next by Date: Re: Combination List
  • Previous by thread: Re: Re: Riddle with Ordering
  • Next by thread: Re: Re:QuestionUsenet