login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A127030
Let f(n) = exp(Pi*sqrt(n)); sequence gives numbers n such that f(n) - floor(f(n)) < 1/10^5.
4
652, 2608, 22905, 54295, 95041, 160874, 184867, 470884, 470884, 613399, 674707, 798611, 880111, 895056, 914998, 1024331, 1027117, 1623312, 1678362, 1699773, 1720078, 1826945, 1830202, 2025665, 2089347, 2092092, 2097388, 2133524, 2375222, 2471017, 2614646
OFFSET
1,1
MATHEMATICA
$MaxExtraPrecision = 1000; a = {}; Do[If[((Exp[Pi Sqrt[x]] - Floor[Exp[Pi Sqrt[x]]]) > 0) && ((Exp[Pi Sqrt[x]] - Floor[Exp[Pi Sqrt[x]]]) < 10^(-5)), AppendTo[a, x]], {x, 1, 100000}]; a
KEYWORD
nonn
AUTHOR
Artur Jasinski, Jan 03 2007
EXTENSIONS
a(6)-a(31) from Jon E. Schoenfield, Sep 04 2017
STATUS
approved