cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A006341 Octal palindromes which are also primes.

This page as a plain text file.
%I A006341 #12 Feb 16 2025 08:32:30
%S A006341 2,3,5,7,111,131,141,161,323,343,373,535,565,717,737,747,767,10301,
%T A006341 10601,11511,12421,12621,13031,13331,15151,16561,17471,30403,30503,
%U A006341 30703,31313,31713,32023,32323,33433,34343,34443,35053,35353,36463,36563,36763,37473
%N A006341 Octal palindromes which are also primes.
%H A006341 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/PalindromicPrime.html">Palindromic Prime</a>
%o A006341 (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 A006341 Cf. A029976.
%K A006341 base,nonn
%O A006341 1,1
%A A006341 James Carlson (carlson(AT)xylogics.com)
%E A006341 More terms from _David W. Wilson_.