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.

A100415 Numbers n such that n is R(n)-th nonprime number, where R(n) is the digit reversal of n (A018252(A004086(n))=n).

Original entry on oeis.org

1, 64, 524, 534, 58725, 907538, 6264385, 9438088, 9596598, 27895162, 422984004, 548911025, 8804661048, 49640253574, 63899981216, 95138721219, 97895906839, 469449672154
Offset: 1

Views

Author

Farideh Firoozbakht, Dec 12 2004

Keywords

Comments

n is in the sequence iff n is not prime and R(n)=n-pi(n). There is no further term up to 3670000000.
a(19) > 10^13. Up to that limit, this sequence contains all the numbers k such that R(k) = k - pi(k). - Giovanni Resta, Aug 08 2019

Examples

			548911025 is in the sequence because 548911025 is the 520118945th nonprime natural number.
		

Crossrefs

Programs

  • Mathematica
    Do[s = FromDigits[Reverse[IntegerDigits[n]]]; If[ ! PrimeQ[n] && s == n - PrimePi[n], Print[n]], {n, 548911025}]

Extensions

a(13)-a(18) from Giovanni Resta, Aug 08 2019