OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..10000
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 periodic sequences, period 39.
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1).
FORMULA
MATHEMATICA
Mod[BellB[Range[0, 100]], 9] (* G. C. Greubel, Jan 31 2016 *)
PROG
(Magma) [Bell(n) mod 9: n in [0..100]]; // Vincenzo Librandi, Feb 01 2016
(PARI) a(n)=36825693528263826995685355884636809\8^(n%39)%8 \\ Charles R Greathouse IV, Jun 03 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Feb 07 2009
STATUS
approved
