
JugglerC - Generate data for 50 dollar award written in C#
C# Console Version 4.1.x.xxxxx
Copyright (c) 1981-2008 by author: Harry J. Smith,
19628 Via Monte Dr., Saratoga, CA 95070.  All rights reserved.

Usage: JugglerC [command-file-name-to-execute]

Priority is BelowNormal

Help

Auto+           => Repeatedly do Run+ to generate max s
AutoO           => Repeatedly do RunO to generate max x
ChDir=x or CD=x => Change directory to x
ClearLog or CL  => Clear the log file
Diag=0 or DF    => Turn Diagnostic mode off (False)
Diag=1 or DT    => Turn Diagnostic mode on (True)
Execute or Ex   => Execute command file FileX
Exit or Q       => Exit/Quit the program
FileL=x or FL=x => Set Output file name of Log file
FileM=x or FM=x => Set Output file name of MaxX file
FileO=x or FO=x => Set Output file name of Output file
FileX=x or FX=x => Set Input file name of eXecute command file
Help or He      => Show this Help
Init or In      => Initialize the program from the beginning
Log=0 or LF     => Turn Log screen to log file mode off (False)
Log=1 or LT     => Turn Log screen to log file mode on (True)
Out=0 or OF     => Turn output sequence to Output file mode off (False)
Out=1 or OT     => Turn output sequence to Output file mode on (True)
Quiet=0 or QF   => Turn quiet mode off (False)
Quiet=1 or QT   => Turn quiet mode on (True)
Restore or Re   => Restore the state of inputs from Save.txt
Run             => Generate the Juggler Sequence starting with x(0)
Run+            => Increase x(0) by one and generate the Sequence
RunO            => Increase x(0) to next odd number and generate the Sequence
Save or Sa      => Save the state of inputs to Save.txt
State or St     => Show state of inputs
x0=x            => Set starting number x(0) to x
WriteMax or WM  => Output Max Juggler Number computed to MaxX file
//              => Comment follows, can also be on a line after a command

---------------

  Developed in Borland C++ 2.0.  Converted to Borland C++ 3.0 for Windows.
  Recompiled with Borland C++ 3.1 for Windows.
  and now in Visual C# .Net

  Juggler Sequence defined in Dr. Clifford A. Pickover's new book "Computers
  and the Imagination." This book has scores of educational and recreational
  experiments that can be done on a personal computer.

  At the end of Appendix C in this book you will find:

  ". . . An award of 50 dollars is offered by the publisher for a printout of
  the largest Juggler number computed by readers."

  Juggler Sequence also defined in Nov 1990 issue of Algorithm in PERSONAL
  PROGRAMS by Clifford A. Pickover.

  Pickover's definition of a juggler sequence:

  input positive integer, x
  repeat
    if x is even
      then x <-- [x^(1/2)]
      else x <-- [x^(3/2)]
  until x=1

  Where [x^(1/2)] is the integer part of the square root of x
  and [x^(3/2)] is the integer part of the square root of x cubed.


This program and the older JUGGLER60.ZIP are available at my website:

      http://www.geocities.com/hjsmithh/

in the Files to Download section

      http://www.geocities.com/hjsmithh/download.html#JugglerW
