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.

A345402 Numbers k such that (42^k-1)/41 is prime.

Original entry on oeis.org

2, 1319, 337081
Offset: 1

Views

Author

Paul Bourdelais, Sep 28 2021

Keywords

Comments

These are the repunit primes in base 42.

Examples

			2 is a member since (42^2-1)/41 = 43 is prime.
		

Crossrefs

Cf. A218745.

Programs

  • Mathematica
    Do[ If[ PrimeQ[ (42^n-1)/41], Print[n]], {n, 2, 400000}]
  • PARI
    is(n)=isprime((42^n-1)/41)