OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Palindromic Prime
PROG
(C) main(n, i, a, m){while(i=++n) for(a=0; a<i?a=a*8+i%8, i/=8, m=a==i|a/8==i, 1:(n-++m||printf("%o\n", n))&&n%m; ); }
CROSSREFS
KEYWORD
base,nonn
AUTHOR
James Carlson (carlson(AT)xylogics.com)
EXTENSIONS
More terms from David W. Wilson.
STATUS
approved