login
A305439
a(n) = A046645(n) - A007949(n); the 2-adic valuation of A317932.
4
0, 1, 0, 3, 1, 1, 1, 4, 1, 2, 1, 3, 1, 2, 1, 7, 1, 2, 1, 4, 1, 2, 1, 4, 3, 2, 1, 4, 1, 2, 1, 8, 1, 2, 2, 4, 1, 2, 1, 5, 1, 2, 1, 4, 2, 2, 1, 7, 3, 4, 1, 4, 1, 2, 2, 5, 1, 2, 1, 4, 1, 2, 2, 10, 2, 2, 1, 4, 1, 3, 1, 5, 1, 2, 3, 4, 2, 2, 1, 8, 3, 2, 1, 4, 2, 2, 1, 5, 1, 3, 2, 4, 1, 2, 2, 8, 1, 4, 2, 6, 1, 2, 1, 5, 2
OFFSET
1,4
COMMENTS
Apart from a(1) and a(3), all other terms are positive.
LINKS
FORMULA
a(n) = A046645(n) - A007949(n).
a(n) = A007814(A317932(n)).
PROG
(PARI)
A007949(n) = valuation(n, 3);
A005187(n) = { my(s=n); while(n>>=1, s+=n); s; };
A046645(n) = vecsum(apply(e -> A005187(e), factor(n)[, 2]));
A305439(n) = A046645(n) - A007949(n);
CROSSREFS
Cf. also A318440.
Sequence in context: A079619 A318577 A157603 * A270825 A364096 A348028
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 02 2018
STATUS
approved