login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A187284 a(n) = round(log(lcm(1,...,n))) - n. 1
0, -1, -1, -1, -2, -1, -2, -1, -1, -1, -2, -1, -2, 0, -1, -2, -3, -1, -2, 0, -1, -2, -3, -1, -2, -1, -2, -2, -3, -1, -2, 1, 1, 0, -1, -2, -3, -1, -2, -3, -4, -1, -2, 1, 0, -1, -2, 1, 0, 0, -1, -2, -3, 0, -1, -2, -3, -4, -5, -1, -2, 1, 0, -1, -2, -3, -4, 0, -1, -2, -3, 0, -1, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
The prime number theorem implies that lcm(1,2,...,n) = exp(n(1+o(1))) as n -> infinity.
The sequence seems to exhibit significant unpredictability.
LINKS
FORMULA
a(n) = round(log(A003418(n))) - n.
EXAMPLE
lcm(1,2,...20)=232792560, log(232792560)=19.2657, round(19.2657-20)=-1, so a(20)=-1.
MATHEMATICA
nn=1000; Round[Flatten[{Log /@ FoldList[LCM, 1, Range@nn] - Range[0, nn}]]
Join[{0}, Table[Round[Log[LCM@@Range[n]]]-n, {n, 80}]] (* Harvey P. Dale, Jan 08 2020 *)
CROSSREFS
Cf. A003418.
Sequence in context: A266871 A331290 A060500 * A160198 A207709 A131718
KEYWORD
sign
AUTHOR
Ben Branman, Mar 07 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 30 16:34 EDT 2024. Contains 375545 sequences. (Running on oeis4.)