OFFSET
1,1
COMMENTS
These are the repunits in base -34.
LINKS
Paul Bourdelais, A Generalized Repunit Conjecture
EXAMPLE
3 is a term since (34^3 + 1)/35 = 1123 is a prime.
MATHEMATICA
Do[ If[ PrimeQ[ (34^n+1)/35], Print[n]], {n, 0, 18000}]
PROG
(PARI) is(n) = my(q=(34^n+1)/35); (denominator(q)==1) && ispseudoprime(q);
CROSSREFS
KEYWORD
nonn,bref,hard,more
AUTHOR
Paul Bourdelais, Oct 16 2023
STATUS
approved