Ask Your Question

Revision history [back]

I can not reproduce your problem:

sage: n = 2^160
sage: n
1461501637330902918203684832716283019655932542976
sage: n.parent()
Integer Ring
sage: n in ZZ
True

Could you please give us some informations so that someone can try to reproduce your problem:

  • which version of Sage did you use ?
  • which OS ?
  • did you install Sage from the binaries, and which ones ?
  • did you compile Sage yourself ?
  • which notebook did you use (Sage notebook or jupyter notebook) ?
  • did you use the command line ?
  • which commands did you type precisely to get the error ?
  • which error message did you get ?
  • ... ?