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!)
A324100 A000120-deficiency of n permuted by A156552: a(n) = A192895(A156552(n)). 5
-1, 0, -1, 1, -1, 2, -2, 2, 1, 3, -2, 4, -1, 2, 1, 5, -2, 6, -2, 6, 4, 7, -3, 5, 4, 2, 3, 8, 3, 9, -4, 2, 5, 5, 1, 10, -1, 12, 2, 11, -2, 12, -2, 2, 19, 13, -4, 8, 0, 12, -2, 14, -3, 11, -3, 14, 12, 15, -3, 16, 7, 2, 5, 5, 4, 17, 4, 2, -2, 18, 1, 19, 6, 2, 5, 8, 4, 20, -4, 10, 8, 21, 8, 20, 24, 42, 15, 22, 7, 16, 6, 28, 45, 20, 0, 23, 1, 12, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

2,6

LINKS

Antti Karttunen, Table of n, a(n) for n = 2..4473

Index entries for sequences related to binary expansion of n

Index entries for sequences computed from indices in prime factorization

FORMULA

a(n) = A192895(A156552(n)).

PROG

(PARI)

A064989(n) = {my(f); f = factor(n); if((n>1 && f[1, 1]==2), f[1, 2] = 0); for (i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f)};

A156552(n) = if(1==n, 0, if(!(n%2), 1+(2*A156552(n/2)), 2*A156552(A064989(n))));

A192895(n) = sumdiv(n, d, hammingweight(d)*(-1)^(d==n));

A324100(n) = A192895(A156552(n));

CROSSREFS

Cf. A000120, A156552, A192895, A324113 (sign of each term).

Cf. A324101, A324102 (positions of nonnegative and negative terms).

Cf. also A324114, A324194.

Sequence in context: A064659 A325034 A275853 * A127953 A260418 A280919

Adjacent sequences:  A324097 A324098 A324099 * A324101 A324102 A324103

KEYWORD

sign

AUTHOR

Antti Karttunen, Feb 19 2019

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 June 4 07:43 EDT 2020. Contains 334822 sequences. (Running on oeis4.)