================================================================================
  VILLANOVA - Prime Number Generator & Calculator
  Fernando M. Villanova - Brazil - April 2026
  https://www.fernandovillanova.com.br/primes
================================================================================
 
ABOUT THE PROGRAM
-----------------
This is the first public release of my prime number generation and analysis
program. It incorporates several personal modules developed over many years
of research into large prime numbers.
 
I have already done extensive testing and believe it is ready to be shared.
There are still some modules being converted, but releasing now allows me
to receive feedback and ideas for new functions.
 
In April 2026, a candidate number with 45,257,307 digits generated by this
program is currently undergoing a PRP (Probable Prime) test by volunteer
ryanp on the GIMPS forum using 128 threads. Result expected around May 2026.
 
 
YOUR SIGNATURE FEATURE
----------------------
One of the unique features of this program is the ability to embed a personal
message permanently inside a prime number.
 
Before generation, type any text (up to 60 characters) in the "Your signature"
field. The program encodes each character as a 3-digit ASCII code and writes
it directly into the digits of the prime number, starting at the second digit
position, wrapped between pipe markers | (ASCII 124).
 
Example with signature "John - May 2026":
 
  The number starts with:
  7 124 074 111 104 110 032 045 032 077 097 121 032 050 048 050 054 124 ...
  ^  |   J   o   h   n   sp  -  sp   M   a   y  sp   2   0   2   6   |
 
  Which reads as digits: 71240741111041100320450320770971210320500480500541 24...
 
The signature is mathematically permanent — it is part of the prime number
itself. Anyone can decode it by reading groups of 3 digits between the
two | markers. The program automatically detects and displays the signature
whenever a number with this encoding is loaded or generated.
 
 
SECURITY NOTICE
---------------
The program does NOT contain:
  - Viruses or malware of any kind
  - Malicious routines or Trojans
  - Encryption or obfuscation
  - Internet access (only the website link on screen)
 
If your antivirus complains, it is a FALSE POSITIVE.
Add the program folder to your antivirus exclusions list and contact your
antivirus vendor demanding an explanation for the false detection.
BECAUSE THE PROGRAM DOES NOT HAVE ANY VIRUSES.
 
 
INSTALLATION
------------
1. Create a folder anywhere on your computer.
2. Download the ZIP file from: https://www.fernandovillanova.com.br/primes
3. Extract ALL files from the ZIP into that folder.
4. Create a shortcut on your desktop pointing to:
 
     FMV64.exe
 
5. Done! No setup or installation required.
 
NOTE: Keep all files in the same folder. The program requires the support
files (DLLs and help files) to be in the same directory as FMV64.exe.
 
 
INCLUDED FILES
--------------
  FMV64.exe               - Main executable (64-bit Windows)
  pfgw64_133mm.exe        - PFGW custom build for numbers up to 133M digits
  libgmp-10.dll           - GNU Multiple Precision library
  libmpug.dll             - Prime utilities library
  help_calculator.txt     - Calculator instructions (open via Help button)
  user_manual.txt         - Complete user manual (open via User Manual button)
  readme.txt              - This file
  villanova_11705.txt     - Example prime number (11,705 digits)
  villanova_13708.txt     - Example prime number (13,708 digits)
 
 
MAIN FEATURES
-------------
  - Generation of prime number candidates with arbitrary size
  - Personal signature embedding in generated prime numbers
  - Mersenne prime candidate search (2^p - 1 form)
  - Numbers tested with up to 45+ million digits
  - Three-layer GCD pre-filter covering primes up to ~13,000,000
  - Integrated PFGW testing with multiple test modes:
      Trial division, PRP (multiple bases), Mersenne LL, deep scan
  - BigInt Calculator with 20+ operations:
      Arithmetic: Add, Subtract, Multiply, Divide, Mod
      Power & Roots: Power, Root, RootRem
      Shifts: Shift Left, Shift Right, x10, /10
      Number Theory: GCD, GCF M, LCM, Logx(n)
      String: Reverse, Concat
      Primes: PrevP, NextP, Is P?, Run> PRP/Pfgw
      Analysis: Factorization, Digit Position Analyzer
      Memory: M, MR, MC, M+, M-, M<>D, C
  - Statistical analysis of digit distribution (bidirectional)
  - Digit position analysis (works on 45M digit numbers in under 1 second!)
  - Export results to Excel
  - Verify numbers from file or clipboard
  - Save/load parameters in .fmv files
 
 
PRIME CANDIDATE FILES
---------------------
Available for download and independent testing:
 
  11,705 digits     - https://www.fernandovillanova.com.br/primes/villanova_11705.zip
  13,708 digits     - https://www.fernandovillanova.com.br/primes/villanova_13708.zip
  45,257,307 digits - https://www.fernandovillanova.com.br/primes/villanova_45257307.zip
 
 
SYSTEM REQUIREMENTS
-------------------
  - Windows 10 or Windows 11 (64-bit)
  - No additional software required
  - Recommended: 8 GB RAM or more for very large numbers
  - Note: On Windows 11, for best results with the PFGW console window,
    set the default terminal to "Windows Console Host" in Windows Terminal
    Settings → Startup → Default terminal application.
 
 
CONTACT & FEEDBACK
------------------
  Fernando
  fvillanova@hotmail.com
  https://www.fernandovillanova.com.br/primes
 
Feedback, bug reports, and suggestions for new features are very welcome!
 
 
ABOUT PFGW64_133MM.exe — CUSTOM BUILD
--------------------------------------
The included pfgw64_133mm.exe is a custom Windows x64 build compiled
under MSYS2/MINGW64 using GCC 15.2.0.
 
The original OpenPFGW source code was modified to support much larger
input line sizes (up to 133 million characters) by editing the PFIO
input buffer limits. The build was also linked against a modern GWNUM 31.4
library extracted from Prime95 sources, including the optimized AMD64
assembly modules (AVX/FMA), and compiled with full static linking so
no external DLLs are required.
 
Compilation environment:
  * MSYS2 / MINGW64
  * GCC 15.2.0
  * GMP 6.3.0
  * GWNUM 31.4
  * Windows x64
  * Static linking (-static, -static-libgcc, -static-libstdc++)
 
Modified source files:
  * pform/pfio/pffile.cpp   - input buffer size limit
  * pform/pfio/pfabcfile.h  - input buffer size limit
  * make.inc                - build configuration
  * gwnum/polymult.c        - polynomial multiplication
  * gwnum/make64            - 64-bit build script
 
This build is distributed free of charge under the original
OpenPFGW / LGPL license terms.
 
PFGW (PrimeForm/GW) is an open-source primality testing tool
developed by George Woltman and contributors.
Source: https://sourceforge.net/projects/openpfgw/
 
Note: Trial division modes (Trial division only, Trial + PRP, Trial extended,
Factor deep scan) may cause the main Villanova window to become temporarily
unresponsive during processing. This is normal behavior caused by the
intensive CPU usage of trial division. The STOP button remains active.
For a fully responsive interface during testing, use "PRP test only" mode.
 
================================================================================
 
