login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A339896 a(n) = A056239(n) - A339894(n). 4
0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 2, 0, 2, 0, 1, 1, 1, 0, 2, 2, 1, 2, 1, 0, 2, 0, 2, 1, 1, 2, 2, 0, 1, 1, 2, 0, 2, 0, 1, 2, 1, 0, 2, 2, 2, 1, 1, 0, 2, 2, 2, 1, 1, 0, 2, 0, 1, 2, 3, 2, 2, 0, 1, 1, 2, 0, 2, 0, 1, 2, 1, 2, 2, 0, 2, 3, 1, 0, 2, 2, 1, 1, 2, 0, 2, 2, 1, 1, 1, 2, 3, 0, 2, 2, 3, 0, 2, 0, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,16
LINKS
FORMULA
a(n) = A056239(n) - A339894(n).
a(n) = A334201(n) - A339895(n).
a(n) = A339823(A122111(n)).
PROG
(PARI)
A000523(n) = if( n<1, 0, #binary(n) - 1); \\ From A000523
A122111(n) = if(1==n, n, my(f=factor(n), es=Vecrev(f[, 2]), is=concat(apply(primepi, Vecrev(f[, 1])), [0]), pri=0, m=1); for(i=1, #es, pri += es[i]; m *= prime(pri)^(is[i]-is[1+i])); (m));
A056239(n) = { my(f); if(1==n, 0, f=factor(n); sum(i=1, #f~, f[i, 2] * primepi(f[i, 1]))); }
CROSSREFS
Sequence in context: A277142 A240592 A001877 * A112712 A026608 A264049
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 21 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 3 01:16 EDT 2024. Contains 372203 sequences. (Running on oeis4.)