login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A140813 Smallest number divisible by all integers 1 through n as well as all composite numbers 1 through 2n. 1
4, 12, 24, 360, 360, 2520, 5040, 5040, 5040, 55440, 55440, 3603600, 10810800, 10810800, 21621600, 367567200, 367567200, 6983776800, 6983776800, 6983776800, 6983776800, 160626866400, 160626866400, 1124388064800, 1124388064800 (list; graph; refs; listen; history; internal format)
OFFSET

2,1

COMMENTS

Is this a subsequence of A002182?

Is this a subsequence of A002182? - That is not the case. a(79) = 10703173554082014360835514860858032000 is the smallest term that is not in A002182. [From Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Aug 28 2008]

LINKS

Klaus Brockhaus, Table of n, a(n) for n=2..200

EXAMPLE

a(5) is 360 because 360 is divisible by all numbers 1 through 5 (1, 2, 3, 4, 5) as well as all composite numbers up to 10 (4, 6, 8, 9, 10).

PROG

(PARI) {m=26; a=1; for(n=2, m, print1(a=lcm([a, n, 2*n, if(isprime(k=2*n-1), n, k)]), ", "))} /* Klaus Brockhaus, Jul 24 2008 */

(MAGMA) m:=26; [ Lcm([ x: x in [1..n] ] cat [ x: x in [n+1..2*n] | not IsPrime(x) ]): n in [2..m] ]; /* Klaus Brockhaus, Jul 24 2008 */

CROSSREFS

Sequence in context: A064354 A199903 A073841 * A032339 A103471 A114979

Adjacent sequences:  A140810 A140811 A140812 * A140814 A140815 A140816

KEYWORD

nonn

AUTHOR

J. Lowell (jhbubby(AT)mindspring.com), Jul 16 2008

EXTENSIONS

More terms from Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Jul 24 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 02:08 EST 2012. Contains 205978 sequences.