How do i comput the euler phi function of a large interger?(adsbygoogle = window.adsbygoogle || []).push({});

i know that if p is prime then phi(p)=p-1 and i've found a formula for computing non primes but i dont know how to implement in something like Matlab.

Does anyone know how?

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Calculating Euler phi function

Loading...

Similar Threads - Calculating Euler function | Date |
---|---|

I Euler, De Moivre and a printing error | Thursday at 8:00 AM |

B Calculate probability of getting 2 red balls | Mar 2, 2018 |

I How to calculate the tractive effort of a train? | Feb 27, 2018 |

I Weights and interpolation -- Replicating Python code with hand calculations | Feb 16, 2018 |

I Calculation of x from log equation | Dec 4, 2017 |

**Physics Forums - The Fusion of Science and Community**