Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Euler's Totient Function and Visualization #472

Merged
merged 3 commits into from
Dec 28, 2024

Conversation

Kritika75
Copy link
Contributor

The following pull request contains for issue #471

  1. Euler's Totient Function:
    A function that calculates the value of Euler's Totient Function φ(n) and returns a list of coprime numbers.

  2. Greatest Common Divisor (GCD):
    A helper function gcd(a, b) that computes the greatest common divisor of two numbers.

  3. Visualization of Coprimes:
    A function that visualizes the coprime numbers up to n using a bar chart.

  4. And a Unit test file

euler1
euler2

Copy link
Contributor

👋 Thank you for opening this pull request! We're excited to review your contribution. Please give us a moment, and we'll get back to you shortly!

Feel free to join our community on Discord to discuss more!

@github-actions github-actions bot requested a review from UTSAVS26 December 24, 2024 10:53
@UTSAVS26 UTSAVS26 merged commit c41ae71 into UTSAVS26:main Dec 28, 2024
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants