Do-download.com
 Education  /   Mathematics  /  JosephusCS 2.1.1 Free Download
 
"JosephusCS is a program that solves the Josephus Permutation problem"

Quick Download JosephusCS 2.1.1
 


JosephusCS is a program that solves the Josephus Permutation problem:

Original Problem: 1000 slaves in a circle, numbered 1 to 1000, are all
to be shot except one lucky survivor. The order of shooting is 1, 3,
5, etc., always alternating, and always immediately removing the
fallen bodies. Once a body has fallen, it is no longer considered part
of the circle for purposes of future counting and alternation.
Example, n=6: Shoot 1,3,5,2,6; 4 survives.

The General Problem: There is an ordered set of n objects arranged
in a circle with object i (n >= i >= 1) in position i. All n objects are
selected and removed in a certain order and placed in a new circle
with the new position number k beings the order of selection. Object
f is selected first. After each selection, m minus 1 of the remaining
objects following the one removed are skipped and the next object
is then selected. We are interested in the nature of the permutation
generated by this process, its fixed elements, and in particular the
original position L of the last object selected. Note that m and f can
be as low as 1 and can be larger than n.

n = The number of objects in the circle
f = index of first object to be selected [1, n]
m = difference in index of items selected, m = 2 => every other

All of the source is included in the distributed file.
Please let me know what you think about this program.
-Harry hjsmithh@sbcglobal.net

 
Related Search For JosephusCS

Download Sites :
      harry-j-smith.com

JosephusCS
Version:2.1.1
File Size:1002 KB
Last updated:2008-07-08
License:Freeware   $0.00
OS:Win95,Win98,WinME,WinNT 3.x,WinNT 4.x,WinXP,Windows2000,Windows2003
Author:Harry J. Smith
Statement
Do-download.com do not supply any crack, patches,torrent, password, serial numbers, registration codes, key generators, cd key, hacks or keygen for the software,and please consult directly with program authors (Harry J. Smith) if you have any problem with the software.


COPYRIGHT (C) 2005 - 2015 , Gdosoft Associates . ALL RIGHT RESERVED