OFFSET
1,1
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..10000
EXAMPLE
18 = 2^1 3^2, so that the number of distinct primes 3*k+1 is 0 and the number of distinct primes 3*k + 2 is 1.
MATHEMATICA
g[n_] := Map[First, FactorInteger[n]] ; z = 5000;
p1 = Select[Prime[Range[z]], Mod[#, 3] == 1 &];
p2 = Select[Prime[Range[z]], Mod[#, 3] == 2 &];
q1[n_] := Length[Intersection[g[n], p1]]
q2[n_] := Length[Intersection[g[n], p2]]
Select[Range[z], q1[#] == q2[#] &]; (* A274435 *)
Select[Range[z], q1[#] < q2[#] &]; (* A274436 *)
Select[Range[z], q1[#] > q2[#] &]; (* A274437 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 19 2016
STATUS
approved