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.

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

Original entry on oeis.org

0, 1, 2, 16, 139, 989, 1886, 3529, 5995, 13819, 21872, 26044, 87719, 232598
Offset: 1

Views

Author

Robert G. Wilson v, Aug 09 2000

Keywords

Comments

Also numbers k such that 10^(k+1) - 3 is a prime number.

Crossrefs

Programs

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

Formula

a(n) = A089675(n) - 1. - Robert Price, Nov 01 2014

Extensions

More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 01 2008
a(13)-a(14) derived from A089675 by Robert Price, Nov 01 2014