OFFSET
2,1
COMMENTS
a(n) = 0 if and only if n has more than one distinct prime in its prime factorization (i.e., if and only if n is a member of A024619).
EXAMPLE
a(4) = 210 because 210 is divisible by 1,2,3,5,6,7 but not 4. a(6) is 0 because there's no number divisible by 1,2,3,4,5,7,8,9,10,11 but not 6 (any number divisible by both 2 and 3 is divisible by 6).
MAPLE
with(numtheory): A230478 := proc (n) if 1 < nops(factorset(n)) then return 0: end if: return lcm($1..(n-1), $(n+1)..(2*n-1)): end proc: seq(A230478(n), n=2..35); # Nathaniel Johnston, Oct 22 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
J. Lowell, Oct 20 2013
STATUS
approved