login
A366680
Numbers k such that (34^k + 1)/35 is prime.
0
3, 294277, 735439
OFFSET
1,1
COMMENTS
These are the repunits in base -34.
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
Cf. A185230.
Sequence in context: A339776 A033982 A326618 * A154824 A261541 A309225
KEYWORD
nonn,bref,hard,more
AUTHOR
Paul Bourdelais, Oct 16 2023
STATUS
approved