OFFSET
2,9
LINKS
Antti Karttunen, Table of n, a(n) for n = 2..10000 (based on Hans Havermann's factorization of A156552)
FORMULA
PROG
(PARI)
A087436(n) = (bigomega(n>>valuation(n, 2)));
A156552(n) = {my(f = factor(n), p, p2 = 1, res = 0); for(i = 1, #f~, p = 1 << (primepi(f[i, 1]) - 1); res += (p * p2 * (2^(f[i, 2]) - 1)); p2 <<= f[i, 2]); res};
(PARI)
\\ Version using the factorization file available at https://oeis.org/A156552/a156552.txt
v156552sigs = readvec("a156552.txt");
A342656(n) = if(2==n, 0, my(prsig=v156552sigs[n], ps=prsig[1], es=prsig[2]); vecsum(es)-((2==ps[1])*es[1])); \\ Antti Karttunen, Jan 29 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 18 2021
STATUS
approved