The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A006341 Octal palindromes which are also primes. 3
2, 3, 5, 7, 111, 131, 141, 161, 323, 343, 373, 535, 565, 717, 737, 747, 767, 10301, 10601, 11511, 12421, 12621, 13031, 13331, 15151, 16561, 17471, 30403, 30503, 30703, 31313, 31713, 32023, 32323, 33433, 34343, 34443, 35053, 35353, 36463, 36563, 36763, 37473 (list; graph; refs; listen; history; text; internal format)
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
Cf. A029976.
Sequence in context: A029977 A052019 A205529 * A086107 A046713 A119835
KEYWORD
base,nonn
AUTHOR
James Carlson (carlson(AT)xylogics.com)
EXTENSIONS
More terms from David W. Wilson.
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 17 16:19 EDT 2024. Contains 372603 sequences. (Running on oeis4.)