OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..2500
W. F. Lunnon, P. A. B. Pleasants, and N. M. Stephens, Arithmetic properties of Bell numbers to a composite modulus I, Acta Arithmetica 35 (1979), pp. 1-16.
FORMULA
a(n) = a(n-781). - Charles R Greathouse IV, Jul 06 2011
MATHEMATICA
Mod[BellB[Range[0, 50]], 5] (* G. C. Greubel, Jan 30 2016 *)
PROG
(Magma) [Bell(n) mod 5: n in [0..100]]; // Vincenzo Librandi, Jan 30 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 07 2009
STATUS
approved