Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #16 Dec 04 2024 12:24:32
%S 2,3,5,7,191,108151801,11271517211,155259838952551
%N Primes that are palindromic in bases 6 and 10.
%C (The only primes that are palindromic in bases 5 and 10 that have been found are the trivial solutions 2 and 3.)
%H P. De Geest, <a href="https://www.worldofnumbers.com/palpri.htm">World!Of Palindromic Primes</a>
%e 191_10 = 515_6. - _Jon E. Schoenfield_, Apr 10 2021
%t pal6Q[p_]:=With[{idn6=IntegerDigits[p,6]},PalindromeQ[p]&&idn6==Reverse[idn6]]; Select[Prime[Range[63*10^5]],pal6Q] (* The program generates the first six terms of the sequence. *) (* _Harvey P. Dale_, Dec 04 2024 *)
%Y Cf. A002385, A029963.
%K nonn,hard,base,changed
%O 1,1
%A _Patrick De Geest_, Aug 15 1998