Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A111334
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A111334 a(k) is the smallest integer n with the property that the difference between the arithmetic and the geometric mean of the first n numbers is bigger than 10^k. +0
1
11, 81, 765, 7581, 75703, 756903, 7568866, 75688472, 756884504, 7568844796, 75688447681, 756884476508, 7568844764750, 75688447647137, 756884476470980, 7568844764709381, 75688447647093366, 756884476470933182 (list; graph; listen)
OFFSET

0,1

COMMENT

By using the approximation formula n! = (n/e)^n one can show that a(k) will be approximately 7.56*10^k.

FORMULA

the smallest n for which ((n+1)/2 - (n!)^(1/n)) > 10^k

EXAMPLE

(80+1)/2 - (80!)^(1/80) = 9.9026... < 10^1 < 10.032.. = (81+1)/2 - (81!)^(1/81)

So 81 is the smallest n where the required difference exceeds 10, thus a(1) = 81.

PROGRAM

(PARI) f(n)=return(log(sqrt(2*Pi))+(n+0.5)*log(n)-n+1/(12*n)) for(k=0, 24, n=0; forstep(i=4*k+8, 0, -1, m=n+2^i; \ if(f(m)>m*log((m+1)/2-10^k), n=m)); print1(n+1, ", ")) - Robert Gerbicz (robert.gerbicz(AT)gmail.com), Aug 24 2006

CROSSREFS

Sequence in context: A119364 A055429 A003730 this_sequence A085879 A029887 A026871

Adjacent sequences: A111331 A111332 A111333 this_sequence A111335 A111336 A111337

KEYWORD

nonn

AUTHOR

Stefan Steinerberger (hansibal(AT)hotmail.com), Nov 05 2005

EXTENSIONS

More terms from Robert Gerbicz (robert.gerbicz(AT)gmail.com), Aug 24 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 30 22:12 EST 2008. Contains 150989 sequences.


AT&T Labs Research