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!)
A256232 Multiplicative with a(2^e) = 1-e, a(3^e) = 1, a(p^e) = e+1 if p>3. 2
1, 0, 1, -1, 2, 0, 2, -2, 1, 0, 2, -1, 2, 0, 2, -3, 2, 0, 2, -2, 2, 0, 2, -2, 3, 0, 1, -2, 2, 0, 2, -4, 2, 0, 4, -1, 2, 0, 2, -4, 2, 0, 2, -2, 2, 0, 2, -3, 3, 0, 2, -2, 2, 0, 4, -4, 2, 0, 2, -2, 2, 0, 2, -5, 4, 0, 2, -2, 2, 0, 2, -2, 2, 0, 3, -2, 4, 0, 2, -6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
FORMULA
Moebius transform is period 6 sequence [1, -1, 0, -1, 1, 0, ...].
G.f.: Sum_{k>0} x^k / (1 + x^k) * Kronecker(9, k).
G.f.: Sum_{k>0} x^k / (1 - x^k) * (-1)^floor(k/3) * Kronecker(-3, k).
G.f.: Sum_{k>0} x^k / (1 - (-x)^k) * (-1)^(k mod 4 = 0) * (k mod 3 > 0).
G.f.: Sum_{k>0} (x^k - x^(2*k)) / (1 + x^(3*k)).
G.f.: Sum_{k>0} (x^k + x^(2*k)) / (1 - x^(3*k)) * (-1)^(k-1).
a(n) = (-1)^(n mod 4 = 0) * A099751(n).
From Amiram Eldar, Nov 30 2022: (Start)
Dirichlet g.f.: zeta(s)^2*(1 - 2^(1-s))*(1 - 1/3^s).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 2*log(2)/3 = 0.462098... . (End)
EXAMPLE
G.f. = x + x^3 - x^4 + 2*x^5 + 2*x^7 - 2*x^8 + x^9 + 2*x^11 - x^12 + ...
MATHEMATICA
a[ n_] := If[ n < 1, 0, Sum[ KroneckerSymbol[ -3, d] (-1)^Quotient[ d, 3], {d, Divisors@n}]];
a[ n_] := SeriesCoefficient[ Sum[ (x^k - x^(2*k)) / (1 + x^(3*k)), {k, n}], {x, 0, n}];
PROG
(PARI) {a(n) = if( n<1, 0, sumdiv( n, d, (-1)^(d\3) * kronecker( -3, d)))};
(Haskell)
a099751 n = product $ zipWith f (a027748_row n) (a124010_row n)
where f 2 e = e - 1; f 3 e = 1; f _ e = e + 1
-- Reinhard Zumkeller, Mar 20 2015
CROSSREFS
Cf. A099751.
Sequence in context: A082115 A161553 A366444 * A099751 A159937 A058728
KEYWORD
sign,mult
AUTHOR
Michael Somos, Mar 19 2015
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 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)