Skip to main content

All Questions

Filter by
Sorted by
Tagged with
49 votes
25 answers
5k views

Ginormous number

Output this 1364-digit base-10 number: ...
xnor's user avatar
  • 146k
6 votes
17 answers
921 views

Prime Challenge

CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready? ...
ZaMoC's user avatar
  • 24.9k
11 votes
13 answers
2k views

List all palindromic prime dates between 0000-01-01 and 99999-12-31

You know what a palindrome, a prime and a date are. Your task is to list all dates in 100 thousands of years that fulfill all three characteristics. Nevermind anything but the numbers, use the ...
Peter Wirdemo's user avatar
83 votes
33 answers
4k views

Output the PPCG Prime

This is the PPCG Prime 624 digits long ...
user avatar
41 votes
23 answers
3k views

Output the Trinity Hall Prime

Based on this Math.SE question; number copied from this answer. Number originally from a Numberphile video, of course. Your task is to output the following 1350-digit prime number: ...
Stephen's user avatar
  • 14k
8 votes
10 answers
678 views

Every nth prime number up to 8675309

Read this if you're confused. Challenge: The goal of this code-golf is based around the number 8675309... Your goal is to print out every prime number from 2 to ...
cascading-style's user avatar
14 votes
21 answers
1k views

Print/Output all positive numbers in which every multi-digit substring in its decimal representation is also prime.

Task Your task is to print or output all positive numbers in which every multi-digit substring in its decimal representation is also prime. If the number has at least 2 digits, this would imply that ...
Leaky Nun's user avatar
  • 50k
65 votes
115 answers
18k views

List of primes under a million

This is my first code golf question, and a very simple one at that, so I apologise in advance if I may have broken any community guidelines. The task is to print out, in ascending order, all of the ...
Delan Azabani's user avatar