OFFSET
1,3
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = 2^A053574(n). Multiplicative with a(2^e) = 2^(e-1) and a(p^e) = power of 2 in prime factorization of p - 1 for an odd prime p. - Vladeta Jovovic, Apr 10 2002
MATHEMATICA
Table[2^IntegerExponent[EulerPhi@ n, 2], {n, 96}] (* Michael De Vlieger, Aug 23 2017 *)
PROG
(Scheme) (define (A069177 n) (cond ((= 1 n) n) ((zero? (modulo n 4)) (* 2 (A069177 (/ n 2)))) ((even? n) (A069177 (/ n 2))) (else (* (A006519 (+ -1 (A020639 n))) (A069177 (A028234 n)))))) ;; (After Jovovic's multiplicative formula) - Antti Karttunen, Aug 22 2017
(PARI) a(n) = 2^valuation(eulerphi(n), 2); \\ Amiram Eldar, Sep 05 2023
CROSSREFS
KEYWORD
nonn,easy,mult
AUTHOR
Sharon Sela (sharonsela(AT)hotmail.com), Apr 09 2002
EXTENSIONS
More terms from Vladeta Jovovic, Apr 10 2002
STATUS
approved