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!)
A325699 Number of distinct even prime indices of n minus the number of distinct odd prime indices of n. 5
0, -1, 1, -1, -1, 0, 1, -1, 1, -2, -1, 0, 1, 0, 0, -1, -1, 0, 1, -2, 2, -2, -1, 0, -1, 0, 1, 0, 1, -1, -1, -1, 0, -2, 0, 0, 1, 0, 2, -2, -1, 1, 1, -2, 0, -2, -1, 0, 1, -2, 0, 0, 1, 0, -2, 0, 2, 0, -1, -1, 1, -2, 2, -1, 0, -1, -1, -2, 0, -1, 1, 0, -1, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,10

COMMENTS

A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.

LINKS

Table of n, a(n) for n=1..76.

FORMULA

G.f.: Sum_{k>=1} (-1)^k * x^prime(k) / (1 - x^prime(k)). - Ilya Gutkovskiy, Feb 12 2020

MATHEMATICA

Table[Total[(-1)^PrimePi/@First/@If[n==1, {}, FactorInteger[n]]], {n, 100}]

CROSSREFS

a(n) = A324967(n) - A324966(n).

Cf. A000712, A001221, A026010, A045931, A063886, A112798, A130780, A171966, A241638, A325698, A325700.

Sequence in context: A321930 A134023 A257931 * A293513 A015738 A333815

Adjacent sequences:  A325696 A325697 A325698 * A325700 A325701 A325702

KEYWORD

sign

AUTHOR

Gus Wiseman, May 17 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 April 17 02:26 EDT 2021. Contains 343059 sequences. (Running on oeis4.)