OFFSET
1,2
FORMULA
a(n) = # { k in A115921 | k < 10^n }. - M. F. Hasler, Feb 24 2014
EXAMPLE
a(3) = 5 because the values of k satisfying the condition for k < 10^3 are {1, 21, 63, 291, 502}. - V. Raman, Feb 17 2014
PROG
(PARI) a(n)=sum(k=1, 10^n, vecsort(digits(k)) == vecsort(digits(eulerphi(k)))) \\ Use digits(n)=eval(Vec(Str(n))) in old versions of PARI. - V. Raman, Feb 17 2014, based on edits by M. F. Hasler
CROSSREFS
KEYWORD
nonn,base,more,changed
AUTHOR
V. Raman, Sep 06 2012
EXTENSIONS
a(9) from Jinyuan Wang, Mar 03 2020
a(10) from Amiram Eldar, Nov 30 2024
STATUS
approved