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.

A056695 Numbers k such that 80*R_k + 7 is prime, where R_k = 11...1 is the repunit (A002275) of length k.

Original entry on oeis.org

0, 2, 3, 5, 8, 11, 71, 117, 123, 189, 243, 303, 356, 1421, 2690, 5537, 7580, 21905, 32175, 44357
Offset: 1

Views

Author

Robert G. Wilson v, Aug 10 2000

Keywords

Comments

Also numbers k such that (8*10^(k+1)-17)/9 is prime.
a(21) > 10^5. - Robert Price, May 20 2014

Crossrefs

Programs

  • Mathematica
    Do[ If[ PrimeQ[80*(10^n - 1)/9 + 7], Print[n]], {n, 0, 5000}]

Formula

a(n) = A096846(n) - 1.

Extensions

More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 01 2008
a(18)-a(20) derived from A096846 by Robert Price, May 20 2014