login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A270492 a(n) = gcd(r) where r ranges over the orders of all subgroups whose direct product gives the multiplicative group modulo n. 3
0, 0, 2, 2, 4, 2, 6, 2, 6, 4, 10, 2, 12, 6, 2, 2, 16, 6, 18, 2, 2, 10, 22, 2, 20, 12, 18, 2, 28, 2, 30, 2, 2, 16, 2, 2, 36, 18, 2, 2, 40, 2, 42, 2, 2, 22, 46, 2, 42, 20, 2, 2, 52, 18, 2, 2, 2, 28, 58, 2, 60, 30, 6, 2, 4, 2, 66, 2, 2, 2, 70, 2, 72, 36, 2, 2, 2, 2, 78, 2, 54, 40, 82, 2, 4, 42, 2, 2, 88, 2, 6, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(p) = p - 1 for odd primes p.
a(p^k) = phi(p^k) = (p-1)*p^(k-1) for odd primes p and k >= 1.
a(n) = A052409(A289625(n)). - Antti Karttunen, Aug 07 2017
PROG
(PARI) a(n)=gcd(znstar(n)[2]);
CROSSREFS
Cf. A002322 (LCM over the orders of all subgroups), A052409, A289625, A290084.
Sequence in context: A140635 A283465 A283466 * A002322 A127835 A117004
KEYWORD
nonn
AUTHOR
Joerg Arndt, Mar 18 2016
EXTENSIONS
Terms a(1) and a(2) changed from 1 to 0 by Antti Karttunen, Aug 07 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)