Number theory, programming and RMO !!

The mathematician Duro Kurepa defined !n = 0! + 1! + \ldots + (n-1)! for (n-1)! and conjectured that (!n, n!) = 2 for all n \geq 2. This conjecture has been verified by Ivic and Mijajlovic for n < 10^{6}. Write a program in C or C++, or even MATLAB, Maple, or Mathematica or Scilab showing that this conjecture is true up to n=1000.

I will surely share more programming pearls in number theory here.

Nalin Pithwa

3 thoughts on “Number theory, programming and RMO !!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s