login

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”).

A082518
Palindromic primes whose digital root equals their middle digits.
1
919, 929, 18181, 18481, 36263, 36563, 72227, 72727, 90709, 1082801, 1085801, 1175711, 1177711, 1178711, 1262621, 1268621, 1444441, 1447441, 1532351, 1535351, 1628261, 1712171, 1714171, 1802081, 1805081, 1895981, 1981891
OFFSET
1,1
COMMENTS
All terms must have an odd number of digits. - Harvey P. Dale, Jun 13 2015
LINKS
EXAMPLE
1895981 is in the sequence because digital root rho(1895981)=rho(1+8+9+5+9+8+1)=rho(41)=4+1=5, which is the middle digit of 1895981.
MATHEMATICA
ppdrQ[n_]:=Module[{idn=IntegerDigits[n]}, OddQ[Length[idn]]&&idn== Reverse[ idn] && NestWhile[Total[IntegerDigits[#]]&, n, #>9&] == idn[[(Length[ idn]+1)/2]]]; Select[Prime[Range[5, 150000]], ppdrQ] (* Harvey P. Dale, Jun 13 2015 *)
CROSSREFS
Cf. A002385.
Sequence in context: A221113 A062335 A179673 * A128375 A068689 A088284
KEYWORD
base,nonn
AUTHOR
Lekraj Beedassy, Apr 30 2003
EXTENSIONS
Corrected by Don Reble and T. D. Noe, Nov 15 2006
STATUS
approved