1

How do I get mathematica to display 33141015 zeroes and a 2

I've tried using

2*10^-33141016

but it just gives me scientific notation

Is there a manual way to generate a string that looks like this:

0000000000000000000000000000000000000000000...2

It's very important to my work I'm doing on finding the next prime with over (10^(10^8)) digits

user24719
  • 137
  • 8

2 Answers2

3
PaddedForm[2, 33141015, NumberPadding -> {"0", "0"}]

Will do it, well, that's the command to do it. Not responsible for monitor bursting into flames, etc.

ciao
  • 25,774
  • 2
  • 58
  • 139
3
IntegerString[2,10,33141015+1]
Sjoerd C. de Vries
  • 65,815
  • 14
  • 188
  • 323