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.

Showing 1-2 of 2 results.

A099410 Numbers k such that 2*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, 14, 176, 416, 2505, 2759, 7925, 9401, 10391, 12105, 19616, 261704, 264539
Offset: 1

Views

Author

Robert G. Wilson v, Oct 14 2004

Keywords

Comments

Also numbers k such that (2*10^k + 61)/9 is prime.
Although perhaps a degenerate case, A002275 defines R(0)=0. Thus zero belongs in this sequence since 2*0+7=7 is prime. - Robert Price, Oct 28 2014
a(15) > 10^5. - Robert Price, Oct 29 2014

Crossrefs

Programs

  • Magma
    [n: n in [0..500] | IsPrime((2*10^n+61) div 9)]; // Vincenzo Librandi, Oct 30 2014
  • Mathematica
    Do[ If[ PrimeQ[ 2(10^n - 1)/9 + 7], Print[n]], {n, 0, 5000}]

Formula

a(n) = A056678(n-1) + 1.

Extensions

Added zero and adapted Mathematica program by Robert Price, Oct 28 2014
a(10)-a(14) from Kamada data by Robert Price, Oct 29 2014
a(15)-a(16) from Kamada data by Tyler Busby, May 03 2024

A093401 Primes of the form 20*R_k + 9, where R_k is the repunit (A002275) of length k.

Original entry on oeis.org

29, 229, 22229, 22222222222229
Offset: 1

Views

Author

Rick L. Shepherd, Mar 28 2004

Keywords

Comments

a(5) has 176 digits, a(6) has 416 digits. - Vincenzo Librandi, Dec 10 2010; Bruno Berselli, Jul 17 2012

Crossrefs

Cf. A002275, A056678 (corresponding k), A099410.
Showing 1-2 of 2 results.