The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.



(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A006341 Octal palindromes which are also primes. 3


%S 2,3,5,7,111,131,141,161,323,343,373,535,565,717,737,747,767,10301,

%T 10601,11511,12421,12621,13031,13331,15151,16561,17471,30403,30503,

%U 30703,31313,31713,32023,32323,33433,34343,34443,35053,35353,36463,36563,36763,37473

%N Octal palindromes which are also primes.

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/PalindromicPrime.html">Palindromic Prime</a>

%o (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; ); }

%Y Cf. A029976.

%K base,nonn

%O 1,1

%A James Carlson (carlson(AT)xylogics.com)

%E More terms from _David W. Wilson_.

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 27 06:29 EST 2021. Contains 349363 sequences. (Running on oeis4.)