login
A034926
Numbers k such that 101^k-100 is prime.
0
3, 7, 9, 19, 29, 99, 145, 623, 3001, 6225, 23163
OFFSET
1,1
COMMENTS
Related to hyperperfect numbers of a certain form.
101^623-100, a 1249-digit number, has been certified prime with Primo. - Rick L. Shepherd, Jun 21 2002
a(10) > 6100. - Michael S. Branicky, Mar 07 2021
LINKS
J. S. McCranie, A study of hyperperfect numbers, J. Int. Seqs. Vol. 3 (2000) #P00.1.3.
MATHEMATICA
Do[ If[ PrimeQ[101^n - 100], Print[n]], {n, 1, 1850}]
PROG
(PARI) is(n)=ispseudoprime(101^n-100) \\ Charles R Greathouse IV, Jun 13 2017
(Python)
from sympy import isprime
def aupto(lim): return [k for k in range(lim+1) if isprime(101**k-100)]
print(aupto(625)) # Michael S. Branicky, Mar 07 2021
CROSSREFS
Sequence in context: A073573 A309328 A059621 * A224849 A304128 A304539
KEYWORD
nonn,more
AUTHOR
EXTENSIONS
Edited and extended by Robert G. Wilson v, Jun 18 2002
a(9) from Michael S. Branicky, Mar 07 2021
a(10) from Michael S. Branicky, Jan 12 2023
a(11) from Michael S. Branicky, Jun 08 2024
STATUS
approved