OFFSET
1,2
FORMULA
Given (1) f(h, j, a) = ( [ ((a/gcd(a, h)) / gcd(j+1, (a/gcd(a, h)))) * (h(j+1)) ] - [ ((a/gcd(a, h)) / gcd(j+1, (a/gcd(a, h)))) * (ja) ]) / a then let (2) a(h) = d(h, j) = lcm( f(h, j, 1) ... f(h, j, h) )
EXAMPLE
a(2) = 4 = lcm(4,1)
a(5) = 3003 = lcm(13,11,3,7,1)
a(6) = 560 = lcm(16,7,4,5,8,1)
a(13) = 4281195077775 = lcm(37,35,11,31,29,9,25,23,7,19,17,5,1)
CROSSREFS
KEYWORD
nonn
AUTHOR
Scott C Macfarlan (scottmacfarlan(AT)covance.com), Sep 18 2004
STATUS
approved