login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 19:59 EDT 2024. Contains 371963 sequences. (Running on oeis4.)