ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 04 Feb 2018 15:35:49 -0600Longer vectors?http://ask.sagemath.org/question/40972/longer-vectors/Hi,
is there a way to make vector longer than the maximum capacity of an Int? I.e. I have to store roughly 2^280 integers, in a way that I can access every single one of them. Is it doable? Or perhaps is there any other way to store such a big number of... numbers?Sun, 04 Feb 2018 09:30:15 -0600http://ask.sagemath.org/question/40972/longer-vectors/Answer by tmonteil for <p>Hi,
is there a way to make vector longer than the maximum capacity of an Int? I.e. I have to store roughly 2^280 integers, in a way that I can access every single one of them. Is it doable? Or perhaps is there any other way to store such a big number of... numbers?</p>
http://ask.sagemath.org/question/40972/longer-vectors/?answer=40974#post-id-40974For comparison, just to give an order of magnitude : assuming that your storage device is the whole observable universe and that each atom can store one integer, you will need more than 10000 universes to store your vector, see https://en.wikipedia.org/wiki/Observable_universe#Matter_content
Sun, 04 Feb 2018 15:35:49 -0600http://ask.sagemath.org/question/40972/longer-vectors/?answer=40974#post-id-40974Answer by slelievre for <p>Hi,
is there a way to make vector longer than the maximum capacity of an Int? I.e. I have to store roughly 2^280 integers, in a way that I can access every single one of them. Is it doable? Or perhaps is there any other way to store such a big number of... numbers?</p>
http://ask.sagemath.org/question/40972/longer-vectors/?answer=40973#post-id-40973Since `2^280` is roughly `2 * 10^84`, how long would it take just to store and read all these integers?Sun, 04 Feb 2018 13:23:03 -0600http://ask.sagemath.org/question/40972/longer-vectors/?answer=40973#post-id-40973