Community Profile

photo

Nishant Raj


Last seen: Today Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


My function is running fine for small no but not for big no.Can anybody explain?
function k=next_prime(n) k=2; while(k>2) if(isprime(k)==1) if(k>n) return else ...

2 maanden ago | 1 answer | 0

1

answer