OFFSET
1,3
EXAMPLE
a(5) = 787 as 788, 789, 790, 791 and 792 are divisible by 2, 3, 5,7 and 11 respectively.
MATHEMATICA
Needs["NumberTheory`NumberTheoryFunctions`"]; Table[ ChineseRemainder[ Table[i, {i, 0, -n + 1, -1}], Table[ Prime[i], {i, 1, n}]] - 1, {n, 2, 18} ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Aug 04 2002
EXTENSIONS
Edited, corrected and extended by Robert G. Wilson v, Aug 05 2002
STATUS
approved