OFFSET
2,1
COMMENTS
We solve the system of n+1 equations : k==2 (mod 2), k==2 (mod 3),...,k==2 (mod n), and then the solutions are k== 2 mod (lcm(2,3,4,...,n)) where lcm(k) is the least common multiple of{1, 2, ..., k}(A003418) .
LINKS
Bakir Farhi, An identity involving the least common multiple of binomial coefficients and its application, arXiv:0906.2295 [math.NT], 2009.
Bakir Farhi, An identity involving the least common multiple of binomial coefficients and its application, Amer. Math. Monthly, 116 (2009), 836-839.
Eric Weisstein's World of Mathematics, Least Common Multiple
FORMULA
a(n) = 2 + lcm(2,3,4,...,n) = A003418(n) + 2.
EXAMPLE
a(2) = 4 because 2|4;
a(3) = 8 because 2|8 and 3|9;
a(4) = 14 because 2|14, 3|15 and 4|16;
a(5) = 62 because 2|62, 3|63, 4|64 and 5|65;
a(6) = 62 because 2|62, 3|63, 4|64, 5|65 and 6|66.
MAPLE
with(numtheory):q:=2:for k from 2 to 100 do :q1:= lcm(q, k):q2 :=2+q1 :print(q2): q :=q1 :od :
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Mar 22 2010
STATUS
approved