NeoAlgo icon indicating copy to clipboard operation
NeoAlgo copied to clipboard

Application of euler's Totient function

Open ag278 opened this issue 6 years ago • 7 comments

🚀 Feature

Take a input n from the user. My algorithm will find out all the co prime pairs from 1 to n in nlogn time complexity Example n=6 then the output would be 12 as the co prime pairs will be (1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(2,3),(2,5),(3,4),(3,5),(4,5),(5,6)

Have you read the Contributing Guidelines on Pull Requests?

YES

Motivation

In general this question can be solved in n^2 time complexity but using the concept of euler's totient function this question can be done in nlog(n) time complexity I would like to solve this issue as a part of CH20

Assignees

  • @ag278: C++
  • @kushagraiitbbs : C
  • @kritikaparmar-programmer - Python
  • @sahanabalappa - Java

ag278 avatar Aug 21 '20 17:08 ag278

@SKAUL05 @atarax665 @iamrajiv i would like to implement this issue in c++ language. Please assign me this issue

ag278 avatar Aug 21 '20 17:08 ag278

@atarax665 Sir, I would like to contribute this issue in C language

kushagraiitbbs avatar Aug 21 '20 17:08 kushagraiitbbs

Can I do this in python..? I want to work on it..

I would like to contribute this issue in Java language

sahanabalappa avatar Aug 22 '20 09:08 sahanabalappa

@iamrajiv @SKAUL05 @siddharth25pandey @plazzy99 please have a look at my issue

ag278 avatar Sep 09 '20 19:09 ag278

@HarshCasper @iamrajiv @atarax665 could you please add CH20 and level tag for the issue

ag278 avatar Sep 14 '20 16:09 ag278

Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Telegram or ping one of the reviewers. Thank you for your contributions!

github-actions[bot] avatar Nov 14 '20 00:11 github-actions[bot]