|
|
A369225
|
|
Sum of the semiprimes less than n that do not divide n.
|
|
1
|
|
|
0, 0, 0, 0, 4, 4, 10, 6, 10, 19, 29, 19, 29, 29, 43, 54, 58, 43, 58, 44, 58, 79, 101, 91, 101, 126, 143, 134, 152, 121, 152, 148, 152, 185, 219, 235, 254, 254, 292, 317, 331, 290, 331, 305, 307, 331, 377, 367, 377, 391, 426, 447, 477, 462, 477, 514, 532, 589, 647, 612, 647, 647, 679
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,5
|
|
LINKS
|
|
|
FORMULA
|
a(n) = Sum_{k=1..n} k * c(k) * (ceiling(n/k) - floor(n/k)), where c = A064911.
|
|
MATHEMATICA
|
Table[Sum[k*KroneckerDelta[PrimeOmega[k], 2] (Ceiling[n/k] - Floor[n/k]), {k, n}], {n, 100}]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|