[go: up one dir, main page]

login
A080283
Numbers n such that (log(n)/Pi)^2 is closer to its nearest integer than any value of (log(k)/Pi)^2 for 1 <= k < n.
2
2, 22, 23, 85, 2198, 83048, 422151, 2508952, 6635624, 199148648, 24591257752, 39660184000219160, 262537412640768744, 14468071444687145223825854225, 75579535015741588088534584527, 101634035376709910404057715634
OFFSET
1,1
COMMENTS
(log(2198)/Pi)^2 = 6.0000064777...
PROG
(PARI) print1("2, 22, "); k=vector(2); d=1; for(n=1, 500, k[1]=floor(exp(sqrt(n)*Pi)); k[2]=k[1]+1; for(i=1, 2, s=(log(k[i])/Pi)^2; s=abs(s-round(s)); if(s<d, d=s; print1(k[i], ", ")))) \\ Robert Gerbicz, Aug 24 2006
CROSSREFS
KEYWORD
nonn
AUTHOR
Mark Hudson (mrmarkhudson(AT)hotmail.com), Feb 13 2003
EXTENSIONS
More terms from Michel ten Voorde Jun 20 2003
Further terms from Robert Gerbicz, Aug 24 2006
STATUS
approved