cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A366680 Numbers k such that (34^k + 1)/35 is prime.

Original entry on oeis.org

3, 294277, 735439
Offset: 1

Views

Author

Paul Bourdelais, Oct 16 2023

Keywords

Comments

These are the repunits in base -34.

Examples

			3 is a term since (34^3 + 1)/35 = 1123 is a prime.
		

Crossrefs

Cf. A185230.

Programs

  • Mathematica
    Do[ If[ PrimeQ[ (34^n+1)/35], Print[n]], {n, 0, 18000}]
  • PARI
    is(n) = my(q=(34^n+1)/35); (denominator(q)==1) && ispseudoprime(q);