Are these small primes or huge Integers?
- To: mathgroup at smc.vnet.net
- Subject: [mg112396] Are these small primes or huge Integers?
- From: "Peter Pein" <petsie at dordos.net>
- Date: Tue, 14 Sep 2010 05:12:58 -0400 (EDT)
Dear group,
the last weekend has been a bit boring and so I got the idea to type
In[1]:= NMaximize[{n,Prime[n]>n,n>=1,Element[n,Integers]},n]
to my surprise I got:
Out[1]= {4.,{n->4}}
(this does not work without warnings with Method->m, m != Automatic)
strange, isn't it?
Best regards,
Peter