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.

A093170 Primes of the form 60*R_k + 7, where R_k is the repunit (A002275) of length k.

Original entry on oeis.org

7, 67, 666667, 66666667, 666666667, 66666666667, 66666666666666666667, 66666666666666666666667, 66666666666666666666666666666666666666667, 666666666666666666666666666666666666666666666666666666666666667
Offset: 1

Views

Author

Rick L. Shepherd, Mar 26 2004

Keywords

Comments

Primes of the form (2*10^k + 1)/3. - Vincenzo Librandi, Nov 16 2010
Occur in the factorization of some of the numbers of the form 13...3 not in A093671, cf. second Kamada link. - M. F. Hasler, Sep 14 2014

Crossrefs

Cf. A002275, A056657 (corresponding k), A093671, A096507.

Programs

  • Maple
    A093170:=n->`if`(isprime((2*10^n+1)/3),(2*10^n+1)/3,NULL): seq(A093170(n), n=1..70); # Wesley Ivan Hurt, Sep 14 2014
  • Mathematica
    Select[Table[FromDigits[PadLeft[{7},n,6]],{n,70}],PrimeQ] (* Harvey P. Dale, Jan 26 2013 *)

Formula

a(n) = (20*10^A056657(n)+1)/3 = (2*10^A096507(n)+1)/3.

Extensions

Edited by Ray Chandler, Feb 23 2012