OFFSET
1,1
COMMENTS
phi(n) = A000010(n) is the Euler totient function.
a(38) > 10^8 if it exists. - Michel Marcus, Sep 18 2017
a(38) > 10^12, if it exists. - Giovanni Resta, Aug 19 2019
EXAMPLE
a(23) = 63449 because phi(63449) = 62436 = reverse(63426) = reverse(63449-23).
MATHEMATICA
Table[k = n+1; While[EulerPhi[k] != FromDigits[ Reverse[ IntegerDigits[k-n] ]], k++]; k, {n, 25}]
PROG
(PARI) a(n) = {my(k = n+1); while (eulerphi(k) != fromdigits(Vecrev(digits(k-n))), k++); k; } \\ Michel Marcus, Sep 18 2017
CROSSREFS
KEYWORD
nonn,base,more,hard
AUTHOR
Michel Lagneau, Apr 23 2014
EXTENSIONS
Data section truncated at index 38 by Michel Marcus, Sep 18 2017
STATUS
approved