Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

I wrote this code to find 21 digit prime palindrome in decimals of pi. I found it at position 140,672,630,233 in pi and the desired number was: 151978145606541879151. We need 1 byte to store 1 pi digit in txt file. It will require 93 GB to store 100 Billion digits of pi. Calculation of pi digits can be done via y-cruncher on any windows or linux system. It may take about 10 hours to calculate 100 Billion pi digits on a normal pc. Alternatively one can download pi digits from online sources. You may need to split the files in 500 MB or 1 GB chunks. You can use Git Bash to split the files. Use the command on Git Bash: split "file_location" -b 500m
A normal pc may take about 10 hours to find the 21 digit prime palindrom in pi. The code is written in such a way that you can use multiple pc to find. You don't have to start from 0.

About

Here I'll submit my simple codes that I wrote to solve a problem I worked on, and I think it maybe helpful. All are standalone codes which may or may not be related to each other. You are free to use them in any way you want.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages