Tweet a positive 9-digit (or smaller) integer at @PrimesAsAService. It will reply via Twitter to tell you if the number prime or not.
Some of the usable commands one can tweet to the bot for answers follow. (Hint: Click on the buttons with the tweet text to auto-generate the relevant Tweet.)
- To factor a number into prime factors, tweet:
@primesasservice # factor
and replace the # with your desired number
- To get the greatest common factor of two numbers, tweet:
@primesasservice #1 #2 gcf
and replace #1 and #2 with your desired numbers
- To get a random prime number, tweet:
- To find out if two numbers are coprime, tweet:
@primesasservice #1 #2 coprime
replace #1 and #2 with your desired numbers
If you ask about a prime number with a twin prime, it should provide the twin.
Pro tip: You should be able to drag and drop any of the buttons above to your bookmark bar for easy access/use in the future.
Happy prime tweeting!
6 thoughts on “Primes as a Service on Twitter”