OFFSET
1,2
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..520 (terms < 10^12)
EXAMPLE
sigma(3014685) = 5431680 and phi(3014685) = 1586304.
PROG
(Python)
from sympy import totient, divisor_sigma
A114065_list = [n for n in range(1, 10**7) if sorted(str(divisor_sigma(n))) == sorted(str(totient(n))) == sorted(str(n))] # Chai Wah Wu, Dec 13 2015
(PARI) isok(n) = (d = vecsort(digits(n))) && (ds = vecsort(digits(sigma(n)))) && (d == ds) && (de = vecsort(digits(eulerphi(n)))) && (ds == de); \\ Michel Marcus, Dec 13 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, Feb 13 2006
STATUS
approved