OFFSET
1,2
COMMENTS
First differences of A093911.
EXAMPLE
From Michael De Vlieger, Dec 15 2016: (Start)
a(4) = 4 because a(1) is the product of 1 successive numbers starting with 1 = 1, a(2) is the product of 2 successive numbers (2,3) = 6, a(3) is the product of 3 successive numbers (4,5,6) = 120. Finally, a(4) is the product of 4 successive numbers (7,8,9,10) = 5040. All the products have the property that a(n) = 0 (mod a(n - 1)). Thus a(4) = 4. (End)
MATHEMATICA
a = {{1, 1}, {2, 2}}; Do[k = Last@ a[[i]]; While[! Divisible[Pochhammer[Total@ a[[i]], k], Pochhammer @@ a[[i]]], k++]; AppendTo[a, {Total@ a[[i]], k}], {i, 2, 16}]; Last /@ a (* Michael De Vlieger, Dec 15 2016 *)
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Amarnath Murthy, Apr 24 2004
EXTENSIONS
Edited and extended by David Wasserman, Mar 27 2006
STATUS
approved