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”).

A078152
a(n) = A055086(n) - A000005(n).
8
0, 0, 0, 0, 1, 0, 2, 0, 2, 1, 3, 0, 4, 2, 2, 2, 5, 1, 5, 2, 4, 4, 6, 0, 6, 5, 5, 3, 7, 2, 8, 4, 6, 6, 6, 2, 9, 7, 7, 3, 9, 4, 10, 6, 6, 8, 10, 2, 10, 7, 9, 7, 11, 5, 9, 6, 10, 10, 12, 2, 12, 10, 8, 8, 11, 7, 13, 9, 11, 7, 13, 4, 14, 12, 10, 10, 12, 8, 14, 6, 12, 13, 15, 5, 13, 13, 13, 9, 15, 6, 14
OFFSET
1,7
COMMENTS
It appears that the indices of the zeros in the sequence are in A018253. - Omar E. Pol, Oct 22 2013
EXAMPLE
n=15: sequence of D1 = {floor(15/j)} = {15,7,5,3,3,2,2,1,1,1,1,1,1,1,1}, Union(D1) = {15,7,5,3,2,1} = divisors(15) and {7,2}, a(15)=2 the number of terms beyond divisors.
MATHEMATICA
Table[Length[Union[Table[Floor[w/j], {j, 1, w}]]] -DivisorSigma[0, w], {w, 1, 128}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 27 2002
STATUS
approved