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!)
A356497 a(n) = maximal 2^k such that there exists a (2^k)-th root of unity modulo n. 0
1, 1, 2, 2, 4, 2, 2, 2, 2, 4, 2, 2, 4, 2, 4, 4, 16, 2, 2, 4, 2, 2, 2, 2, 4, 4, 2, 2, 4, 4, 2, 8, 2, 16, 4, 2, 4, 2, 4, 4, 8, 2, 2, 2, 4, 2, 2, 4, 2, 4, 16, 4, 4, 2, 4, 2, 2, 4, 2, 4, 4, 2, 2, 16, 4, 2, 2, 16, 2, 4, 2, 2, 8, 4, 4, 2, 2, 4, 2, 4, 2, 8, 2, 2, 16, 2, 4, 2, 8, 4, 4, 2, 2, 2, 4, 8, 32, 2, 2, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
MaxOrdPowTwo[n_] := MaximalBy[Select[Table[{k, MultiplicativeOrder[k, n]}, {k, n}], IntegerQ@Log2@#[[2]] &], Last][[1, 2]];
MaxOrdPowTwoConjectured[n_] := 2^IntegerExponent[CarmichaelLambda[n], 2]; (* conjectured *)
CROSSREFS
Sequence in context: A289827 A092188 A340675 * A097884 A094818 A114233
KEYWORD
nonn
AUTHOR
Dmitry Grekov, Aug 09 2022
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 May 7 04:00 EDT 2024. Contains 372300 sequences. (Running on oeis4.)