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!)
A256607 Eventual period of 2^(2^k) mod n. 7
1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 4, 1, 2, 2, 1, 1, 1, 2, 6, 1, 2, 4, 10, 1, 4, 2, 6, 2, 3, 1, 4, 1, 4, 1, 2, 2, 6, 6, 2, 1, 4, 2, 3, 4, 2, 10, 11, 1, 6, 4, 1, 2, 12, 6, 4, 2, 6, 3, 28, 1, 4, 4, 2, 1, 2, 4, 10, 1, 10, 2, 12, 2, 6, 6, 4, 6, 4, 2, 12, 1, 18, 4, 20, 2, 1, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
COMMENTS
In other words, eventual period of 2 under the map x -> x^2 mod n.
a(n) is a divisor of A256608(n).
LINKS
FORMULA
a(n) = A007733(A007733(n)).
EXAMPLE
For n=9 the map acts as follows: 2 -> 4 -> 7 -> 4 -> 7 and so on. This means the eventual period is 2, hence a(9)=2.
PROG
(Haskell)
a256607 = a007733 . fromIntegral . a007733
-- Reinhard Zumkeller, Apr 13 2015
CROSSREFS
First differs from A256608 at n=43.
Column 2 of triangle in A279185.
Sequence in context: A363320 A351032 A280726 * A256608 A279186 A164799
KEYWORD
nonn
AUTHOR
Ivan Neretin, Apr 04 2015
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 18 04:56 EDT 2024. Contains 371767 sequences. (Running on oeis4.)