A319404 a(n) is the period of the periodic k-sequence q_k=lcm(k+1,k+2,...,k+n)/(n*binomial(k+n,n)).
1, 1, 2, 3, 12, 20, 60, 105, 280, 504, 2520, 27720, 27720, 51480, 72072, 45045, 720720, 1361360, 12252240, 46558512, 33256080, 21162960, 232792560, 5354228880, 1070845776, 2059318800, 2974571600, 11473347600, 80313433200, 2329089562800, 2329089562800, 4512611027925
Offset: 1
Keywords
Examples
For n = 5, a(5) = 12 since from k>=0, we have lcm(k+1,k+2,k+3,k+4,k+5)/5/binomial(k+5,5) = 12,2,4,3,4,2,12,1,4,6,4,1,12,2,4,3,4,2,12,1,4,6,4,1,12,2,4,3,4,2,12,1,4,6,4,1,12,..., etc. a periodic sequence of period 12.
Programs
-
Mathematica
ll2[n0_, m0_] := Module[{f, g, i, n = n0, m = m0}, g = 1; If[1 <= m <= n, Do[f = LCM[g, n - i]; g = f, {i, 0, m - 1}], f = 1];f] list3 = {1}; Do[i = 0; ll = ll2[m, m]/m; b = {1, ll };a = {0, 0 }; While[ a != b, i = i + ll; a = { ll2[m + i - 1, m]/(m*Binomial[m + i - 1, m]), ll2[m + i, m]/( m*Binomial[m + i, m])}]; AppendTo[list3, i], {m, 2, 50}]; Print[list3]
Comments