Skip to content

Find large palindromic prime numbers in the decimal expansion of π (PI).

License

Notifications You must be signed in to change notification settings

RodrigoDornelles/pcp-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c-palindrome-cousin-pi

The first challenge launched by SigmaGeek worth the prize of U$ 2,000 (two thousand dollars),
Find large palindromic prime numbers in the decimal expansion of π (PI).

⛏️ Challenge

  • Tier 1 are 9 digits.
  • Tier 2 are 21 digits.
  • Tier 3 are many digits as possible.

🧰 Features

  • CI/CD
  • Unit Tests
  • C library itself
  • CPU Multi-threading
  • Task queue control

📦 Resources

Tools 1

utility kit that processes data returns exact result.

single thread

make single-run

multi thread

make multi-run
to stop
make multi-kill

Tools 2

a utility to explore palindrome independently.

compile

docker run -v $(pwd):/app -w /app/tools2 -t ibmjava:8-sdk-alpine javac TierThree.java

run

docker run -v $(pwd):/app -w /app/tools2 -t ibmjava:8-sdk-alpine java TierThree