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-1 of 1 results.

A139536 Smallest prime starting with 1 and followed by a string of n 0's.

Original entry on oeis.org

101, 1009, 10007, 100003, 1000003, 100000037, 100000007, 1000000007, 100000000019, 100000000003, 10000000000037, 100000000000031, 1000000000000037, 10000000000000061, 100000000000000013
Offset: 1

Views

Author

Lekraj Beedassy, Apr 25 2008

Keywords

Comments

Not the same as A139535 though most entries match. (First dissimilarity occurs for n=19: A139535(19)=1000000000000000000409; A139536(19)=10000000000000000000139.)

Programs

  • Mathematica
    Table[Module[{k=1},While[CompositeQ[10^IntegerLength[k] FromDigits[ PadRight[ {1},n,0]]+k],k+=2];10^IntegerLength[k] FromDigits[ PadRight[ {1},n,0]]+k],{n,2,20}] (* Harvey P. Dale, Aug 07 2021 *)
Showing 1-1 of 1 results.