![]() |
|
|
#1 |
|
Dec 2011
After milion nines:)
5·172 Posts |
Hi!
What program I can use to generate such "big "numbers ? Excel round numbers if has above 16 digits, so it is not solution. And I dont need primes, I need all numbers. Thanks for any reply example 800000000000000000 800000000000000001 800000000000000002 800000000000000003 800000000000000004 etc etc Last fiddled with by pepi37 on 2018-03-02 at 13:57 |
|
|
|
|
|
#2 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
|
|
|
|
|
|
|
#3 |
|
Dec 2011
After milion nines:)
26458 Posts |
|
|
|
|
|
|
#4 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
On the face of it, your question seems slightly insane. There isn't enough space on your hard drive to store 10^35 numbers.
|
|
|
|
|
|
#5 |
|
Dec 2011
After milion nines:)
144510 Posts |
|
|
|
|
|
|
#6 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
[1*10^15..1*10^15+2499] would have potential to work.
Last fiddled with by science_man_88 on 2018-03-02 at 15:20 Reason: Apparently e version doesn't work |
|
|
|
|
|
#7 |
|
Mar 2006
Germany
23·3·112 Posts |
Using Excel:
- column A (text-formatted) with "80000000000" (or your length/number you need) - column B (special format with leading zeros") with "0001" etc. - save as "prn" |
|
|
|
|
|
#8 |
|
Sep 2006
Brussels, Belgium
32268 Posts |
You can use Excel, but treat the numbers as strings,: concatenate the string "80000000000000" with the numbers from 0 to 2499 modified by a mask.
Put the numbers from 0 to 2499 in the A column and in the B1 cell ="80000000000000"&TEXT(A1;"0000"), then copy the formula down. (The 4 0's in the "0000" format string ensures you have the initial 0's and that all numbers have 4 digits.) Then it is an easy task to copy the result in a text file... (Unfortunately the name of function changes according to the language of the interface so if your Excel is in another language you will have to change the name of the function, f.i. in Spanish it is TEXTO() and in Italian TESTO().) I just tested and it seems you can directly use the TEXT() function with the "800000000000000000" mask as in column C of the attached Excel spreadsheet. Jacob Last fiddled with by S485122 on 2018-03-02 at 15:31 |
|
|
|
|
|
#9 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36·13 Posts |
Code:
ABC2 800000000000000000+$a a: from 0 to 25 |
|
|
|
|
|
#10 |
|
Aug 2006
597910 Posts |
It's not clear what you mean. I'll give some examples in PARI/GP and you can pick whichever you think seem helpful.
Loop from a 16-digit number to a 35-digit number, doing calculations along the way: Code:
for(n=10^15, 10^35-1, if(Mod(2, n^2)^(n-1)==1, print(n))) \\ this won't finish before the sun swallows the earth Code:
v=[8*10^17..8*10^17+2499]; Code:
v=vector(2500,i, [10^15,10^35-1]); Code:
s=0; forstep(n=10^15,10^35, 40016006402561024409363745498199, s+=sqrt(n)); s |
|
|
|
|
|
#11 |
|
Dec 2011
After milion nines:)
5A516 Posts |
Thanks to all, Excel mask works perfectly!
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Factor a 108-digit number | sweety439 | Factoring | 9 | 2016-12-21 21:22 |
| 10 digit number puzzle | MattcAnderson | Puzzles | 13 | 2014-11-10 18:03 |
| Factoring a 617-digit number? | Shakaru | Factoring | 2 | 2005-02-23 19:22 |
| 100 MILLION DIGIT NUMBER | lpmurray | Software | 8 | 2004-05-31 19:22 |
| 10,000,000 digit number | Unregistered | Software | 3 | 2004-03-03 19:20 |