OFFSET
1,1
LINKS
Don Reble, Table of n, a(n) for n = 1..156
Don Reble, Notes on the computation of A056697.
FORMULA
Since n! - 1 == -1 (mod i) for all i = 1..n, a(n) <= n! - 1 for n > 2. - N. J. A. Sloane, Dec 30 2012
EXAMPLE
a(9) = 55 because 55 gives remainder -1 when divided by 2,4,7 and 8, gives remainder 0 when divided by (1 and) 5, and gives remainder 1 when divided by 3,6 and 9. All smaller integers greater than 1 give remainders other than -1, 0, or 1 for at least one of 5,6,7,8, or 9.
CROSSREFS
KEYWORD
nonn
AUTHOR
Ted Alper, Aug 10 2000
EXTENSIONS
More terms from Don Reble, Dec 30 2012
STATUS
approved