OFFSET
1,3
COMMENTS
Number of nonempty subsets of reduced residue system [RRS(n)] modulo n.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
N. Bliss, B. Fulan, S. Lovett, and J. Sommars, Strong Divisibility, Cyclotomic Polynomials, and Iterated Polynomials, Amer. Math. Monthly, 120 (2013), 519-536.
FORMULA
a(n) = Sum_{i=1..n} binomial(phi(n), i). - Enrique PĂ©rez Herrero, Mar 10 2012
MAPLE
MATHEMATICA
Table[2^EulerPhi[n] - 1, {n, 1, 50}]
PROG
(PARI) a(n) = 2^eulerphi(n) - 1; \\ Michel Marcus, Apr 14 2017
(Python)
from sympy import totient
def a(n): return 2**totient(n) - 1 # Indranil Ghosh, Apr 14 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Labos Elemer, Nov 30 2004
EXTENSIONS
Entry revised by N. J. A. Sloane, Jun 07 2013
STATUS
approved