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.

A108159 Numbers n such that (initial n digits of decimal expansion of 1/243)-1 is prime.

Original entry on oeis.org

3, 160, 812
Offset: 1

Views

Author

Jason Earls, Jun 07 2005

Keywords

Crossrefs

Cf. A021247.

Programs

  • Mathematica
    Do[ If[ PrimeQ[ Floor[10^n/243 - 1]], Print[n]], {n, 8000}] (* Robert G. Wilson v, Jun 10 2005 *)
  • PARI
    for(n=1,999,if(isprime(floor(1/243*10^n)-1),print1(n",")))