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.

A228075 Numbers n whose 10's complement is prime, i.e., 10^k-n, where k is the number of digits of n, is prime.

Original entry on oeis.org

3, 5, 7, 8, 11, 17, 21, 27, 29, 33, 39, 41, 47, 53, 57, 59, 63, 69, 71, 77, 81, 83, 87, 89, 93, 95, 97, 98, 113, 117, 119, 123, 137, 141, 143, 147, 161, 171, 173, 177, 179, 189, 191, 203, 213, 227, 231, 239, 243, 249, 257, 261, 267, 273, 281, 291, 299
Offset: 1

Views

Author

Jayanta Basu, Aug 09 2013

Keywords

Comments

A068811 is a subset.

Examples

			8 is a term since 10^1 - 8 = 2 is a prime.
Similarly, 39 is a term as 10^2 - 39 = 61 is prime.
		

Crossrefs

Cf. A068811.

Programs

  • Mathematica
    Select[Range[300], PrimeQ[10^(IntegerLength[#]) - #] &]