|
|
A097644
|
|
Numbers n such that pi(n) = reversal(n).
|
|
0
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
This sequence has only two odd terms, i.e., 51 and 8201 and 10 divides all other terms. Next term is greater than 10^8.
|
|
LINKS
|
|
|
EXAMPLE
|
26113610 is in the sequence because
pi(26113610) = 1631162 = reversal(26113610).
|
|
MATHEMATICA
|
Do[If[PrimePi[m]==FromDigits[Reverse[IntegerDigits[m]]], Print[m]], {m, 100000000}]
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|