Numbers bn ±(b-1)

Updated July 4, 2006

Internal links:

  1. General information
  2. Factorization:
    1. Recent updates
    2. Milestones and progress
    3. Links
  3. Primes and PRP's
    1. Recent updates
    2. Milestones and progress
    3. Links

General information

This page summarizes efforts to factorize or to prove primality of integers in the above mentioned form (b>2). In a sense, they are generalization of Meresenne numbers or the "other edge" of the Cunningham project. These numbers are quite smooth in a base b, since they can be written as:
bn+(b-1)=10...0c      bn-(b-1)=cc...c1,
where c is a digit b-1 (in the base b).
Only a small part of software is written myself: pre-sieving, trial factoring for small primes, checking, and some management tools. Mainly, I use the well-known and widely-used software: PrimeFormGW, NewPGen, ECM-GMP, Primo, and ECPP. Some factorization have been done using Msieve, ppsiqs or GGNFS. If you are involved in factorization, you know this software. If not - please visit one of many prime pages, e.g. this maintained by Chris Caldwell.
Also some primility tests have been done with ECPP, Primo, and pfgw. Of course, at first PRP tests are perfomed.
Below you will find two sections: Factorization and Primes and PRP's. Each of them has three parts: Recent updates, Milestones and progress, and Links. Note that recent updates are only described there - full detalis may be found in appropriate files (see Links).

Factorization

  1. Recent updates
  2. Milestones and progress
  3. Links & files
  4. Primes and PRP's
  5. Main menu

General rules

The aim is to factorize integers bn±(b-1) with bn no greater than 21024 (it means that, e.g. 4512+3 is included). If there is known algebraic/Aurifeuillian factorization then this limit is applied to a larger part (e.g. to (93k-8)/(9k-2) - the M part of 9n-8). Here is a table with these limits:
base 3 4 5 5-LM 5+LM6 7 8 9 9M 10 10LM 11 12 13 14 15 16 17 17-LM 17-QRS 17-QRST
n max 646 512 441 882 880 396 364 341 323 483 308 616 296 285 276 268 262 256 250 500 500 1000

After each run of any factorization program composite cofactors with less than 256 bits (approx. 1.158*1077) are factorized with Msieve or PPSIQS, so at any moment only composites larger than 2256 are in tables. [This remark concerns mainly GMP-ECM at early stages.]

Recent updates

In this place only general changes (e.g. adding a new series) will be announced. A table with recent factorizations is provided in a separate file. Results are included in this file if one of four conditions is satisfied: These rules apply to published tables; it is assumed that the first results are published after GMP-ECM runs with B1=3e3 (15-digit factors), though a limit B1=11e3 is rather prefered (20 decimal digits or 64-bit factors). To eliminate as many as possible small factors number of curves is two or even three times larger than the minimal ones (i.e. up to 231 curves for B1=11e3) and, of course, P±1 tests are perfomed.
Updates in factorizations lead to updates in Composite cofactors; updates in the 100 largest ECM/QS/NFS factors and the Most wanted and holes are announced separately. See also Links & files.

Milestones and progress

Used programs and current bounds:

  1. GMP-ECM 6.0.1: B1=5e4 (B1=11e3 done for all numbers);
  2. Msieve 1.06: 2360, i.e. about 2.349*10108;
  3. GGNFS 0.77.1: numbers C120-C135 and the 'most wanted' below 10150;

These are short notes only. For details (reservation) ask Wojtek Florek.

Series Number of integers Left to factorize B1 done Notes
total without known factors
3n-2 646 217 7 1e6 Extension to n=646 in progress with B1=1e6
3n+2 646 211 3 1e6 Extension to n=646 in progress with B1=1e6
4n-3 512 182 8 25e4 Some numbers were tested with B1=1e6
4n+3 512 179 4 25e4 Some numbers were tested with B1=1e6
5n-4 (n odd) 221 81 5 25e4
5n-4 (n even, the L part) 441 157 2 25e4 In fact it is the series 5k-2 for n=2k;
5n-4 (n even, the M part) 441 176 1 25e4 In fact it is the series 5k+2 for n=2k;
5n+4 (not equal 4k) 331 122 0 25e4
5n+4 (n=4k, the L part) 220 86 1 5e4 The L part of 54k+4 is given as 52k+2-2*5k;
B1=25e4 in progress
5n+4 (n=4k, the M part) 220 80 0 5e4 The M part of 54k+4 is given as 52k+2+2*5k;
B1=25e4 in progress
6n-5 396 153 5 5e4 B1=25e4 in progress
6n+5 396 139 5 5e4 B1=25e4 in progress
7n-6 364 156 5 11e3 B1=5e4 in progress
7n+6 364 159 3 5e4
8n-7 341 125 1 11e3 B1=5e4 in progress
8n+7 341 157 3 11e3
9n-8 (n not equal 3k) 331 66 2 1e6
9n-8 (n=3k, the M part) 162 39 0 11e3 The M part of 93k-8 is given as 92k+2*9k+4
9n+8 (n not equal 3k) 331 99 2 11e3
9n+8 (n=3k, the M part) 162 68 2 5e4 The M part of 93k+8 is given as 92k-2*9k+4
10n-9 (n odd) 154 53 3 11e3
10n-9 (n even, the L part) 308 106 4 11e3 In fact it is the series 10k-3 for n=2k
10n-9 (n even, the M part) 308 117 5 5e4 In fact it is the series 10k+3 for n=2k;
B1=25e4 in progress
10n+9 308 118 4 5e4
11n-10 296 124 2 5e4
11n+10 296 130 5 5e4
12n-11 285 123 5 5e4
12n+11 285 131 2 5e4
13n-12 276 119 5 5e4
13n+12 276 116 4 5e4
14n-13 268 123 0 5e4
14n+13 268 119 5 5e4
15n-14 262 108 5 5e4
15n+14 262 116 3 5e4
16n-15 256 115 0 5e4
16n+15 256 102 4 5e4
17n-16 (n odd) 125 51 3 5e4 B1=25e4 in progress
17n-16 (n=4k+2, the L part) 125 55 3 5e4 In fact it is the series 17k-4 for n=4k+2
17n-16 (n=4k+2, the M part) 125 56 0 5e4 In fact it is the series 17k+4 for n=4k+2
17n-16 (n=4k, the Q part) 188 54 0 5e4 In fact it is the series 17k-2 for n=4k;
17n-16 (n=4k, the R part) 188 54 0 5e4 In fact it is the series 17k+2 for n=4k
17n-16 (n=4k, the S part) 188 79 3 5e4 In fact it is the series 172k+4 for n=4k and 172k+2-2*17k for n=8k
17n-16 (n=8k, the T part) 125 48 3 5e4 This part is equal to 172k+2+2*17k for n=8k;
17n+16 250 1071 5e4
TOTAL 13056 4975 125

This info is a bit out of date and "out of scope".

Links & files

Links to text files containing some results:

Series Factorization Prime cofactors Composite cofactors
3- fct_3m prf_3mccf_3m
3+ fct_3p prf_3pccf_3p
4- fct_4m prf_4mccf_4m
4+ fct_4p prf_4pccf_4p
5- fct_5m prf_5mccf_5m
5-LM fct_5mLM prf_5mLMccf_5mLM
5+ fct_5p prf_5pccf_5p
5+LM fct_5pLM prf_5pLMccf_5pLM
6- fct_6m prf_6mccf_6m
6+ fct_6p prf_6pccf_6p
7- fct_7m prf_7mccf_7m
7+ fct_7p prf_7pccf_7p
8- fct_8m prf_8mccf_8m
8+ fct_8p prf_8pccf_8p
9- fct_9m prf_9mccf_9m
9-M fct_9mM prf_9mMccf_9mM
9+ fct_9p prf_9pccf_9p
9+M fct_9pM prf_9pMccf_9pM
10- fct_10m prf_10mccf_10m
10-LM fct_10mLM prf_10mLMccf_10mLM
10+ fct_10. prf_10pccf_10p
11- fct_11m prf_11mccf_11m
11+ fct_11p prf_11pccf_11p
12- fct_12m prf_12mccf_12m
12+ fct_12p prf_12pccf_12p
13- fct_13m prf_13mccf_13m
13+ fct_13p prf_13pccf_13p
14- fct_14m prf_14mccf_14m
14+ fct_14p prf_14pccf_14p
15- fct_15m prf_15mccf_15m
15+ fct_15p prf_15pccf_15p
16- fct_16m prf_16mccf_16m
16+ fct_16p prf_16pccf_16p
17- fct_17m prf_17mccf_17m
17-LM fct_17mLM prf_17mLMccf_17mLM
17-QRS and 17-QRST fct_17mQRS prf_17mQRSccf_17mQRS
17+ fct_17p prf_17pccf_17p

Primes and PRP's

  1. Recent updates
  2. Milestones and progress
  3. Links & files
  4. Factorization
  5. Main menu
New verison of this part will ready soon (I hope).
All data concernig primes and PRP's in the form bn±(b-1) have been moved to a file prp1.html (updated Dec 29, 2005). In this place only very important changes will be announced (e.g. adding a new series, very large primes and PRP's etc.).

Recent updates


Milestones and progress

The largest prime (certified and verified; found by WsF) of this form (not included in factorization tables) is: 48230-2 (4955 digits).
The largest prime (certified and verified; found by others) of this form (not included in factorization tables) is: 47057-3 (4249 digits).



Links & files

Tables of primes and PRP's.

URL of this page http://perta.fizyka.amu.edu.pl/pnq/index.html
Updated July 4, 2006 by Wojciech Florek

Valid HTML 4.01 Transitional