%I #14 Sep 08 2022 08:45:38
%S 1,1,2,5,3,4,5,1,0,3,1,0,1,1,4,5,5,0,1,5,4,3,3,4,3,1,4,1,5,2,3,1,2,1,
%T 3,0,1,3,4,1,1,2,5,3,4,5,1,0,3,1,0,1,1,4,5,5,0,1,5,4,3,3,4,3,1,4,1,5,
%U 2,3,1,2,1,3,0,1,3,4,1,1,2,5,3,4,5,1,0,3,1,0,1,1,4,5,5,0,1,5,4,3,3,4,3,1,4
%N Bell numbers (A000110) read mod 6.
%H G. C. Greubel, <a href="/A146096/b146096.txt">Table of n, a(n) for n = 0..2500</a>
%H W. F. Lunnon, P. A. B. Pleasants, and N. M. Stephens, <a href="http://matwbn.icm.edu.pl/ksiazki/aa/aa35/aa3511.pdf">Arithmetic properties of Bell numbers to a composite modulus I</a>, Acta Arithmetica 35 (1979), pp. 1-16.
%F a(n+39) = a(n), for n>=0. - _G. C. Greubel_, Jan 30 2016
%t Mod[BellB[Range[0, 50]], 6] (* _G. C. Greubel_, Jan 30 2016 *)
%o (Magma) [Bell(n) mod 6: n in [0..100]]; // _Vincenzo Librandi_, Jan 30 2016
%Y Cf. A000110, A146093, A146094, A146095.
%K nonn
%O 0,3
%A _N. J. A. Sloane_, Feb 07 2009