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!)
A300852 L.g.f.: log(Product_{k>=1} (1 + x^prime(k))) = Sum_{n>=1} a(n)*x^n/n. 3
0, 2, 3, -2, 5, -1, 7, -2, 3, -3, 11, -5, 13, -5, 8, -2, 17, -1, 19, -7, 10, -9, 23, -5, 5, -11, 3, -9, 29, -6, 31, -2, 14, -15, 12, -5, 37, -17, 16, -7, 41, -8, 43, -13, 8, -21, 47, -5, 7, -3, 20, -15, 53, -1, 16, -9, 22, -27, 59, -10, 61, -29, 10, -2, 18, -12, 67, -19, 26, -10, 71, -5, 73, -35, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
G.f.: Sum_{k>=1} prime(k)*x^prime(k)/(1 + x^prime(k)).
a(n) = Sum_{p|n, p prime} p * (-1)^(n/p + 1). [See Mmca prog.]
EXAMPLE
L.g.f.: L(x) = 2*x^2/2 + 3*x^3/3 - 2*x^4/4 + 5*x^5/5 - x^6/6 + 7*x^7/7 - 2*x^8/8 + 3*x^9/9 - 3*x^10/10 + ...
exp(L(x)) = 1 + x^2 + x^3 + 2*x^5 + 2*x^7 + x^8 + x^9 + 2*x^10 + ... + A000586(n)*x^n + ...
MATHEMATICA
nmax = 75; Rest[CoefficientList[Series[Log[Product[(1 + x^Prime[k]), {k, 1, nmax}]], {x, 0, nmax}], x] Range[0, nmax]]
nmax = 75; Rest[CoefficientList[Series[Sum[Prime[k] x^Prime[k]/(1 + x^Prime[k]), {k, 1, nmax}], {x, 0, nmax}], x]]
Table[DivisorSum[n, (-1)^(n/# + 1) # &, PrimeQ[#] &], {n, 75}]
CROSSREFS
Cf. A000040 (fixed points), A000586, A008472, A300893, A300894.
Sequence in context: A164880 A267068 A242947 * A332881 A332424 A293212
KEYWORD
sign,easy
AUTHOR
Ilya Gutkovskiy, Mar 13 2018
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 March 19 07:31 EDT 2024. Contains 370955 sequences. (Running on oeis4.)