A146095 Bell numbers (A000110) read mod 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
Keywords
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.
- Index entries for linear recurrences with constant coefficients, order 781.
Programs
-
Magma
[Bell(n) mod 5: n in [0..100]]; // Vincenzo Librandi, Jan 30 2016
-
Mathematica
Mod[BellB[Range[0, 50]], 5] (* G. C. Greubel, Jan 30 2016 *)