Highly Composite Numbers
Previous

Name
  genBigHCNs

Parent
  Highly Composite Numbers

Description
  MIT License Information can be found at:
https://en.wikipedia.org/wiki/MIT_License
Copyright (c) 2024 Clay B. Carley III
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
...............................................................................
Name.......: genBigHCNs.dpr
Date.......: 09/10/2024

Author
  Clay B. Carley III

Version
  1.0
................................................................................
Description: This program is my third adaptation of generate_hcn.py by dario2994
found at: https://gist.github.com/dario2994/fb4713f252ca86c1254d?permalink_comment_id=5043437
.
My intent was to create a compiled version of this program that was faster at
generating highly composite numbers. In order to handle large numbers in Win32
Delphi, I used DelphiBigNumbers units, unit names prefixed with Velthuis,
by Rudy Velthuis found at:
https://github.com/rvelthuis/DelphiBigNumbers/tree/master/Source
.
This attempt was successful but only up to 10^10. Larger HCN numbers were
generated faster by the python version.
.
Also see: "An Algorithm for Generating Highly Composite Numbers"
by D. B. Siano and J. D. Siano. Found at:
https://wwwhomes.uni-bielefeld.de/achim/julianmanuscript3.pdf

Variables
 
Variable Description
aprime (+) An individual prime number
hcn (+) An individual highly composit number
hcns (+) List of highly composite numbers
MAXN (+) Upper limit of HCNs to be generated.
primes (+) List of primes

Methods
 
Method Description
gen_hcn (+) Generates list of highly composite numbers
gen_primes (+) Creates a list of prime numbers used by gen_hcn

Legend
 
Symbol Visibility
- Private
# Protected
+ Public
* Published
A Automated
S Strict

Highly Composite Numbers
Previous


Add your copyright informations and link here.
Created with DelphiCodeToDoc. To obtain the latest revision, please visit http://dephicodetodoc.sourceforge.net/