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.

A229190 Beginning position of n in the decimal expansion of the Copeland-Erdos constant.

This page as a plain text file.
%I A229190 #12 Feb 16 2025 08:33:20
%S A229190 48,5,1,2,21,3,31,4,41,12,47,5,62,7,22,77,32,9,95,11,589,110,113,1,
%T A229190 128,131,137,63,149,15,158,8,14,123,24,2,188,19,42,72,206,21,215,23,
%U A229190 227,233,236,25,248,75,257,78
%N A229190 Beginning position of n in the decimal expansion of the Copeland-Erdos constant.
%C A229190 Same as A165449 but including the a(0) term.
%H A229190 Eric W. Weisstein, <a href="/A229190/b229190.txt">Table of n, a(n) for n = 0..999</a>
%H A229190 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/Copeland-ErdosConstantDigits.html">Copeland-Erdos Constant Digits</a>
%H A229190 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/ConstantDigitScanning.html">Constant Digit Scanning</a>
%o A229190 (Python)
%o A229190 from sympy import primerange
%o A229190 from itertools import count, takewhile
%o A229190 def afind(plimit):
%o A229190   s = "".join(str(p) for p in primerange(1, plimit+1))
%o A229190   return [1+s.find(str(n)) for n in takewhile(lambda i: str(i) in s, count(0))]
%o A229190 print(afind(10**4)) # _Michael S. Branicky_, May 01 2021
%Y A229190 Cf. A033308 (decimal expansion of the Copeland-Erdos constant).
%Y A229190 Cf. A165449 (same sequence but omitting the a(0) term).
%K A229190 nonn,base,less
%O A229190 0,1
%A A229190 _Eric W. Weisstein_, Sep 15 2013