OFFSET
1,3
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Prime Power.
Eric Weisstein's World of Mathematics, Totient Function.
PROG
(Haskell)
a085730 1 = 1
a085730 n = (p - 1) * p ^ (e - 1)
where p = a025473 n; e = a025474 n
-- Reinhard Zumkeller, Feb 16 2012
(PARI) list(lim)=my(v=List(primes(primepi(lim)))); listput(v, 1); for(e=2, log(lim+.5)\log(2), forprime(p=2, (lim+.5)^(1/e), listput(v, p^e))); apply(n->eulerphi(n), vecsort(Vec(v))) \\ Charles R Greathouse IV, Apr 30 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jul 20 2003
STATUS
approved