I would like to ananlyze the digits of the number $$f_3(3)$$ which is defined as follows :
Start with $\ n=3\ $ and apply the opration $\ n\cdot 2^n\ $ three times. The first iteration gives $\ 24\ $, the second $\ 2^{27}\cdot 3\ $ and the third $$2^{402653211}\cdot 3$$
This number has $$121\ 210\ 695$$ digits.
Now, the problem arises. If I try to calculate the digit-vector of this number with pari/gp with "$v=digits(n)$", the stack overflows even if I choose my personal maximum stack size (which is $4$ Gigabytes) .
Is there a possibility to access the digits avoiding this overflow-issue ?
Since you seem to insist on PARI/GP, then just process the digits in chunks. Of course it means that you need to update your algorithm (whatever it will be doing) to be able to work in a sort of streaming fashion - process available chunk of digits (e.g. update statistics), move on to the next chunk, etc... Using following approach, I was able to read the digits with using at about 300MB at the peak:
All these commands were done pretty much instantly, so if you put it into the loop it should be still reasonably fast. Now you can experiment with required memory size and used window size.
Also, I would compare the performance of this approach with just reading digit by digit (basically window size of $10$), it is possible it will be fast enough by itself.