Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- unsigned cnt+0;
- for
- unsigned gcd(unsigned int a, unsigned int b);
- calculateCoPrimes(int n);
- sequentialNumber()
- int main()
- {
- }
- unsigned gcd(unsigned int a,unsigned int b)
- {
- while(a!=b)
- if (a<b)
- b-=a;
- else
- a-=b;
- return a;
- }
- unsigned gcdRway(unsigned a, unsigned b)
- {
- if(f==0)
- return 0;
- else
- return gcd(b,a%b);
- }
- unsigned gcd (unsigned a, unsigned){
- unsigned
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement