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.

A048388 Replacing digits d in decimal expansion of n with d^2 yields a prime.

Original entry on oeis.org

11, 13, 17, 19, 21, 27, 51, 57, 71, 73, 81, 87, 89, 91, 101, 103, 107, 119, 123, 129, 131, 133, 137, 149, 153, 161, 167, 169, 173, 189, 191, 197, 199, 201, 203, 207, 213, 223, 229, 231, 233, 249, 253, 267, 283, 307, 311, 313, 319, 321, 331, 337, 341, 359, 371
Offset: 1

Views

Author

Patrick De Geest, Mar 15 1999

Keywords

Examples

			199 = (1)(9)(9) -> (1)(81)(81) = 18181 which is a prime.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[400],PrimeQ[FromDigits[Flatten[IntegerDigits/@ (IntegerDigits[ #]^2)]]]&] (* Harvey P. Dale, Oct 13 2013 *)