OFFSET
1,1
COMMENTS
These are the Repunits in base -81. Since 81=3^4, factors will be of the form p=8nk+1. (Negative) bases that are powers of small numbers appear to have a higher frequency of primes than Repunits in other bases. The best linear fit for this base is currently 0.29918 which is much lower (better) than the conjectured 0.56145948 (see link to conjecture).
LINKS
Paul Bourdelais, A Generalized Repunit Conjecture
EXAMPLE
3 is a term since (81^3 + 1)/82 = 6481 is a prime.
MATHEMATICA
Do[ If[ PrimeQ[ (81^n+1)/82], Print[n]], {n, 0, 1000000}]
PROG
(PARI) is(n)=isprime((81^n+1)/82)
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Paul Bourdelais, Dec 09 2021
STATUS
approved