A069014 Integers n at which the difference between e^(Pi*sqrt(n)) and its nearest integer is a new minimum.
1, 2, 6, 17, 22, 25, 37, 58, 163
Offset: 1
Links
- University of Sheffield, Department of Pure Mathematics, Is e^(Pi*Sqrt(163)) an integer?
- University of Sheffield, Department of Pure Mathematics, Is e^(Pi*Sqrt(163)) an integer?
Crossrefs
Cf. A014708.
Programs
-
Mathematica
s = 1; Do[ t = Abs[ N[ E^(Pi*Sqrt[n]), 10^3] - Round[ E^(Pi*Sqrt[n])]]; If[s > t, s = Abs[t]; Print[n]], {n, 1, 10^4}]
-
PARI
A069014()={default(realprecision, 1000);my(maxx=9999);n=1;minn=1;while (n
Bill McEachen, Mar 15 2015
Extensions
Name edited by Jon E. Schoenfield, Mar 24 2015
Comments