login
A281908
a(n) = (Sum_{k=1..n} C(n,k) mod k) mod n.
1
0, 1, 2, 2, 3, 2, 2, 3, 6, 3, 3, 2, 1, 0, 2, 14, 13, 13, 12, 8, 18, 16, 14, 20, 2, 23, 24, 21, 19, 22, 19, 15, 21, 2, 25, 6, 1, 26, 25, 38, 33, 4, 42, 19, 34, 19, 14, 38, 31, 18, 22, 20, 14, 42, 29, 13, 9, 44, 38, 39, 31, 9, 4, 9, 25, 7, 63, 22, 2, 17, 7, 38, 27, 44, 25
OFFSET
1,3
LINKS
FORMULA
a(n) = A076541(n) mod n.
PROG
(PARI) a(n) = sum(k=1, n, binomial(n, k) % k) % n;
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Feb 01 2017
STATUS
approved