We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Project Euler #35: Circular primes
Project Euler #35: Circular primes
Sort by
recency
|
32 Discussions
|
Please Login in order to post a comment
This is the code that worked for me
100 points.
(Here's another dumb ass, that posts its code).
Python3. Note that digits must be odd.
JAva code
def isprime(n):
def iscircular (n) :
n=int(input())
d={10:17}
s=17
for i in range(11,10**6 +1):
print(d[n])