Skip to main content
Commonmark migration
Source Link

#Update#

Update

OK - First part of update solved:

a = PrimeOmega[Range[100000]];
b = PrimeNu[Range[100000]];
c = Range[100000];
ListLinePlot[{c/Zeta[2] - Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] 
&, a, b, List]]]}, PlotStyle -> Red]

enter image description here

... Just unsure how to modify Artes' count plot.

#Old#

Old

Sorry Artes, yes - was looking for this kind of thing:

a = PrimeOmega[Range[100]];
b = PrimeNu[Range[100]];
ListPlot[{Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] &, a, b, List]]],    
Accumulate[Flatten[Inner[If[#1 === #2 + 1, 1, 0] &, a, b, List]]],
Accumulate[Flatten[Inner[If[#1 === #2 + 2, 1, 0] &, a, b, List]]]}]

enter image description here

#Update#

OK - First part of update solved:

a = PrimeOmega[Range[100000]];
b = PrimeNu[Range[100000]];
c = Range[100000];
ListLinePlot[{c/Zeta[2] - Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] 
&, a, b, List]]]}, PlotStyle -> Red]

enter image description here

... Just unsure how to modify Artes' count plot.

#Old#

Sorry Artes, yes - was looking for this kind of thing:

a = PrimeOmega[Range[100]];
b = PrimeNu[Range[100]];
ListPlot[{Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] &, a, b, List]]],    
Accumulate[Flatten[Inner[If[#1 === #2 + 1, 1, 0] &, a, b, List]]],
Accumulate[Flatten[Inner[If[#1 === #2 + 2, 1, 0] &, a, b, List]]]}]

enter image description here

Update

OK - First part of update solved:

a = PrimeOmega[Range[100000]];
b = PrimeNu[Range[100000]];
c = Range[100000];
ListLinePlot[{c/Zeta[2] - Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] 
&, a, b, List]]]}, PlotStyle -> Red]

enter image description here

... Just unsure how to modify Artes' count plot.

Old

Sorry Artes, yes - was looking for this kind of thing:

a = PrimeOmega[Range[100]];
b = PrimeNu[Range[100]];
ListPlot[{Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] &, a, b, List]]],    
Accumulate[Flatten[Inner[If[#1 === #2 + 1, 1, 0] &, a, b, List]]],
Accumulate[Flatten[Inner[If[#1 === #2 + 2, 1, 0] &, a, b, List]]]}]

enter image description here

edited body
Source Link
martin
  • 8.9k
  • 4
  • 27
  • 71

#Update#

OK - First part of update solved:

a = PrimeOmega[Range[100000]];
b = PrimeNu[Range[100000]];
c = Range[100000];
ListLinePlot[{c/Zeta[2] - Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] 
&, a, b, List]]]}, FillingPlotStyle -> Axis]Red]

enter image description hereenter image description here

... Just unsure how to modify Artes' count plot.

#Old#

Sorry Artes, yes - was looking for this kind of thing:

a = PrimeOmega[Range[100]];
b = PrimeNu[Range[100]];
ListPlot[{Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] &, a, b, List]]],    
Accumulate[Flatten[Inner[If[#1 === #2 + 1, 1, 0] &, a, b, List]]],
Accumulate[Flatten[Inner[If[#1 === #2 + 2, 1, 0] &, a, b, List]]]}]

enter image description here

#Update#

OK - First part of update solved:

a = PrimeOmega[Range[100000]];
b = PrimeNu[Range[100000]];
c = Range[100000];
ListLinePlot[{c/Zeta[2] - Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] 
&, a, b, List]]]}, Filling -> Axis]

enter image description here

... Just unsure how to modify Artes' count plot.

#Old#

Sorry Artes, yes - was looking for this kind of thing:

a = PrimeOmega[Range[100]];
b = PrimeNu[Range[100]];
ListPlot[{Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] &, a, b, List]]],    
Accumulate[Flatten[Inner[If[#1 === #2 + 1, 1, 0] &, a, b, List]]],
Accumulate[Flatten[Inner[If[#1 === #2 + 2, 1, 0] &, a, b, List]]]}]

enter image description here

#Update#

OK - First part of update solved:

a = PrimeOmega[Range[100000]];
b = PrimeNu[Range[100000]];
c = Range[100000];
ListLinePlot[{c/Zeta[2] - Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] 
&, a, b, List]]]}, PlotStyle -> Red]

enter image description here

... Just unsure how to modify Artes' count plot.

#Old#

Sorry Artes, yes - was looking for this kind of thing:

a = PrimeOmega[Range[100]];
b = PrimeNu[Range[100]];
ListPlot[{Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] &, a, b, List]]],    
Accumulate[Flatten[Inner[If[#1 === #2 + 1, 1, 0] &, a, b, List]]],
Accumulate[Flatten[Inner[If[#1 === #2 + 2, 1, 0] &, a, b, List]]]}]

enter image description here

added 6 characters in body
Source Link
martin
  • 8.9k
  • 4
  • 27
  • 71

#Update#

OK - First part of update solved:

a = PrimeOmega[Range[1000]];PrimeOmega[Range[100000]];
b = PrimeNu[Range[1000]];PrimeNu[Range[100000]];
c = Range[1000];Range[100000];
ListLinePlot[{c/Zeta[2] - Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] 
&, a, b, List]]]}, Filling -> Axis]

enter image description hereenter image description here

... Just unsure how to modify Artes' count plot.

#Old#

Sorry Artes, yes - was looking for this kind of thing:

a = PrimeOmega[Range[100]];
b = PrimeNu[Range[100]];
ListPlot[{Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] &, a, b, List]]],    
Accumulate[Flatten[Inner[If[#1 === #2 + 1, 1, 0] &, a, b, List]]],
Accumulate[Flatten[Inner[If[#1 === #2 + 2, 1, 0] &, a, b, List]]]}]

enter image description here

#Update#

OK - First part of update solved:

a = PrimeOmega[Range[1000]];
b = PrimeNu[Range[1000]];
c = Range[1000];
ListLinePlot[{c/Zeta[2] - Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] 
&, a, b, List]]]}, Filling -> Axis]

enter image description here

... Just unsure how to modify Artes' count plot.

#Old#

Sorry Artes, yes - was looking for this kind of thing:

a = PrimeOmega[Range[100]];
b = PrimeNu[Range[100]];
ListPlot[{Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] &, a, b, List]]],    
Accumulate[Flatten[Inner[If[#1 === #2 + 1, 1, 0] &, a, b, List]]],
Accumulate[Flatten[Inner[If[#1 === #2 + 2, 1, 0] &, a, b, List]]]}]

enter image description here

#Update#

OK - First part of update solved:

a = PrimeOmega[Range[100000]];
b = PrimeNu[Range[100000]];
c = Range[100000];
ListLinePlot[{c/Zeta[2] - Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] 
&, a, b, List]]]}, Filling -> Axis]

enter image description here

... Just unsure how to modify Artes' count plot.

#Old#

Sorry Artes, yes - was looking for this kind of thing:

a = PrimeOmega[Range[100]];
b = PrimeNu[Range[100]];
ListPlot[{Accumulate[Flatten[Inner[If[#1 === #2, 1, 0] &, a, b, List]]],    
Accumulate[Flatten[Inner[If[#1 === #2 + 1, 1, 0] &, a, b, List]]],
Accumulate[Flatten[Inner[If[#1 === #2 + 2, 1, 0] &, a, b, List]]]}]

enter image description here

added 402 characters in body
Source Link
martin
  • 8.9k
  • 4
  • 27
  • 71
Loading
added 85 characters in body
Source Link
martin
  • 8.9k
  • 4
  • 27
  • 71
Loading
Source Link
martin
  • 8.9k
  • 4
  • 27
  • 71
Loading