|
|
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
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|