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.

A029979 Primes that are palindromic in base 12.

This page as a plain text file.
%I A029979 #12 Aug 11 2024 14:41:30
%S A029979 2,3,5,7,11,13,157,181,193,229,241,277,761,773,797,809,821,857,1039,
%T A029979 1051,1063,1087,1123,1607,1619,1667,21169,21313,21601,22621,23053,
%U A029979 23197,23629,23773,23917,24061,24793,25657,25801,26821,27109,27253
%N A029979 Primes that are palindromic in base 12.
%H A029979 Harvey P. Dale, <a href="/A029979/b029979.txt">Table of n, a(n) for n = 1..1000</a>
%H A029979 P. De Geest, <a href="https://www.worldofnumbers.com/palpri.htm">World!Of Palindromic Primes</a>
%t A029979 f[n_]:=FromDigits[RealDigits[n,12][[1]]]==FromDigits[Reverse[RealDigits[n,12][[1]]]]; lst={}; Do[p=Prime[n]; If[f[p],AppendTo[lst,p]],{n,8!}]; lst (* _Vladimir Joseph Stephan Orlovsky_, Aug 10 2009 *)
%t A029979 pal12Q[n_]:=Module[{idn=IntegerDigits[n,12]},idn==Reverse[idn]]; Select[ Prime[ Range[3000]],pal12Q] (* _Harvey P. Dale_, Sep 23 2016 *)
%K A029979 nonn,base
%O A029979 1,1
%A A029979 _Patrick De Geest_