Truncatable primes: Difference between revisions
m
Forth - simplified code
m (Forth - simplified code) |
m (Forth - simplified code) |
||
Line 1,209:
drop false exit
then
dup
10
begin
while
dup
2drop
then
dup prime? invert if
2drop
then
10 *
repeat
2drop
: right_truncatable_prime? ( n -- flag )
|