Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int F2 (unsigned int n)
- {
- if (n == 0) return n;
- int i=1,j=1,k;
- for (j=j; i<2*n-1; j=j+i)
- {
- k=0;
- for (i=i; k == 0; i=i+2)
- k=1;
- }
- return j;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement