31 is prime
314 is not, obviously (2 x 157)
3141 = 3 x 3 x 349
31415 = 5 x 61 x 103
314159 is prime!
31 is prime
314 is not, obviously (2 x 157)
3141 = 3 x 3 x 349
31415 = 5 x 61 x 103
314159 is prime!
en.wikipedia.org/wiki/Luoshu_...
en.wikipedia.org/wiki/Luoshu_...