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.

A100322 a(n) is the smallest positive integer k such that the digits of the fractional part of Pi^k begin with n.

This page as a plain text file.
%I A100322 #16 Jun 18 2022 14:06:06
%S A100322 1,7,6,4,8,23,25,2,15,91,51,307,49,1,102,315,112,12,76,26,115,208,77,
%T A100322 276,161,40,13,41,7,99,174,169,86,453,110,204,53,6,67,4,228,123,37,
%U A100322 134,158,192,33,45,61,200,31,324,8,56,34,105,148,17,19,92,23,38,27,39,32,82
%N A100322 a(n) is the smallest positive integer k such that the digits of the fractional part of Pi^k begin with n.
%e A100322 Pi^1 = 3.14159..., whose digits after the decimal point begin with 1, so a(1)=1.
%e A100322 Pi^2 = 9.869..., whose digits after the decimal point begin with 8, so a(8)=2.
%e A100322 a(14)=1 because Pi^1 = 3.14....
%o A100322 (PARI) a(n) = my(k=1); while (floor(frac(Pi^k)*10^(1+logint(n, 10))) != n, k++); k; \\ _Michel Marcus_, Jun 18 2022
%Y A100322 Cf. A000796, A002388, A091925, A092425, A092731, A092732, A092735, A092736.
%K A100322 base,nonn
%O A100322 1,2
%A A100322 Mark Hudson (mrmarkhudson(AT)hotmail.com), Nov 16 2004