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.

A033873 Difference between first prime > 10^n (A003617) and 10^n.

Original entry on oeis.org

1, 1, 1, 9, 7, 3, 3, 19, 7, 7, 19, 3, 39, 37, 31, 37, 61, 3, 3, 51, 39, 117, 9, 117, 7, 13, 67, 103, 331, 319, 57, 33, 49, 61, 193, 69, 67, 43, 133, 3, 121, 109, 63, 57, 31, 9, 121, 33, 193, 9, 151, 121, 327, 171, 31, 21, 3, 279, 159, 19, 7, 93, 447, 121, 57, 49, 49, 49, 99, 9
Offset: 0

Views

Author

Vasiliy Danilov (danilovv(AT)usa.net)

Keywords

Examples

			The 23rd term is 117 since 10^23 + 117 = 100000000000000000000117 is prime and all of 100000000.., 100000....001, 1000...002 up through 1000...000116 are composite.
		

References

  • O'Hara, J. Rec. Math., 22 (1990), Table on page 278.

Crossrefs

Programs

Formula

a(n) = A003617(n) - 10^n = A013632(10^n). - Robert Israel, Aug 10 2015

Extensions

More terms from Patrick De Geest