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.

A138324 a(n) = the second term in the simple continued fraction of Pi^n.

This page as a plain text file.
%I A138324 #14 Aug 29 2017 22:53:24
%S A138324 7,1,159,2,50,2,3,1,10,21,55,5,3,5,1,1,1,14,1,12,1,1,1,1,1,4,1,1,1,1,
%T A138324 1,1,2,1,1,11,2,1,1,3,3,1,1,1,2,1,1,1,7,1,8,1,2,33,1,1,1,1,117,1,2,1,
%U A138324 1,1,8,1,2,1,1,1,1,1,27,1,1,5,4,1,1,1,270,1,1,1,5,3,1,25,2,10,9,1,16,1,1,1
%N A138324 a(n) = the second term in the simple continued fraction of Pi^n.
%H A138324 Eric M. Schmidt, <a href="/A138324/b138324.txt">Table of n, a(n) for n = 1..10000</a>
%F A138324 a(n) = floor(1/(pi^n - floor(pi^n))).
%t A138324 Table[Floor[1/(# - Floor[#])] &[Pi^n], {n, 96}] (* _Michael De Vlieger_, Aug 29 2017 *)
%o A138324 (PARI) \p 2000 a(n) = floor(1/(Pi^n - floor(Pi^n))); for(i=1,100,print1(a(i),",")) \\ _Vim Wenders_, Mar 28 2008
%Y A138324 Cf. A001672.
%K A138324 nonn
%O A138324 1,1
%A A138324 _Leroy Quet_, Mar 14 2008
%E A138324 More terms from _Vim Wenders_, Mar 28 2008