login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A119360
a(n) = Sum_{i=1..n, j=1..n} i! mod j.
0
0, 1, 3, 5, 8, 3, 19, 9, 18, 13, 44, 9, 74, 33, 18, 25, 114, 27, 160, 13, 33, 77, 204, 9, 113, 165, 90, 61, 335, 33, 497, 89, 165, 233, 68, 45, 707, 293, 165, 33, 864, 75, 875, 165, 63, 457, 1098, 57, 292, 163, 318, 269, 1125, 117, 143, 89, 426, 567, 1561, 33, 2034, 931
OFFSET
0,3
MAPLE
P:=proc(n) local i, j, k; for j from 1 by 1 to n do k:=0; for i from 1 by 1 to n do k:=k+(i! mod j); od; print(k); od; end: P(200);
CROSSREFS
Sequence in context: A094355 A087334 A175628 * A021283 A212224 A020864
KEYWORD
easy,nonn
AUTHOR
STATUS
approved