Message Boards Message Boards

2
|
5791 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Find prime number closest to any integer (upper side)

Posted 4 years ago
POSTED BY: Koichi Ohno
2 Replies
Posted 2 years ago

I don't know who you are, but I would like to thank you for improving my program that I posted two years ago.

You defined j, and used Quotient[] and FindInstance[] to find the solution.

I didn't know about Quotient[] and FindInstance[], so this will be helpful for me in the future.

... I'm getting old. I'm getting older, and the months are passing quickly, and I feel like difference>2.

POSTED BY: Koichi Ohno
Posted 2 years ago

Or just use NextPrime[x] :)

POSTED BY: Leponzo _
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract