login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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