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!)
A182817 Number of elements k in Z/mZ such that k^m=k, for nonprime m = A018252(n). 1
1, 2, 4, 2, 3, 4, 4, 4, 9, 2, 4, 4, 9, 4, 4, 5, 4, 3, 8, 8, 2, 9, 4, 9, 4, 4, 9, 4, 8, 4, 15, 4, 4, 7, 4, 9, 8, 4, 9, 4, 9, 4, 8, 4, 9, 2, 25, 24, 4, 9, 16, 4, 4, 9, 8, 9, 8, 4, 3, 4, 8, 25, 4, 9, 4, 8, 49, 4, 9, 4, 9, 4, 4, 9, 4, 8, 4, 45, 4, 4, 8, 9, 8, 8, 9, 4, 15, 4, 9, 8, 11, 4, 9, 8, 5, 8, 2, 9, 16, 8, 49, 4, 9, 4, 8, 8, 9, 4, 9, 4, 25, 4, 9, 8, 8, 4, 27, 16, 9, 8, 4, 9, 4, 9, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This is a reduced version of A182816, without the "trivial" terms a(n)=n for prime indices n.
LINKS
"Lunkwill", Carmichael numbers and Fermat primality, Dec 02 2010.
FORMULA
a(n) = A182816(A018252(n)).
MATHEMATICA
f[n_] := Times @@ ((1 + GCD[n-1, #-1]) & /@ FactorInteger[n][[;; , 1]]); f /@ Select[Range[165], !PrimeQ[#] &] (* Amiram Eldar, Mar 27 2021 *)
CROSSREFS
Sequence in context: A054240 A330312 A331810 * A082864 A134447 A093056
KEYWORD
nonn
AUTHOR
M. F. Hasler, Dec 05 2010
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 23 12:44 EDT 2024. Contains 371913 sequences. (Running on oeis4.)