MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreOpportunities for recent engineering grads.

Apply TodayThe number, 197, is called a circular prime because all rotations of the digits: 197, 971, and 719, are themselves prime.

There are thirteen such primes below 100: 2, 3, 5, 7, 11, 13, 17, 31, 37, 71, 73, 79, and 97.

Given a number x, write a MATLAB script that will tell you the number of circular primes less than or equal to x as well as a sorted list of what the circular prime numbers are.

40 correct solutions
46 incorrect solutions

Last solution submitted on Jun 22, 2016

2 players like this problem

1 Comment

Jean-Marie Sainthillier
on 19 Mar 2013

Size world record ?

1 Comment

Aurelien Queffurust
on 12 Dec 2012

circul -ez y a rien à voir :)

5 Comments