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.

A080285 Numbers n such that [(Pi+e)/(Pi-e)]^n is closer to its nearest integer than any value of [(Pi+e)/(Pi-e)]^k for 1 <= k < n.

This page as a plain text file.
%I A080285 #8 Mar 12 2014 15:12:45
%S A080285 1,4,10,12,20,263,964,1533,26974
%N A080285 Numbers n such that [(Pi+e)/(Pi-e)]^n is closer to its nearest integer than any value of [(Pi+e)/(Pi-e)]^k for 1 <= k < n.
%C A080285 At n=1533, the discrepancy from an integer is 0.000043205...
%C A080285 At n=26974, the discrepancy from an integer is 0.00002313... - _Ryan Propper_, Jul 26 2005
%t A080285 $MaxExtraPrecision = 10^6; x = (Pi + E)/(Pi - E); b = 1; Do[a = Abs[N[Round[x^n] - x^n, 30]]; If[a < b, Print[n]; b = a], {n, 1, 30000}] (* _Ryan Propper_, Jul 26 2005 *)
%Y A080285 Cf. A079490, A080052, A080279-A080284.
%K A080285 more,nonn
%O A080285 1,2
%A A080285 Mark Hudson (mrmarkhudson(AT)hotmail.com), Feb 13 2003
%E A080285 One more term from _Ryan Propper_, Jul 26 2005