OFFSET
0,2
FORMULA
Given 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 a(h) = d(h, j) = lcm( f(h, j, 1) ... f(h, j, h) )
EXAMPLE
a(2) = 5 = lcm(5,1)
a(3) = 9 = lcm(9,3,1)
a(5) = 2618 = lcm(17,7,11,2,1)
a(11) = 32152414840 = (41,19,35,8,29,13,23,5,17,7,1)
CROSSREFS
KEYWORD
nonn
AUTHOR
Scott C. Macfarlan (scottmacfarlan(AT)covance.com), Sep 27 2004
STATUS
approved