Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Pretty output

  • To: mathgroup at smc.vnet.net
  • Subject: [mg35149] Pretty output
  • From: "Robert G. Wilson v" <rgwv at kspaint.com>
  • Date: Wed, 26 Jun 2002 01:09:25 -0400 (EDT)
  • Organization: Kansas Paint & Color Co.
  • Sender: owner-wri-mathgroup at wolfram.com

Help please.

I put in the following Mathematica code: Do[s = Sum[x^i, {i, 0, 2^n}];
Print[ ToString[ Factor[ s, Modulus -> 2]]], {n, 1, 10}]

The output was fairly straight forward until n=6 and beyond. What I am
seeing is:

"          2    3    4        4    5    6    7    8    12        2
5    6    7    10    12        2    3    4    6    8    9   \
 10    12            3    5    6    7    9    11    12            2
3    4    5    6    7    8    9    10    11    12\n(1 + x \
+ x  + x  + x ) (1 + x  + x  + x  + x  + x  + x  ) (1 + x  + x  + x  +
x  + x   + x  ) (1 + x  + x  + x  + x  + x  + x  + x   + x \
 ) (1 + x + x  + x  + x  + x  + x  + x   + x  ) (1 + x + x  + x  + x  +
x  + x  + x  + x  + x  + x   + x   + x  )"

What is the deal here?

Also what is the easiest way to count the number of factors?

Thank you for any assistance in advance.

Sincerely yours,

Robert G. Wilson, V


  • Prev by Date: Re: FourierTransform problem
  • Next by Date: Re: Difference /recurrence equations
  • Previous by thread: New Mathematica 4.2 Delivers XML and Java Functionality
  • Next by thread: Re: Pretty output