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”).

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