login
This site is supported by donations 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

Table of n, a(n) for n=1..43.

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

Adjacent sequences:  A006338 A006339 A006340 * A006342 A006343 A006344

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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified April 28 23:30 EDT 2017. Contains 285604 sequences.