login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A336921 a(n) = A331410(n) - A087436(n). 6
0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 2, 0, 2, 1, 0, 1, 1, 0, 2, 1, 0, 0, 3, 1, 0, 0, 1, 2, 1, 0, 3, 2, 1, 1, 2, 0, 2, 1, 1, 1, 1, 0, 0, 2, 2, 1, 3, 0, 2, 0, 2, 3, 3, 1, 1, 0, 0, 0, 2, 1, 3, 2, 1, 1, 2, 0, 4, 3, 2, 2, 1, 1, 2, 1, 0, 2, 2, 0, 3, 2, 3, 1, 4, 1, 1, 1, 0, 1, 3, 0, 2, 0, 1, 2, 4, 2, 2, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,17

COMMENTS

Totally additive because both A087436 and A331410 are.

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..65537

FORMULA

a(n) = A331410(A336467(n)).

a(n) = A331410(n) - A087436(n).

a(n) = A336922(n) - A046660(A000265(n)).

For all n >= 1, a(n) <= A336118(n).

PROG

(PARI)

A000265(n) = (n>>valuation(n, 2));

A331410(n) = if(!bitand(n, n-1), 0, 1+A331410(n+(n/vecmax(factor(n)[, 1]))));

A336467(n) = { my(f=factor(n)); prod(k=1, #f~, if(2==f[k, 1], 1, (A000265(f[k, 1]+1))^f[k, 2])); };

A336921(n) = A331410(A336467(n));

CROSSREFS

Cf. A000265, A046660, A087436, A331410, A336467, A336922.

Cf. also A336118, A336396.

Sequence in context: A118682 A198393 A083054 * A297742 A061264 A193680

Adjacent sequences:  A336918 A336919 A336920 * A336922 A336923 A336924

KEYWORD

nonn

AUTHOR

Antti Karttunen, Aug 09 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 06:59 EDT 2021. Contains 343125 sequences. (Running on oeis4.)