OFFSET
1,2
COMMENTS
LINKS
David A. Corneth, Table of n, a(n) for n = 1..47 (terms <= 10^14 using Max Alekseyev's invphi)
EXAMPLE
sigma(2118161) = 2122212 and phi(2118161) = 2114112.
MATHEMATICA
Select[Range[473*10^6], AllTrue[{DivisorSigma[1, #], EulerPhi[ #]}, PalindromeQ]&] (* Harvey P. Dale, Aug 30 2021 *)
PROG
(PARI) ispal(n) = my(d=digits(n)); d == Vecrev(d) \\
forfactored(i=1, 10^10, if(ispal(eulerphi(i))&&ispal(sigma(i)), print1(i[1], ", "))) \\ Alexandru Petrescu, Jun 03 2022
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Giovanni Resta, Jan 30 2006
EXTENSIONS
a(21)-a(31) from Donovan Johnson, Dec 14 2009
STATUS
approved