Near-repdigit

The Prime Pages keeps a list of the 5000 largest known primes, plus a few each of certain selected archivable forms and classes. These forms are defined in this collection's home page.

This page is about one of those forms.

(up) Definitions and Notes

A repunit is a number of the form 11111...111 (repeated units). In base two (binary), these are the Mersenne primes. In base ten, just a few are known. If we repeat any other digit, then we get a composite (e.g., 777777 is divisible by 7).

To get a more general form, two things have been tried:

  1. Let one of the digits differ from one--these are the near repunit primes.
  2. Let all but one of the digits be the same, these are the near repdigit primes (and include the near repunit primes).

(up) Record Primes of this Type

rankprime digitswhowhencomment
18 · 105112847 - 1 5112848 A19 Jan 2024 Near - repdigit
26 · 104000494 - 1 4000495 A19 Jul 2026 Near - repdigit
38 · 102084563 - 1 2084564 A2 Jun 2025 Near - repdigit
48 · 102045966 - 1 2045967 A2 May 2025 Near - repdigit
58 · 101990324 - 1 1990325 A2 May 2025 Near - repdigit
6101888529 - 10944264 - 1 1888529 p423 Oct 2021 Near - repdigit, palindrome
76 · 101807300 - 1 1807301 A2 May 2025 Near - repdigit
8993 · 101768283 - 1 1768286 L4879 Feb 2019 Near - repdigit
99 · 101762063 - 1 1762064 L4879 Aug 2020 Near - repdigit
10(10859669 - 1)2 - 2 1719338 p405 May 2022 Near - repdigit
118 · 101715905 - 1 1715906 L4879 Aug 2020 Near - repdigit
128 · 101652593 - 1 1652594 A2 May 2025 Near - repdigit
1392 · 101585996 - 1 1585998 L4789 Apr 2023 Near - repdigit
149 · 101585829 - 1 1585830 A2 May 2025 Near - repdigit
159992 · 101567410 - 1 1567414 L4879 Aug 2020 Near - repdigit
1699 · 101536527 - 1 1536529 L4879 Feb 2019 Near - repdigit
17992 · 101533933 - 1 1533936 L4879 Feb 2019 Near - repdigit
1892 · 101439761 - 1 1439763 L4789 Dec 2020 Near - repdigit
19(10657559 - 1)2 - 2 1315118 p405 May 2022 Near - repdigit
209 · 101224889 - 1 1224890 A2 May 2025 Near - repdigit

(up) References

Caldwell89
C. Caldwell, "The near repdigit primes 333 ... 331," J. Recreational Math., 21:4 (1989) 299--304.
Caldwell90
C. Caldwell, "The near repdigit primes AnB, ABn, and UBASIC," J. Recreational Math., 22:2 (1990) 100--109.
CD95
C. Caldwell and H. Dubner, "The near repunit primes 1n-k-1011k," J. Recreational Math., 27 (1995) 35--41.
CD97
C. Caldwell and H. Dubner, "The near repdigit primes An-k-1B1Ak, especially 9n-k-1819k," J. Recreational Math., 28:1 (1996-97) 1--9.
Heleen98
Heleen, J. P., "More near-repunit primes 1n-k-1D11k, D=2,3, ..., 9," J. Recreational Math., 29:3 (1998) 190--195.
Williams78b
H. C. Williams, "Some primes with interesting digit patterns," Math. Comp., 32 (1978) 1306--1310.  Corrigendum in 39 (1982), 759.  MR 58:484
Printed from the PrimePages <t5k.org> © Reginald McLean.