[EMAIL PROTECTED] gives a UBASIC solution to Steinar's problem:
<<  
 > First, perhaps I should explain some notation :-) a_11 is the letter `a',
 > followed by 11 in subscript. x^2 is the letter `x', followed by the letter
 > 2 in superscript (ie. `x^2' would be mathematically the same as `x*x').
 > OK, here goes:
 > 
 > If (3x^2 - x - 2)^6 = (a_12)x^12 + (a_11)x^11 + ... + (a_1)x + a_0, what
 > is a_0 + a_2 + a_4 + ... + a_12?
 > 
 > The answer is an integer from 0 to 999, inclusive.
 > 
  >>
      A Maple solution needs only one input line (plus the command line):

    |\^/|     Maple V Release 5 (WMI Campus Wide License)
._|\|   |/|_. Copyright (c) 1981-1997 by Waterloo Maple Inc. All rights
 \  MAPLE  /  reserved. Maple and Maple V are registered trademarks of
 <____ ____>  Waterloo Maple Inc.
      |       Type ? for help.
> add(coeff((3*x^2 - x - 2)^6, x, 2*j), j = 0..6); quit;
                                       32


_________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ      -- http://www.tasam.com/~lrwiman/FAQ-mers

Reply via email to