%% Mean Value of Euler Phi Function Results
% Calculate the Euler phi function \phi(n) for the integers n from 1 to 1000.

P = eulerPhi(1:1000);

% Find the mean value of \phi(n)/n.

Pave = mean(P./(1:1000))

%
% Copyright 2019 The MathWorks, Inc.