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.

A341442 a(n) is the position of the start of the first occurrence of prime(n) after the decimal point in the expansion of e.

This page as a plain text file.
%I A341442 #20 Feb 12 2021 17:50:16
%S A341442 4,17,11,1,200,27,88,108,16,131,189,270,124,134,25,18,11,242,59,1,157,
%T A341442 168,205,221,35,195,941,283,1748,355,370,4604,1574,1998,223,413,201,
%U A341442 483,232,599,2875,120,1382,108,607,1067,426,2494,1329,517,178,574,2133
%N A341442 a(n) is the position of the start of the first occurrence of prime(n) after the decimal point in the expansion of e.
%F A341442 a(n) = A078197(prime(n)). - _Rémy Sigrist_, Feb 12 2021
%e A341442 The first position at which prime(1)=2 occurs to the right of the decimal point in e=2.71828... is the 4th digit after the decimal point, so a(1)=4.
%t A341442 en=Characters[ToString@N[E,10000]];
%t A341442 For[x=1,x<=100,x++,Print["x=",x," ",prn=Prime[x]," ",pos=First[SequencePosition[en,Characters[ToString[prn]]]-2]]]
%Y A341442 Cf. A000040, A001113, A037024, A078197, A128050.
%K A341442 nonn,base
%O A341442 1,1
%A A341442 _Gregory Allen_, Feb 11 2021