Community Profile

photo

Pragyan Dash


Last seen: 3 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
Function to find the next prime number...
function k = next_prime(n) while (~isprime(n + 1)) n = n + 1; end k = n + 1; end

3 years ago | 0