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!)
A056831 LCM of composite numbers falling between n-th and (n+1)-st primes. 3
4, 6, 360, 12, 1680, 18, 4620, 491400, 30, 1884960, 29640, 42, 45540, 12994800, 45821160, 60, 89369280, 164220, 72, 211110900, 265680, 195878760, 83434347360, 485100, 102, 578760, 108, 683760, 97661867698205811000, 1073280, 1799665560 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
FORMULA
a(A029707(n)) = A014574(n). - Michel Marcus, Mar 22 2020
MATHEMATICA
Table[LCM@@Range[Prime[n]+1, Prime[n+1]-1], {n, 2, 50}]
PROG
(PARI) a(n) = my(x=prime(n)+1); for (i=x, prime(n+1)-1, x = lcm(i, x)); x; \\ Michel Marcus, Mar 22 2020
(Python)
from math import lcm
from sympy import prime
def A056831(n): return lcm(*range(prime(n)+1, prime(n+1))) # Chai Wah Wu, Apr 16 2023
CROSSREFS
Sequence in context: A076098 A141568 A113838 * A027717 A035481 A323214
KEYWORD
nonn,easy
AUTHOR
Labos Elemer, Aug 30 2000
EXTENSIONS
Edited by Robert G. Wilson v, Apr 12 2002
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 March 29 08:13 EDT 2024. Contains 371265 sequences. (Running on oeis4.)