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.

A100028 Values of n for which the decimal number 10...030...01 is an n-digit prime.

Original entry on oeis.org

3, 5, 7, 9, 23, 29, 33, 185, 267, 307, 757, 897, 1571, 2977, 3831, 4595, 6573, 9511, 11651, 15641, 68885, 69883
Offset: 1

Views

Author

Harvey Dubner (harvey(AT)dubner.com), Nov 20 2004

Keywords

Examples

			The corresponding primes are 131, 10301, 1003001, 100030001, 10000000000300000000001, etc.
		

Crossrefs

Programs

  • Mathematica
    IntegerLength/@Select[Table[FromDigits[Join[PadRight[{1},n,0],{3},PadLeft[ {1},n,0]]],{n,35000}],PrimeQ] (* Harvey P. Dale, Dec 20 2019 *)

Formula

a(n) = 2*(A171376(n+1))+1. - Chai Wah Wu, Aug 20 2015