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!)
A347382 a(n) = A252464(n) - A252464(A000593(n)). 1
0, 1, 0, 2, 0, 1, 1, 3, -3, 1, 1, 2, 1, 2, -1, 4, 3, -2, 3, 2, 0, 2, 4, 3, -7, 2, -2, 3, 5, 0, 6, 5, 0, 4, -1, -1, 3, 4, 0, 3, 7, 1, 7, 3, -3, 5, 9, 4, -4, -6, 2, 3, 11, -1, 0, 4, 2, 6, 11, 1, 6, 7, -3, 6, 0, 1, 10, 5, 3, 0, 14, 0, 8, 4, -8, 5, -1, 1, 15, 4, -1, 8, 16, 2, 2, 8, 4, 4, 18, -2, -1, 6, 5, 10, 2, 5, 19 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
For all n >= 0, a(2^n) = n.
MATHEMATICA
f[p_, e_] := If[p == 2, 1, NextPrime[p, -1]^e]; g[1] = 1; g[n_] := Times @@ f @@@ FactorInteger[n]; h[1] = 0; h[n_] := h[n] = If[EvenQ[n], h[n/2] + 1, h[g[n]] + 1]; a[n_] := h[n] - h[DivisorSigma[1, n/2^IntegerExponent[n, 2]]]; Array[a, 100] (* Amiram Eldar, Sep 19 2021 *)
PROG
(PARI)
A000593(n) = sigma(n>>valuation(n, 2));
A252464(n) = if(1==n, 0, (bigomega(n) + A061395(n) - 1));
CROSSREFS
Cf. also A347247, A347248.
Sequence in context: A172237 A246181 A123226 * A299919 A238270 A292521
KEYWORD
sign
AUTHOR
Antti Karttunen, Aug 30 2021
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 April 25 13:12 EDT 2024. Contains 371969 sequences. (Running on oeis4.)