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.

A309343 Position of start of first occurrence of palindromic prime(n) after the decimal point in expansion of Pi.

Original entry on oeis.org

6, 9, 4, 13, 94, 852, 1096, 393, 728, 1944, 858, 934, 5229, 25, 405, 631, 647, 1259, 416, 1853, 78246, 182558, 13736, 53100, 38835, 58726, 54516, 97930, 8827, 11000, 69516, 5795, 183115, 161674, 320336, 41934, 55891, 71399, 65195, 189109, 21045, 49012
Offset: 1

Views

Author

Hauke Löffler, Jul 24 2019

Keywords

Examples

			First occurrence of palindromic prime(5) = 11 starts at the 94th digit after the decimal point, hence a(5) = 94.
		

Crossrefs

Programs

  • SageMath
    def postionInPi(n):
      return str(N(pi, 2000000))[1:].find(str(n))
    [ postionInPi(i) for i in A002385[0:200] ]