login
A146095
Bell numbers (A000110) read mod 5.
5
1, 1, 2, 0, 0, 2, 3, 2, 0, 2, 0, 0, 2, 2, 2, 0, 2, 4, 4, 2, 2, 1, 3, 1, 4, 3, 4, 4, 0, 2, 2, 3, 4, 2, 4, 0, 2, 1, 1, 4, 2, 3, 2, 0, 1, 0, 0, 2, 1, 1, 0, 2, 3, 2, 1, 2, 0, 0, 3, 3, 2, 0, 3, 1, 0, 2, 3, 4, 1, 2, 0, 2, 0, 3, 2, 2, 2, 3, 0, 4, 4, 0, 3, 4, 3, 4, 3, 2, 2, 2, 2, 0, 4, 4, 4, 2, 4, 3, 3, 1, 1, 2, 1, 4, 2
OFFSET
0,3
LINKS
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