MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Are these small primes or huge Integers?


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
 


  • Prev by Date: Include unconnected nodes in graph plot -- how?
  • Next by Date: Re: Include unconnected nodes in graph plot -- how?
  • Previous by thread: Re: Include unconnected nodes in graph plot -- how?
  • Next by thread: Colorfunction in ContourPlot