mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2018-04-17, 15:49   #1
ONeil
 
ONeil's Avatar
 
Dec 2017

7B16 Posts
Arrow Where can I find a arbitrary precision Calculator online that can handle this #

Where can I find a arbitrary precision Calculator online that can handle this #
2^42645091-1
I found this one http://numcalc.com/ but it just sits there when computing this number.


I want to see this number in decimal format.

2^42645091-1
ONeil is offline   Reply With Quote
Old 2018-04-17, 16:05   #2
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

65668 Posts
Default

What you are asking is a little too much even for the great online PARI/GP calculator.

You might have use an offline calculator like PFGW.

Why do you want to see the decimal expansion?

Last fiddled with by paulunderwood on 2018-04-17 at 16:10
paulunderwood is offline   Reply With Quote
Old 2018-04-17, 16:15   #3
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2,969 Posts
Default

You can also use this old command line program: "mprintc5.zip"
http://www.apfloat.org/apfloat/

In a command prompt use:
mprint.exe 42645091 > M42645091.txt

to write the number to a file called "M42645091.txt"

or just:
mprint.exe 42645091
to print to the command prompt, but it will probably take a long time to print.

If you want it in another base you can add a base between 2 and 36. For example to get it in hexidecimal:
mprint.exe 42645091 16 > M42645091hex.txt

Last fiddled with by ATH on 2018-04-17 at 16:18
ATH is offline   Reply With Quote
Old 2018-04-17, 16:15   #4
ONeil
 
ONeil's Avatar
 
Dec 2017

3·41 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
What you are asking is a little too much even for the great online PARI/GP calculator.

You might have use an offline calculator like PFGW.

Why do you want to see the decimal expansion?
I'm looking for mersenne primes with another app I downloaded from google named goole+ arbitrary calc, it does look at big number but it can't evaluate formats like this 2^n-1

Where can I download PFGW at and thanks :)
ONeil is offline   Reply With Quote
Old 2018-04-17, 16:23   #5
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

D7616 Posts
Default

Quote:
Originally Posted by ONeil View Post
Where can I download PFGW at and thanks :)
https://sourceforge.net/projects/openpfgw/

You can then run PFGW with the following switches: -f0 -od -q"2^42645091-1"
paulunderwood is offline   Reply With Quote
Old 2018-04-17, 16:28   #6
ONeil
 
ONeil's Avatar
 
Dec 2017

3×41 Posts
Thumbs up

Quote:
Originally Posted by ATH View Post
You can also use this old command line program: "mprintc5.zip"
http://www.apfloat.org/apfloat/

In a command prompt use:
mprint.exe 42645091 > M42645091.txt

to write the number to a file called "M42645091.txt"

or just:
mprint.exe 42645091
to print to the command prompt, but it will probably take a long time to print.

If you want it in another base you can add a base between 2 and 36. For example to get it in hexidecimal:
mprint.exe 42645091 16 > M42645091hex.txt
Hey thank you so much I have been looking for something like this for years lol
You are awesome
ONeil is offline   Reply With Quote
Old 2018-04-17, 17:41   #7
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

104618 Posts
Default

Quote:
Originally Posted by ONeil View Post
I'm looking for mersenne primes with another app I downloaded from google named goole+ arbitrary calc, it does look at big number but it can't evaluate formats like this 2^n-1
How does having a decimal expansion help you look for primes?
VBCurtis is online now   Reply With Quote
Old 2018-04-17, 18:08   #8
ONeil
 
ONeil's Avatar
 
Dec 2017

1738 Posts
Arrow

Quote:
Originally Posted by VBCurtis View Post
How does having a decimal expansion help you look for primes?
well now that I have the number I can try and use 2^42645091-1 from mprint to see if it is prime without gimps if its possible to check its prime online or software. I'm waiting to find a large prime tester tho. I don't wish to wait a long time at gimps.
ONeil is offline   Reply With Quote
Old 2018-04-17, 18:14   #9
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

8,747 Posts
Default

Quote:
Originally Posted by ONeil View Post
well now that I have the number I can try and use 2^42645091-1 from mprint to see if it is prime without gimps if its possible to check its prime online or software. I'm waiting to find a large prime tester tho. I don't wish to wait a long time at gimps.
2^42645091-1 has a factor https://www.mersenne.org/report_expo...exp_hi=&full=1. See how easy that was?

Educate yourself about Mersenne primes.

Last fiddled with by Uncwilly on 2018-04-17 at 18:16
Uncwilly is online now   Reply With Quote
Old 2018-04-17, 18:18   #10
ONeil
 
ONeil's Avatar
 
Dec 2017

7B16 Posts
Default

[QUOTE=Uncwilly;485551]2^42645091-1 has a factor https://www.mersenne.org/report_expo...exp_hi=&full=1. See how easy that was?

Sorry thank you

Last fiddled with by ONeil on 2018-04-17 at 18:22 Reason: my ego
ONeil is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Arbitrary Precision by Google a1call Miscellaneous Math 0 2017-12-03 17:39
How to handle ECM results? dbaugh PrimeNet 6 2012-11-09 19:27
Time to test arbitrary number JuanTutors Math 3 2007-05-16 12:13
Question about Arbitrary-Precision Calculator? Unregistered Software 8 2005-01-29 00:23
New PC can handle two instances of Prime 95 Bundu Software 9 2004-08-21 02:29

All times are UTC. The time now is 04:46.

Thu Oct 29 04:46:59 UTC 2020 up 49 days, 1:57, 1 user, load averages: 1.54, 1.63, 1.57

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.